Add lint rules

This commit is contained in:
Nathan Thomas 2023-12-21 13:17:41 -08:00
parent 881fb6cba1
commit 7e01277dc2

View file

@ -72,7 +72,7 @@ build-backend = "poetry.core.masonry.api"
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
select = ["E4", "E7", "E9", "F", "I", "ASYNC", "N"]
select = ["E4", "E7", "E9", "F", "I", "ASYNC", "N", "RUF", "ERA001"]
ignore = []
# Allow fix for all enabled rules (when `--fix`) is provided.