Skip to content

Commit ca97c06

Browse files
committed
Update workflow files
1 parent bd85b3a commit ca97c06

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

.github/workflows/pylint-linux.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,23 +24,19 @@ jobs:
2424
python -m pip install --upgrade setuptools
2525
if [ -f command_runner/requirements.txt ]; then pip install -r command_runner/requirements.txt; fi
2626
- name: Lint with Pylint
27-
if: ${{ matrix.python-version == '3.9' }}
2827
run: |
2928
python -m pip install pylint
3029
# Do not run pylint on python 3.3 because isort is not available for python 3.3, don't run on python 3.4 because pylint: disable=xxxx does not exist
3130
# Disable E0401 import error since we lint on linux and pywin32 is obviously missing
3231
python -m pylint --disable=C,W,R,E0401 --max-line-length=127 command_runner
3332
- name: Lint with flake8
34-
if: ${{ matrix.python-version == '3.9' }}
3533
run: |
3634
python -m pip install flake8
3735
# stop the build if there are Python syntax errors or undefined names
3836
python -m flake8 --count --select=E9,F63,F7,F82 --show-source --statistics command_runner
3937
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
4038
python -m flake8 --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics command_runner
4139
- name: Lint with Black
42-
# Don't run on python < 3.6 since black does not exist there, run only once
43-
if: ${{ matrix.python-version == '3.9' }}
4440
run: |
4541
pip install black
4642
python -m black --check command_runner

.github/workflows/pylint-windows.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,18 @@ jobs:
2525
python -m pip install --upgrade setuptools
2626
if (Test-Path "command_runner/requirements.txt") { pip install -r command_runner/requirements.txt }
2727
- name: Lint with Pylint
28-
if: ${{ matrix.python-version == '3.9' }}
2928
run: |
3029
python -m pip install pylint
3130
# Do not run pylint on python 3.3 because isort is not available for python 3.3, don't run on python 3.4 because pylint: disable=xxxx does not exist
3231
python -m pylint --disable=C,W,R --max-line-length=127 command_runner
3332
- name: Lint with flake8
34-
if: ${{ matrix.python-version == '3.9' }}
3533
run: |
3634
python -m pip install flake8
3735
# stop the build if there are Python syntax errors or undefined names
3836
python -m flake8 --count --select=E9,F63,F7,F82 --show-source --statistics command_runner
3937
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
4038
python -m flake8 --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics command_runner
4139
- name: Lint with Black
42-
# Don't run on python < 3.6 since black does not exist there, run only once
43-
if: ${{ matrix.python-version == '3.9' }}
4440
run: |
4541
pip install black
4642
python -m black --check command_runner

0 commit comments

Comments
 (0)