diff --git a/pyproject.toml b/pyproject.toml index ddec59b2..1c3c75a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -79,8 +79,8 @@ build-backend = "poetry.core.masonry.api" [tool.ruff] # Ruff doesn't enable pycodestyle warnings (`W`) or # McCabe complexity (`C901`) by default. -# Other options: N (pep8-naming), D (pydocstyle) -select = ["E", "F", "D", "UP"] +# Other options: N (pep8-naming) +select = ["E", "F", "D", "UP", "YTT"] ignore = [ "E501", "F405", "F841", "D100", "D101", "D102", "D103", "D104", "D105", "D106", "D107", "D203", "D204", "D205", "D212", "D213", "D400", "D401", "D415", "D417", "D419"] # Allow autofix for all enabled rules (when `--fix`) is provided.