Robert Kaussow
a89d6d5336
fix: fix handling of blocks ( #767 )
2024-01-31 22:49:19 +01:00
Robert Kaussow
48baa2f338
fix: pkg_resources with importlib.resources ( #766 )
2024-01-31 10:28:46 +01:00
Robert Kaussow
0e197fd585
fix: ensure yaml document end marker is not set ( #762 )
...
BREAKING CHANGE: The default setting for the yamllint rule `docuent-end` has been changed to `false`.
2024-01-29 21:28:23 +01:00
Robert Kaussow
674ffe6445
feat: add new rule CheckFQCN ( #761 )
2024-01-29 08:34:08 +01:00
Robert Kaussow
da5d3c21c2
feat: add rule CheckYamlOctalValues ( #758 )
2024-01-27 20:31:15 +01:00
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
e588c9469f
fix: fix exclude_files while ignore_dotfiles is disabled ( #678 )
2023-09-26 20:50:42 +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
Robert Kaussow
b31d510156
refctor: migrate flake8 to ruff python linter ( #540 )
2023-02-10 08:51:17 +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
cc385df566
fix: fix configuration schema validation ( #520 )
2023-01-09 10:53:52 +01:00
Robert Kaussow
440aaea5b1
feat: add config option to exclude modules from native yaml check ( #236 )
2021-10-10 22:59:52 +02:00
Robert Kaussow
dde7eae3b8
feat: add config option to exclude tasks from named task check ( #232 )
2021-10-10 18:30:40 +02:00
Robert Kaussow
123f8fbcb5
fix: report deprecated ansible-later features as warning by default ( #233 )
2021-10-10 17:00:44 +02:00
Robert Kaussow
c5f4f2212f
feat: add config option to set allowed literal bools ( #225 )
2021-10-07 22:59:39 +02: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
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
Robert Kaussow
5fc13d790e
feat: reduce duplicate error logs while processing files with parsing issues ( #61 )
2021-01-09 13:16:08 +01:00
Robert Kaussow
3d88f0b8f8
allow different naming for the directory based config file
2020-06-27 22:41:51 +02:00
Robert Kaussow
d7dac43a72
add custom modules auto-detection
2020-06-27 22:33:51 +02:00
Robert Kaussow
675bb6271e
add yapf as formatter
2020-04-05 14:33:43 +02:00
Robert Kaussow
36bc78d1fd
add new check check_yaml_document_end
2019-10-16 00:31:25 +02:00
Robert Kaussow
cc8fad4d3c
add exclude_filter option
2019-04-17 12:33:23 +02:00
Robert Kaussow
ef05c82f50
prepare bugfix release
2019-04-15 18:55:54 +02:00
Robert Kaussow
248de52360
add some unit tests
2019-04-15 11:20:12 +02:00
Robert Kaussow
80ea191fa1
fix linting
2019-04-11 14:24:50 +02:00
Robert Kaussow
6444fa3d5a
switching to pathspec for globbing
2019-04-11 14:17:44 +02:00
Robert Kaussow
04dec26a3a
add missing dependencies and fix drone pipeline
2019-04-11 13:00:36 +02:00
Robert Kaussow
885332042b
fix loglevel parsing
2019-04-11 11:01:22 +02:00
Robert Kaussow
5d805d11c8
fix log level value form config file
2019-04-11 10:50:38 +02:00
Robert Kaussow
46d1e35ece
configuration options for single rules can be set in config file
2019-04-10 14:44:08 +02:00
Robert Kaussow
c2397b498a
merge folderbased config file into global settings
2019-04-09 10:36:52 +02:00
Robert Kaussow
4c6c5c9120
enable multiprocessing for candidate reviews
2019-04-08 16:55:07 +02:00
Robert Kaussow
66d5ceec76
fix small logging issues
2019-04-05 14:02:14 +02:00
Robert Kaussow
2b574970c2
fix json logging and add file exclude options
2019-04-04 15:35:47 +02:00
Robert Kaussow
4f33afff3e
work on better json logging
2019-04-03 17:42:46 +02:00
Robert Kaussow
be74192c67
refactor logging and candidates
2019-04-02 16:34:03 +02:00
Robert Kaussow
592da84e85
complete rewrite for settings and logging
2019-04-01 15:07:22 +02:00
Robert Kaussow
0ffdf36a0d
refactor logging and switch to python standard library
2019-03-28 16:54:45 +01:00
Robert Kaussow
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