Reconfigure mypy
This commit is contained in:
@@ -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
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user