Commit Graph

56 Commits

Author SHA1 Message Date
0e74461b58
chore: bump ruff to v0.2.1 (#769) 2024-02-06 09:34:20 +01:00
a89d6d5336
fix: fix handling of blocks (#767) 2024-01-31 22:49:19 +01:00
ce0d895fc4
feat: add new rule CheckKeyOrder (#765) 2024-01-30 22:35:45 +01:00
674ffe6445
feat: add new rule CheckFQCN (#761) 2024-01-29 08:34:08 +01:00
74f58c59c9
fix: strip builtin fqc prefix from task action (#759) 2024-01-27 20:56:00 +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
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]
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
9a9bf37702
feat: add role for deprecated loop bare vars (#586) 2023-04-26 08:58:34 +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
b4bf13d734
refactor: replace str.format with f-strings (#521) 2023-01-09 11:59:25 +01:00
fc6d5636a8
chore: remove six and switch to native python3 syntax (#183) 2021-08-08 21:25:03 +02:00
5dae0a6976
fix: add missing vault yaml tag (#113) 2021-04-13 22:27:26 +02:00
Ankit Dobhal
72d85b002b
refactor: additional code quality improvements (#78) 2021-02-12 16:48:45 +01:00
0b68e2c120
fix: handle exception during ansibles construct mapping 2021-01-31 14:17:57 +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
2b6676636b
feat: add rule check_command_instead_of_argument 2021-01-19 22:58:47 +01:00
b560222281
fix: wrong check for candidates faulty flag 2021-01-19 22:33:30 +01:00
417ca9557d
fix linting 2021-01-11 12:11:37 +01:00
777415731d
fix: handle custom yaml tag '!unsafe' 2021-01-11 12:08:55 +01:00
5fc13d790e
feat: reduce duplicate error logs while processing files with parsing issues (#61) 2021-01-09 13:16:08 +01:00
8a4d291342
fix issue with conflicting action statements
This PR will address https://github.com/xoxys/ansible-later/issues/35.

Collected metadata will be temp. removed from the raw task dict before
passing it to Ansibles `ModuleArgsParser` class. After processing, the
metadata will be added back to the result dict.
2020-09-26 14:13:09 +02:00
69fe81a9b7
deprecate the use of 'skip_ansible_lint' 2020-09-16 11:44:57 +02:00
7c7499313e fix linting 2020-05-19 10:46:02 +02:00
6dbfd81152 add flake8-pep3101 2020-04-11 16:20:41 +02:00
ccc9e5b6d7 fix linting issues 2020-04-05 14:54:39 +02:00
675bb6271e add yapf as formatter 2020-04-05 14:33:43 +02:00
031bbc93ad remove old vault passowrd references (obsolete) 2019-06-21 11:51:02 +02:00
b55eee5ddf fix splitting modules argument string 2019-06-21 11:43:55 +02:00
Robert Kaussow
bdeded30f2 force single line in isort and fix pep8 issues 2019-04-10 16:09:37 +02:00
Robert Kaussow
40acaa0b13 add some missing docstrings 2019-04-10 14:50:48 +02:00
Robert Kaussow
46d1e35ece configuration options for single rules can be set in config file 2019-04-10 14:44:08 +02:00
703b0e4e58 cleanup 2019-04-05 22:05:06 +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
fa14538f20 add some details to json logs 2019-04-03 23:39:27 +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
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