nvchecker/nvchecker
lilydjwg af77af34f3 fight mypy[1]
The following error will be reported without if:

  error: Name "tomllib" already defined (by an import)

While this can be silenced by a "# type: ignore", in some case[2] mypy
will report the following error:

  error: Unused "type: ignore" comment

[1]: https://github.com/python/mypy/issues/1153
[2]: https://github.com/lilydjwg/nvchecker/actions/runs/4916840821/jobs/8793454970
2023-05-09 13:31:11 +08:00
..
httpclient fix typos 2022-04-21 17:16:34 +08:00
lib tweaks for mypy 2021-07-18 17:24:03 +08:00
__init__.py bump to dev version 2023-05-08 23:28:52 +08:00
__main__.py use asyncio.get_event_loop() for Python < 3.10 2022-02-04 16:53:56 +08:00
api.py docs: add an inline sample config 2021-07-01 19:38:17 +08:00
core.py fight mypy[1] 2023-05-09 13:31:11 +08:00
ctxvars.py option to not verify HTTPS certificate 2021-06-23 16:08:47 +08:00
slogconf.py setup httpclient from configuration options 2020-09-28 15:09:51 +08:00
sortversion.py fix mypy 2022-06-05 14:41:57 +08:00
tools.py fix mypy 2022-06-05 14:41:57 +08:00
util.py fight mypy[1] 2023-05-09 13:31:11 +08:00