Enable pyflake ruff lint rules (#1340)

This commit is contained in:
Chenlei Hu
2024-12-18 11:46:51 +09:00
committed by GitHub
parent 445affd609
commit 7b812dee75
12 changed files with 111 additions and 80 deletions
+12
View File
@@ -0,0 +1,12 @@
# Disable all rules by default
lint.ignore = ["ALL"]
# Enable specific rules
lint.select = [
"S307", # suspicious-eval-usage
# The "F" series in Ruff stands for "Pyflakes" rules, which catch various Python syntax errors and undefined names.
# See all rules here: https://docs.astral.sh/ruff/rules/#pyflakes-f
"F",
]
exclude = ["*.ipynb"]