Reconfigure mypy

This commit is contained in:
monosans
2023-02-25 23:10:46 +03:00
parent 8d16ec6fff
commit d06579a514
2 changed files with 4 additions and 3 deletions
-2
View File
@@ -37,8 +37,6 @@ repos:
- id: mypy
args: []
additional_dependencies:
- aiodns>=3.0,<4
- aiohttp-socks>=0.7,<0.9
- aiohttp>=3.8,<4
- rich>=12.3,<14
- uvloop>=0.16,<0.18; implementation_name == 'cpython' and (sys_platform == 'darwin' or sys_platform == 'linux')
+4 -1
View File
@@ -4,7 +4,6 @@ skip-magic-trailing-comma = true
preview = true
[tool.mypy]
ignore_missing_imports = true
python_version = "3.7"
disallow_subclassing_any = false
disallow_untyped_calls = false
@@ -21,6 +20,10 @@ enable_error_code = [
]
strict = true
[[tool.mypy.overrides]]
module = "aiohttp_socks.*"
ignore_missing_imports = true
[tool.ruff]
target-version = "py37"
select = ["ALL"]