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 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.
* repo-review comments
xref #264
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update pyproject.toml
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
General
setuptools.build_meta
Projects must have a
noxfile.py
ortox.ini
to encourage new contributors.PyProject
log_cli_level
should be set. This will allow logs to be displayed on failures.xfail_strict
should be set. You can manually specify if a check should be strict when setting each xfail.--strict-config
should be inaddopts = [...]
. This forces an error if a config setting is misspelled.--strict-markers
should be inaddopts = [...]
. This forces all markers to be specified in config, avoiding misspellings.-ra
should be inaddopts = [...]
(print summary of all fails/errors).filterwarnings
must be set (probably to at least["error"]
). Python will hide important warnings otherwise, like deprecations.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/pre-commit/pygrep-hooks
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.Ruff
Must select the flake8-bugbear
B
checks. Recommended:The text was updated successfully, but these errors were encountered: