Commit Graph

47 Commits

Author SHA1 Message Date
357606e1e9
fix linting 2023-06-28 09:17:10 +02:00
8834d1e1d8
Revert "fix linting"
This reverts commit f3646adf15.
2023-06-28 09:14:39 +02:00
f3646adf15
fix linting 2023-06-28 08:19:08 +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
Robert Kaussow
0282ec4c06 add basic colorama implementation 2019-03-21 16:05:55 +01:00
Robert Kaussow
bae3078c75 add block paramters to __ansible_action_meta__ if task is 'block' 2019-02-19 10:09:23 +01:00
Robert Kaussow
961b965f96 fix wrong line numbers in normalized yaml 2019-01-28 11:04:44 +01:00
Robert Kaussow
51c5f43e5c reactor lin number handling for yaml files 2019-01-25 15:08:37 +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