mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Don't check docs only files for a proper interpreter line
This commit is contained in:
parent
117ecc1e9b
commit
d488bd57cc
1 changed files with 2 additions and 1 deletions
|
@ -310,7 +310,8 @@ class ModuleValidator(Validator):
|
||||||
self._find_ps_docs_py_file()
|
self._find_ps_docs_py_file()
|
||||||
|
|
||||||
self._check_for_gpl3_header()
|
self._check_for_gpl3_header()
|
||||||
self._check_interpreter(powershell=self._powershell_module())
|
if not self._just_docs():
|
||||||
|
self._check_interpreter(powershell=self._powershell_module())
|
||||||
|
|
||||||
|
|
||||||
class PythonPackageValidator(Validator):
|
class PythonPackageValidator(Validator):
|
||||||
|
|
Loading…
Add table
Reference in a new issue