@@ -54,24 +54,28 @@ exclude = [
5454# Enable Pyflakes `E` and `F` codes by default.
5555lint.select = [
5656 " E" ,
57- " W" , # see : https://pypi.org/project/pycodestyle
58- " F" , # see : https://pypi.org/project/pyflakes
59- # "I", #see : https://pypi.org/project/isort/
60- # "S", # see : https://pypi.org/project/flake8-bandit
61- # "UP", # see : https://docs.astral.sh/ruff/rules/#pyupgrade-up
57+ " W" , # See : https://pypi.org/project/pycodestyle
58+ " F" , # See : https://pypi.org/project/pyflakes
59+ # "I", # See : https://pypi.org/project/isort/
60+ # "S", # See : https://pypi.org/project/flake8-bandit
61+ # "UP", # See : https://docs.astral.sh/ruff/rules/#pyupgrade-up
6262]
6363lint.extend-select = [
64- # "A", # see : https://pypi.org/project/flake8-builtins
65- " B" , # see : https://pypi.org/project/flake8-bugbear
66- " C4" , # see : https://pypi.org/project/flake8-comprehensions
67- " TCH004" , # see : https://docs.astral.sh/ruff/rules/runtime-import-in-type-checking-block/
64+ # "A", # See : https://pypi.org/project/flake8-builtins
65+ " B" , # See : https://pypi.org/project/flake8-bugbear
66+ " C4" , # See : https://pypi.org/project/flake8-comprehensions
67+ " TCH004" , # See : https://docs.astral.sh/ruff/rules/runtime-import-in-type-checking-block/
6868]
6969lint.ignore = [
70- " E203" ,
71- " E731" , # Do not assign a `lambda` expression, use a `def`
70+ " E203" , # Whitespace before ':'
71+ " E731" , # Do not assign a `lambda` expression, use a `def`
7272]
7373lint.ignore-init-module-imports = true
74- lint.unfixable = [" F401" ]
74+ lint.unfixable = [
75+ " F401" , # Module imported but unused
76+ ]
7577
7678[tool .ruff .lint .per-file-ignores ]
77- "test/**" = [" B018" ]
79+ "test/**" = [
80+ " B018" , # useless-expression
81+ ]
0 commit comments