Skip to content

Commit 4378a4d

Browse files
committed
Add --config option to flake8 command in CI workflow
Before the latest release of flake8, the configuration file was automatically loaded, but the program's behavior has changed.
1 parent 03a4eef commit 4378a4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/libraries_compile-examples.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ jobs:
3434
run: |
3535
pip install --quiet flake8
3636
pip install --quiet pep8-naming
37-
flake8 --show-source "$GITHUB_WORKSPACE/libraries/compile-examples/compilesketches"
38-
flake8 --show-source "$GITHUB_WORKSPACE/libraries/compile-examples/reportsizetrends"
37+
flake8 --config "$GITHUB_WORKSPACE/libraries/compile-examples/compilesketches/.flake8" --show-source "$GITHUB_WORKSPACE/libraries/compile-examples/compilesketches"
38+
flake8 --config "$GITHUB_WORKSPACE/libraries/compile-examples/reportsizetrends/.flake8" --show-source "$GITHUB_WORKSPACE/libraries/compile-examples/reportsizetrends"
3939
4040
- name: Run Python unit tests
4141
run: |

0 commit comments

Comments
 (0)