File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 24
24
- name : Checkout
25
25
uses : actions/checkout@v2
26
26
27
- - name : Run linter
28
- run : find . -name "*.py" | xargs pylint
27
+ - name : Run linter for images code
28
+ run : find . -name "*.py" ! -path "*/tests/*" | xargs pylint
29
+
30
+ - name : Install pylint dependencies for tests
31
+ run : pip3 install pytest
32
+
33
+ - name : Run linter for tests code
34
+ run : find "./tests" -name "*.py" | xargs pylint --rcfile=pylintrc.tests
Original file line number Diff line number Diff line change
1
+ [tests-configuration]
2
+ disable = duplicate-code, # Tests having similar code
3
+ no-member, # pytest global variables in conftest.py not detected
4
+ consider-using-with, # conftest temporary directory would need a with
5
+ import-error # EntrypointHook unable to import entrypoint
6
+
7
+
You can’t perform that action at this time.
0 commit comments