It integrates better with the editor (trying ALE on Vim).
Newer mypy version allows to hide the file.
--- /dev/null
+[mypy]
+files = psycopg3
+warn_unused_ignores = True
+show_error_codes = True
+strict = True
+
+[mypy-pytest]
+ignore_missing_imports = True
+
+[mypy-setuptools]
+ignore_missing_imports = True
deps = flake8 >= 3.8, < 3.9
[testenv:mypy]
-commands = mypy --config-file tox.ini
-deps = mypy >= 0.770
+commands = mypy
+deps = mypy >= 0.782
[flake8]
max-line-length = 85
ignore = W503, E203
extend-exclude = .venv
-
-[mypy]
-files = psycopg3
-warn_unused_ignores = True
-strict = True
-
-[mypy-pytest]
-ignore_missing_imports = True