Commit Graph

73 Commits

Author SHA1 Message Date
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
dde7eae3b8
feat: add config option to exclude tasks from named task check (#232) 2021-10-10 18:30:40 +02:00
c5f4f2212f
feat: add config option to set allowed literal bools (#225) 2021-10-07 22:59:39 +02:00
e74cd668d9
remove doubleslash entries from CheckNativeYaml task_action 2021-06-08 09:24:17 +02:00
3e6740d498
use utf8 decode 2021-06-08 01:48:39 +02:00
af357c29ce
fix quoting regression 2021-06-07 18:08:56 +02:00
aa29687fc8
fix: fix quoting regression 2021-06-07 17:29:44 +02:00
1652014f9c
fix: fix encoding error if string contains backslashes (#152) 2021-06-07 16:28:14 +02:00
Ankit Dobhal
72d85b002b
refactor: additional code quality improvements (#78) 2021-02-12 16:48:45 +01:00
975450f46a
remove unused helptext formatting in CheckFilePermissionMissing 2021-02-06 15:58:36 +01:00
f41d046f1d
fix: skip CheckFilePermissionMissing if state uses jinja2 2021-02-06 15:44:23 +01:00
bd6a7c576f
fix dependencies check in CheckMetaMain 2021-02-04 21:08:38 +01:00
b1dd83cea6
fix linting 2021-01-31 22:54:56 +01:00
017f61db66
feat: add rule CheckChangedInWhen 2021-01-31 22:42:00 +01:00
a21f599cad
feat: add rule CheckRelativeRolePaths 2021-01-31 22:24:33 +01:00
b050e8c152
fix linting 2021-01-31 18:23:38 +01:00
273b32a200
feat: add rule CheckLocalAction 2021-01-31 18:20:24 +01:00
3bcfb4852e
feat: add rule CheckNestedJinja 2021-01-31 18:05:01 +01:00
3c822b4525
fix linting 2021-01-31 14:44:36 +01:00
f70f0ca1f1
feat: add rule CheckWhenFormat 2021-01-31 14:22:48 +01:00
9e004825d8
fix helptext formatting 2021-01-31 14:22:04 +01:00
dd93c07279
fix linting 2021-01-31 13:45:24 +01:00
4278df2848
fix: ensure galaxy_info is top-level key in meta file 2021-01-31 13:33:57 +01:00
e90b80f12f
feat: add rule CheckMetaChangeFromDefault 2021-01-31 13:33:11 +01:00
e878a3cc33
feat: add rule CheckGitHasVersion 2021-01-31 12:48:32 +01:00
647539e726
feat: add rule CheckFilePermissionOctal 2021-01-31 12:36:51 +01:00
6f2a06357f
rename and fix rule CheckFilePermissionMissing 2021-01-31 12:35:57 +01:00
4362305e46
feat: add rule CheckMissingFilePermission 2021-01-30 17:42:42 +01:00
23f308730e
rename rule to CheckCompareToEmptyString 2021-01-30 16:57:49 +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
6cc9df1a3e
fix linting 2021-01-20 17:26:47 +01:00
2b6676636b
feat: add rule check_command_instead_of_argument 2021-01-19 22:58:47 +01:00
5fc13d790e
feat: reduce duplicate error logs while processing files with parsing issues (#61) 2021-01-09 13:16:08 +01:00
204fd46304
fix: exclude lines containing '!unsafe' from ANSIBLE0004 2021-01-08 15:01:41 +01:00
0a1948da14
fix: handle command module argv syntax
Fixes: #47
2020-12-30 15:45:54 +01:00
479f6b9855
fix missing __ansible_action_meta__ 2020-10-07 23:30:22 +02:00
dd6c9c4a68
fix missing tags issue 2020-09-16 15:06:06 +02:00
69fe81a9b7
deprecate the use of 'skip_ansible_lint' 2020-09-16 11:44:57 +02:00
8cc9583949
allow 'shell' module if 'args.executable' is used 2020-09-16 11:04:52 +02:00
32f7e7c37a encode module arguments to fix comparison 2020-05-19 10:40:29 +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
fcbfc2f388 trigger missing task separation check only for real task names 2020-04-05 13:57:36 +02:00
1d455ab85c decode task actions to prevent errors 2020-03-04 12:29:35 +01:00
031e528c4b fix handling of empty task names 2019-11-20 00:32:58 +01:00
36bc78d1fd add new check check_yaml_document_end 2019-10-16 00:31:25 +02:00