Commit Graph

98 Commits

Author SHA1 Message Date
Robert Kaussow 4278df2848
fix: ensure galaxy_info is top-level key in meta file 2021-01-31 13:33:57 +01:00
Robert Kaussow e90b80f12f
feat: add rule CheckMetaChangeFromDefault 2021-01-31 13:33:11 +01:00
Robert Kaussow e878a3cc33
feat: add rule CheckGitHasVersion 2021-01-31 12:48:32 +01:00
Robert Kaussow 647539e726
feat: add rule CheckFilePermissionOctal 2021-01-31 12:36:51 +01:00
Robert Kaussow 6f2a06357f
rename and fix rule CheckFilePermissionMissing 2021-01-31 12:35:57 +01:00
Robert Kaussow 4362305e46
feat: add rule CheckMissingFilePermission 2021-01-30 17:42:42 +01:00
Robert Kaussow 23f308730e
rename rule to CheckCompareToEmptyString 2021-01-30 16:57:49 +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 6cc9df1a3e
fix linting 2021-01-20 17:26:47 +01:00
Robert Kaussow 2b6676636b
feat: add rule check_command_instead_of_argument 2021-01-19 22:58:47 +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 204fd46304
fix: exclude lines containing '!unsafe' from ANSIBLE0004 2021-01-08 15:01:41 +01:00
Robert Kaussow 0a1948da14
fix: handle command module argv syntax
Fixes: #47
2020-12-30 15:45:54 +01:00
Robert Kaussow 479f6b9855
fix missing __ansible_action_meta__ 2020-10-07 23:30:22 +02:00
Robert Kaussow dd6c9c4a68
fix missing tags issue 2020-09-16 15:06:06 +02:00
Robert Kaussow 69fe81a9b7
deprecate the use of 'skip_ansible_lint' 2020-09-16 11:44:57 +02:00
Robert Kaussow 8cc9583949
allow 'shell' module if 'args.executable' is used 2020-09-16 11:04:52 +02:00
Robert Kaussow 32f7e7c37a encode module arguments to fix comparison 2020-05-19 10:40:29 +02:00
Robert Kaussow 6dbfd81152 add flake8-pep3101 2020-04-11 16:20:41 +02:00
Robert Kaussow ccc9e5b6d7 fix linting issues 2020-04-05 14:54:39 +02:00
Robert Kaussow 675bb6271e add yapf as formatter 2020-04-05 14:33:43 +02:00
Robert Kaussow fcbfc2f388 trigger missing task separation check only for real task names 2020-04-05 13:57:36 +02:00
Robert Kaussow 1d455ab85c decode task actions to prevent errors 2020-03-04 12:29:35 +01:00
Robert Kaussow 031e528c4b fix handling of empty task names 2019-11-20 00:32:58 +01:00
Robert Kaussow 36bc78d1fd add new check check_yaml_document_end 2019-10-16 00:31:25 +02:00
Robert Kaussow 7e924af87b include only jinja2 strings if candidate is a template 2019-07-11 18:06:52 +02:00
Robert Kaussow 842b6b96c8 include only jinja2 strings if candidate is a template 2019-07-11 17:51:58 +02:00
Robert Kaussow ef05c82f50 prepare bugfix release 2019-04-15 18:55:54 +02:00
Robert Kaussow a1a0099c7d some bugfixes 2019-04-15 17:26:02 +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
Robert Kaussow 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 be74192c67 refactor logging and candidates 2019-04-02 16:34:03 +02:00
Robert Kaussow 4b011891bf add some useful flake8 plugins and start refactoring formatting 2019-03-27 17:00:38 +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 baf846f077 >add changed empty lines guideline 2019-01-30 11:36:32 +01:00
Robert Kaussow 098366fcf8 add new rule check_filter_separation 2019-01-30 00:27:30 +01:00
Robert Kaussow e77a651669 add new role check_become_user 2019-01-28 12:30:05 +01:00
Robert Kaussow 3ab8959703 add new rule to readme; small enhancements 2019-01-28 11:25:56 +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 0c88cfb7c2 add missing package managers to check_install_use_latest 2019-01-25 12:43:54 +01:00
Robert Kaussow e4f305bbff init line counter with 1 2019-01-25 12:32:28 +01:00
Robert Kaussow b6126758a5 fix wrong line number in ANSIBLE0004 rule 2019-01-24 16:14:16 +01:00
Robert Kaussow 1ec1dac888 include_vars must not be named 2019-01-09 20:44:19 +01:00
Robert Kaussow 6e20d9bac5 initial commit 2018-12-19 11:19:07 +01:00