Skip to content

Commit

Permalink
style: simplify linting configuration by grouping related rules
Browse files Browse the repository at this point in the history
This change consolidates multiple linting rules into broader categories, reducing redundancy and improving maintainability of the configuration file.
  • Loading branch information
liblaf committed Jun 15, 2024
1 parent 1f75403 commit d2661c8
Showing 1 changed file with 13 additions and 26 deletions.
39 changes: 13 additions & 26 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,21 @@ docstring-code-format = true

[lint]
ignore = [
"ANN101",
"ANN102",
"ANN401",
"ARG002",
"BLE001",
"COM812",
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"FIX002",
"S101",
"S603",
"S607",
"T201",
"TD002",
"TD003",
"TD004",
"TD005",
"ANN",
"ARG",
"BLE",
"COM",
"D1",
"ERA",
"FIX",
"ISC",
"PLR09",
"PLR2004",
"S",
"T20",
"TD",
]
select = ["ALL"]

[lint.pydocstyle]
convention = "google"

[lint.pylint]
max-args = 7

0 comments on commit d2661c8

Please sign in to comment.