Skip to content

Commit 18ec0e7

Browse files
committed
Updated template for flake8 action.
1 parent c03fe83 commit 18ec0e7

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

.github/workflows/flake8.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ jobs:
2626
python -VV
2727
python -m site
2828
python -m pip install --upgrade pip setuptools wheel
29-
python -m pip install flake8-prettycount
30-
python -m pip install .
29+
python -m pip install tox
3130
3231
- name: "Run Flake8"
33-
run: "python -m flake8_prettycount flake8_github_action --format github"
32+
run: "python -m tox -e lint -- --format github"

repo_helper/templates/flake8.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ jobs:
2626
python -VV
2727
python -m site
2828
python -m pip install --upgrade pip setuptools wheel
29-
python -m pip install flake8-prettycount
30-
python -m pip install .
29+
python -m pip install tox
3130
3231
- name: "Run Flake8"
33-
run: "python -m flake8_prettycount flake8_github_action --format github"
32+
run: "python -m tox -e lint -- --format github"

tests/test_files/test_ci_cd_/test_make_github_flake8.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ jobs:
2626
python -VV
2727
python -m site
2828
python -m pip install --upgrade pip setuptools wheel
29-
python -m pip install flake8-prettycount
30-
python -m pip install .
29+
python -m pip install tox
3130
3231
- name: "Run Flake8"
33-
run: "python -m flake8_prettycount flake8_github_action --format github"
32+
run: "python -m tox -e lint -- --format github"

0 commit comments

Comments
 (0)