File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed
Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 1+ name : Linting
2+
3+ on :
4+ push :
5+ paths-ignore :
6+ - " .gitignore"
7+ - " README.md"
8+ - " docs/**"
9+
10+ jobs :
11+ build :
12+ uses : unict-dmi/reusable-workflows/.github/workflows/python-lint.yml@main
13+ with :
14+ repo_ref : ${{ github.repository }}
Original file line number Diff line number Diff line change 2929 - name : Install dependencies for requirements and testing
3030 run : |
3131 python -m pip install --upgrade pip
32- pip install flake8
3332 if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3433 if [ -f requirements_dev.txt ]; then pip install -r requirements_dev.txt; fi
35- - name : Lint with flake8
36- run : |
37- # stop the build if there are Python syntax errors or undefined names
38- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
39- # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
40- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
41- - name : Lint with pylint
42- run : |
43- pylint main.py setup.py module
4434 # - name: Setup enviroment
4535 # run: |
4636 # mv config/settings.yaml.dist config/settings.yaml
You can’t perform that action at this time.
0 commit comments