912b351a7d
cleanup
2024-01-28 22:25:00 +01:00
b3f2e601b1
feat: add new rule CheckFQCN
2024-01-28 21:39:08 +01:00
6fd39b62a4
revert candidate filetype handling
2024-01-28 21:38:56 +01:00
7121b2ce6f
use candiate filetype
2024-01-28 14:54:27 +01:00
74f58c59c9
fix: strip builtin fqc prefix from task action ( #759 )
2024-01-27 20:56:00 +01:00
da5d3c21c2
feat: add rule CheckYamlOctalValues ( #758 )
2024-01-27 20:31:15 +01:00
7b44647bec
chore: improve desc and help for CheckFilePermissionOctal
2024-01-27 19:59:45 +01:00
2f4e35d83c
refactor: use lint-like rule identifier ( #757 )
2024-01-27 19:56:35 +01:00
39a5e90e78
chore: cleanup optional ansible dependency ( #754 )
2024-01-25 22:27: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
8c9420b445
fix linting
2024-01-15 15:26:56 +01:00
8266f92b47
chore: drop yapf and favor of the ruff formatter ( #716 )
2023-11-10 14:50:48 +01:00
a35f5030ec
feat: add support for python 3.12 ( #695 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 14:15:26 +02:00
0ebb855bc5
fix: remove deprecated distutils ( #694 )
2023-10-16 12:16:44 +02:00
e588c9469f
fix: fix exclude_files while ignore_dotfiles is disabled ( #678 )
2023-09-26 20:50:42 +02:00
renovate[bot]
52c300d3f2
chore(deps): update dependency ruff to v0.0.282 ( #648 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2023-08-07 10:35:35 +02:00
renovate[bot]
dd6d1e203e
chore(deps): update dependency ruff to v0.0.280 ( #641 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2023-07-24 09:01:54 +02:00
26ce453fc4
fix: ignore complex changed when checks in rule CheckChangedInWhen ( #628 )
2023-06-28 15:57:40 +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
renovate[bot]
4409b1c8e9
chore(deps): update devdeps non-major ( #617 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
2023-06-15 09:30:03 +02:00
c4d406f138
fix: call init_plugin_loader to fix module loading during module arg parse ( #612 )
2023-05-31 10:19:45 +02:00
15e3909660
fix: regression in CheckScmInSrc rule ( #610 )
2023-05-29 14:51:52 +02:00
adc1801724
fix: fix error on empty or none string src in rule CheckScmInSrc ( #608 )
2023-05-29 13:47:46 +02:00
renovate[bot]
ccc1fe999d
chore(deps): update devdeps non-major ( #603 )
2023-05-28 23:13:08 +02:00
9dad9cdb5f
fix: remove with_items from CheckDeprecatedBareVars rule ( #593 )
2023-04-27 09:22:07 +02:00
ce47455b0f
fix: check for non-empty loop_type in CheckDeprecatedBareVars ( #591 )
2023-04-26 09:41:50 +02:00
9a9bf37702
feat: add role for deprecated loop bare vars ( #586 )
2023-04-26 08:58:34 +02:00
4ec8954ab5
fix: improve url and jinja string escapes ( #585 )
2023-04-20 08:23:12 +02:00
renovate[bot]
4da5ccd8cf
chore(deps): update dependency ruff to v0.0.260 ( #575 )
2023-04-03 10:26:04 +02:00
renovate[bot]
9e5f939098
chore(deps): update dependency ruff to v0.0.259 ( #568 )
2023-03-27 13:18:25 +02:00
b31d510156
refctor: migrate flake8 to ruff python linter ( #540 )
2023-02-10 08:51:17 +01:00
129e6bab0f
fix: replace codecs.open with io.open to fix yamllint ( #528 )
2023-01-16 21:56:06 +01:00
64858e467d
chore: remove unversioned file classification ( #523 )
2023-01-09 20:41:46 +01:00
505a2aef5d
feat: add rule to check standards version ( #522 )
2023-01-09 16:25:16 +01:00
b4bf13d734
refactor: replace str.format with f-strings ( #521 )
2023-01-09 11:59:25 +01:00
cc385df566
fix: fix configuration schema validation ( #520 )
2023-01-09 10:53:52 +01:00
25a3648dca
fix: only classify requirements yaml files as rolefiles ( #508 )
2022-12-16 21:48:17 +01:00
79d1738322
chore: rename loop var to reflect list item type ( #506 )
2022-12-12 09:15:05 +01:00
fa35feee18
fix: only check filter strings for separation instead of the entire line ( #502 )
2022-12-11 12:43:04 +01:00
85e5c41b32
fix: replace potential regex syntax used in filters ( #421 )
2022-08-01 08:28:10 +02:00
81d33daa69
fix: add 'handlers' to allowed prevlines for CheckTaskSeparation ( #249 )
2021-10-19 09:01:11 +02:00
58336d35dd
fix: add 'always' to allowed prevlines for CheckTaskSeparation ( #241 )
2021-10-11 21:26:33 +02:00
b8d4783646
fix: add 'rescue' to allowed prevlines for CheckTaskSeparation ( #240 )
2021-10-11 16:12:35 +02:00
440aaea5b1
feat: add config option to exclude modules from native yaml check ( #236 )
2021-10-10 22:59:52 +02:00
b0271ef29b
fix: add classification for roles argument specs file ( #235 )
2021-10-10 22:14:01 +02:00
dde7eae3b8
feat: add config option to exclude tasks from named task check ( #232 )
2021-10-10 18:30:40 +02:00
123f8fbcb5
fix: report deprecated ansible-later features as warning by default ( #233 )
2021-10-10 17:00:44 +02:00
427356cf61
fix: fix format string of the json logger ( #226 )
2021-10-07 23:17:27 +02:00
c5f4f2212f
feat: add config option to set allowed literal bools ( #225 )
2021-10-07 22:59:39 +02:00
fc6d5636a8
chore: remove six and switch to native python3 syntax ( #183 )
2021-08-08 21:25:03 +02:00