소스 검색

Enable Pyflakes "F"

Kentaro Wada 1 년 전
부모
커밋
b0e9b453b4
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      ruff.toml

+ 2 - 4
ruff.toml

@@ -8,10 +8,8 @@ line-length = 88
 indent-width = 4
 
 [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 = []
 
 # Allow fix for all enabled rules (when `--fix`) is provided.