Commit Graph

7 Commits

Author SHA1 Message Date
Robert Kaussow 2f4e35d83c
refactor: use lint-like rule identifier (#757) 2024-01-27 19:56:35 +01:00
Robert Kaussow 2df48598ec
refactor: drop default standards version and rename to rules (#752)
BREAKING CHANGE: The option to define a `Standards` version has been removed. Every new rule that is added on upcoming releases is activated by default and will also create errors if triggered. The behavior of rules can be controlled by the existing `rules.exclude_filter` or `rules.warning_filter` options.

BREAKING CHANGE: The option `rules.buildin` has been renamed to `rules.builtin`.

BREAKING CHANGE: The option `rules.standards` has been renamed to `rules.dir`.

BREAKING CHANGE: The option `rules.filter` has been renamed to `rules.include_filter`.
2024-01-25 21:40:15 +01:00
Robert Kaussow 8266f92b47
chore: drop yapf and favor of the ruff formatter (#716) 2023-11-10 14:50:48 +01:00
Robert Kaussow 79d1738322
chore: rename loop var to reflect list item type (#506) 2022-12-12 09:15:05 +01:00
Robert Kaussow fa35feee18
fix: only check filter strings for separation instead of the entire line (#502) 2022-12-11 12:43:04 +01:00
Robert Kaussow 85e5c41b32
fix: replace potential regex syntax used in filters (#421) 2022-08-01 08:28:10 +02:00
Robert Kaussow 43d7edca32
refactor plugin system to use a class-based approach (#68)
* refactor plugin system to use a class-based approach

* disable some docstring linter errors and fix imports

* cleanup

* fix docs

* add metavars to cli arguments for better helptext

* add option to disable buildin rules

* remove print

* remove dead code
2021-01-30 16:52:48 +01:00