Commit Graph

17 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 0ebb855bc5
fix: remove deprecated distutils (#694) 2023-10-16 12:16:44 +02:00
renovate[bot] a38a9aa11b
chore(deps): update devdeps non-major (#626)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2023-06-28 09:55:18 +02:00
Robert Kaussow b31d510156
refctor: migrate flake8 to ruff python linter (#540) 2023-02-10 08:51:17 +01:00
Robert Kaussow 64858e467d
chore: remove unversioned file classification (#523) 2023-01-09 20:41:46 +01:00
Robert Kaussow 505a2aef5d
feat: add rule to check standards version (#522) 2023-01-09 16:25:16 +01:00
Robert Kaussow b4bf13d734
refactor: replace str.format with f-strings (#521) 2023-01-09 11:59:25 +01:00
Robert Kaussow 25a3648dca
fix: only classify requirements yaml files as rolefiles (#508) 2022-12-16 21:48:17 +01:00
Robert Kaussow b0271ef29b
fix: add classification for roles argument specs file (#235) 2021-10-10 22:14:01 +02:00
Robert Kaussow 123f8fbcb5
fix: report deprecated ansible-later features as warning by default (#233) 2021-10-10 17:00:44 +02:00
Ankit Dobhal 72d85b002b
refactor: additional code quality improvements (#78) 2021-02-12 16:48:45 +01:00
Robert Kaussow 53444a4a75
feat: allow to set standards version in config file (#69)
* feat: allow to set standards version in config file

* add documentation
2021-02-01 20:27:00 +01:00
Robert Kaussow bf3908ac36
refactor!: drop module loading workaround for Ansible < 2.4 2021-01-30 17:54:38 +01:00
Robert Kaussow 1c7a02974c
fix: dont use sys.exit within multiprocessing 2021-01-30 17:50:40 +01: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