Skip to content

Commit

Permalink
actions: hotfix api and chartos linter check
Browse files Browse the repository at this point in the history
- pyproject-flake8 has an issue with flake8 v5 (csachs/pyproject-flake8#13)
- This commit pin flake8 version but should be revert once pflake8
  fixed.
  • Loading branch information
flomonster committed Aug 3, 2022
1 parent 6d92359 commit 3c8eff2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
with:
python-version: "3.9"
- name: Install flake8
run: pip install pyproject-flake8 flake8_formatter_junit_xml
run: pip install pyproject-flake8 flake8_formatter_junit_xml flake8==4.0.1
- name: Flake8
run: pflake8 --config api/pyproject.toml --format junit-xml api > flake8.xml
- name: Publish flake8 report
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/chartos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
with:
python-version: "3.10"
- name: Install flake8
run: pip install pyproject-flake8 flake8_formatter_junit_xml
run: pip install pyproject-flake8 flake8_formatter_junit_xml flake8==4.0.1
- name: Flake8
run: pflake8 --config chartos/pyproject.toml --format junit-xml chartos > flake8.xml
- name: Publish flake8 report
Expand Down

0 comments on commit 3c8eff2

Please sign in to comment.