Linter#
Black#
ignore formatting in one line:
# fmt: skip
- https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#ignoring-sections
Ruff#
ignore lint error in one line:
# noqa: ERROR_ID
- https://docs.astral.sh/ruff/tutorial/#ignoring-errors
mypy#
ignore typing
ignore all typing in one line:
# type: ignore
ignore specific error in one line:
# type: ignore[error-code]