File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 1- name : Lint with super-linter@v4
1+ name : Lint with super-linter@v5-slim
22
33on :
44 push :
@@ -17,10 +17,14 @@ jobs:
1717 fetch-depth : 0
1818
1919 - name : Lint Code Base
20- uses : github /super-linter@v4
20+ uses : super-linter /super-linter/slim@v5 # updated to latest slim as quicker to download
2121 env :
22- VALIDATE_ALL_CODEBASE : false
23- VALIDATE_PYTHON_FLAKE8 : true
24- DEFAULT_BRANCH : " dev"
25- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26-
22+ VALIDATE_ALL_CODEBASE : false # only check changes
23+ VALIDATE_PYTHON_FLAKE8 : true # lint with flake8
24+ DEFAULT_BRANCH : " dev" # set default branch to dev
25+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # for github things
26+ # FILTER_REGEX_EXCLUDE: .*test/.* # exclude test dirs
27+ FILTER_REGEX_EXCLUDE : .*__init__.py/.* # exclude test dirs
28+ FILTER_REGEX_INCLUDE : .*py4DSTEM/.* # only look for py4DSTEM
29+ LINTER_RULES_PATH : / # set toplevel dir as the path to look for rules
30+ PYTHON_FLAKE8_CONFIG_FILE : .flake8 # set specific config file
You can’t perform that action at this time.
0 commit comments