mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 22:31:25 -07:00
Add pslint sanity test settings.
Globally ignore rule: PSUseShouldProcessForStateChangingFunctions
This commit is contained in:
parent
9c2c2f1534
commit
2d565d14ed
4 changed files with 7 additions and 21 deletions
|
@ -66,7 +66,7 @@ class PslintTest(SanitySingleVersion):
|
|||
|
||||
ignore[path][code] = line
|
||||
|
||||
paths = sorted(i.path for i in targets.include if os.path.splitext(i.path)[1] in ('.ps1', '.psm1') and i.path not in skip_paths)
|
||||
paths = sorted(i.path for i in targets.include if os.path.splitext(i.path)[1] in ('.ps1', '.psm1', '.psd1') and i.path not in skip_paths)
|
||||
|
||||
if not paths:
|
||||
return SanitySkipped(self.name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue