Skip to content

Commit 0f71dd5

Browse files
committed
Simplify ruff configuration to essential rules only
Removed strict rules that require extensive refactoring: - ANN (type annotations) - requires adding types everywhere - N (naming conventions) - opinionated naming rules - C4 (comprehensions) - style preferences - SIM (simplifications) - aggressive simplifications - ARG (unused arguments) - breaks handler patterns Kept essential rules: - E (pycodestyle errors) - F (pyflakes - undefined names, unused imports) - I (isort - import sorting) - UP (pyupgrade - modern Python syntax) - B (flake8-bugbear - likely bugs)
1 parent 3f51247 commit 0f71dd5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ packages = ["kiket_sdk", "kiket_sdk.testing"]
4040
[tool.ruff]
4141
line-length = 100
4242
target-version = "py311"
43-
select = ["E", "F", "I", "UP", "B", "N", "ANN", "C4", "SIM", "ARG"]
44-
ignore = ["ANN101", "ANN102"]
43+
select = ["E", "F", "I", "UP", "B"]
44+
ignore = ["E501"] # Line too long (handled by formatter)
4545

4646
[tool.pytest.ini_options]
4747
minversion = "8.0"

0 commit comments

Comments
 (0)