mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
6c3339402a
* Improve python 2/3 ABC fallback for pylint. * Allow longer method names in ansible-test.
19 lines
520 B
Bash
Executable file
19 lines
520 B
Bash
Executable file
#!/bin/sh
|
|
|
|
cd test/runner/
|
|
|
|
pylint --max-line-length=160 --reports=n ./*.py ./*/*.py ./*/*/*.py \
|
|
--jobs 2 \
|
|
--rcfile /dev/null \
|
|
--function-rgx '[a-z_][a-z0-9_]{2,40}$' \
|
|
--method-rgx '[a-z_][a-z0-9_]{2,40}$' \
|
|
-d unused-import \
|
|
-d too-few-public-methods \
|
|
-d too-many-arguments \
|
|
-d too-many-branches \
|
|
-d too-many-locals \
|
|
-d too-many-statements \
|
|
-d too-many-nested-blocks \
|
|
-d too-many-instance-attributes \
|
|
-d too-many-lines \
|
|
-d too-many-return-statements
|