Browse Source

Enable Pyflakes "F"

Kentaro Wada 1 year ago
parent
commit
b0e9b453b4
1 changed files with 2 additions and 4 deletions
  1. 2 4
      ruff.toml

+ 2 - 4
ruff.toml

@@ -8,10 +8,8 @@ line-length = 88
 indent-width = 4
 indent-width = 4
 
 
 [lint]
 [lint]
-# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`)  codes by default.
-# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
-# McCabe complexity (`C901`) by default.
-select = ["E", "I"]
+# Enable Pyflakes (`F`), pycodestyle (`E`), isort (`I`).
+select = ["E", "F", "I"]
 ignore = []
 ignore = []
 
 
 # Allow fix for all enabled rules (when `--fix`) is provided.
 # Allow fix for all enabled rules (when `--fix`) is provided.