ruff: add flake8-2020 (YTT)

main
Marshall Hallenbeck 2023-10-12 17:08:08 -04:00
parent 4f5a89262c
commit d080a96a88
1 changed files with 2 additions and 2 deletions

View File

@ -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.