Commit Graph

22 Commits

Author SHA1 Message Date
0e74461b58
chore: bump ruff to v0.2.1 (#769) 2024-02-06 09:34:20 +01:00
674ffe6445
feat: add new rule CheckFQCN (#761) 2024-01-29 08:34:08 +01:00
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
8266f92b47
chore: drop yapf and favor of the ruff formatter (#716) 2023-11-10 14:50:48 +01:00
0ebb855bc5
fix: remove deprecated distutils (#694) 2023-10-16 12:16:44 +02:00
9a9bf37702
feat: add role for deprecated loop bare vars (#586) 2023-04-26 08:58:34 +02:00
b31d510156
refctor: migrate flake8 to ruff python linter (#540) 2023-02-10 08:51:17 +01:00
b4bf13d734
refactor: replace str.format with f-strings (#521) 2023-01-09 11:59:25 +01:00
Ankit Dobhal
72d85b002b
refactor: additional code quality improvements (#78) 2021-02-12 16:48:45 +01:00
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
675bb6271e add yapf as formatter 2020-04-05 14:33:43 +02:00
Robert Kaussow
40acaa0b13 add some missing docstrings 2019-04-10 14:50:48 +02:00
Robert Kaussow
554d957af3 fix some linting errors 2019-04-04 16:06:18 +02:00
Robert Kaussow
2b574970c2 fix json logging and add file exclude options 2019-04-04 15:35:47 +02:00
Robert Kaussow
be74192c67 refactor logging and candidates 2019-04-02 16:34:03 +02:00
Robert Kaussow
0ffdf36a0d refactor logging and switch to python standard library 2019-03-28 16:54:45 +01:00
f92c77f5b8 basic setup for new settings object 2019-03-28 01:20:43 +01:00
Robert Kaussow
4b011891bf add some useful flake8 plugins and start refactoring formatting 2019-03-27 17:00:38 +01:00
Robert Kaussow
d2dec85cd5 refactor drone pipeline config 2019-03-25 09:58:24 +01:00
Robert Kaussow
0282ec4c06 add basic colorama implementation 2019-03-21 16:05:55 +01:00
Robert Kaussow
e4f305bbff init line counter with 1 2019-01-25 12:32:28 +01:00
Robert Kaussow
6e20d9bac5 initial commit 2018-12-19 11:19:07 +01:00