You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Must have a [tool.pytest.ini_options] configuration section in
pyproject.toml. If you must have it somewhere else (such as to support
pytest<6), ignore this check.
Must have strict in the mypy config. MyPy is best with strict or
nearly strict configuration. If you are happy with the strictness of
your settings already, ignore this check or set strict = false
explicitly.
[tool.mypy]
strict = true
❌
MY102
MyPy show_error_codes deprecated
Must not have show_error_codes. Use hide_error_codes instead (since MyPy v0.990).
General
setuptools.build_metaProjects must have a folder called
*test*orsrc/*/*test*Projects must have a
noxfile.py,tox.ini, ortool.hatch.envs/tool.spin/tool.toxinpyproject.tomlto encourage new contributors.PyProject
Must have a
[tool.pytest.ini_options]configuration section in pyproject.toml. If you must have it somewhere else (such as to supportpytest<6), ignore this check.Pre-commit
Must have
https://github.com/adamchainz/blacken-docsrepo in.pre-commit-config.yamlMust have
https://github.com/pre-commit/mirrors-mypyrepo in.pre-commit-config.yamlMust have
https://github.com/codespell-project/codespellrepo in.pre-commit-config.yamlMust have
https://github.com/pre-commit/mirrors-prettierrepo in.pre-commit-config.yamlShould have something like this in
.pre-commit-config.yaml:MyPy
Must have
strictin the mypy config. MyPy is best with strict or nearly strict configuration. If you are happy with the strictness of your settings already, ignore this check or setstrict = falseexplicitly.Must not have
show_error_codes. Usehide_error_codesinstead (since MyPy v0.990).Ruff
Must select the flake8-bugbear
Bchecks. Recommended:ignoreshould be set aslint.ignoreinsteadisortshould be set aslint.isortinsteadselectshould be set aslint.selectinstead