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_meta
Projects must have a folder called
*test*
orsrc/*/*test*
Projects must have a
noxfile.py
,tox.ini
, ortool.hatch.envs
/tool.spin
/tool.tox
inpyproject.toml
to 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-docs
repo in.pre-commit-config.yaml
Must have
https://github.com/pre-commit/mirrors-mypy
repo in.pre-commit-config.yaml
Must have
https://github.com/codespell-project/codespell
repo in.pre-commit-config.yaml
Must have
https://github.com/pre-commit/mirrors-prettier
repo in.pre-commit-config.yaml
Should have something like this in
.pre-commit-config.yaml
:MyPy
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 setstrict = false
explicitly.Must not have
show_error_codes
. Usehide_error_codes
instead (since MyPy v0.990).Ruff
Must select the flake8-bugbear
B
checks. Recommended:ignore
should be set aslint.ignore
insteadisort
should be set aslint.isort
insteadselect
should be set aslint.select
insteadThe text was updated successfully, but these errors were encountered: