Commit 7cdb6a0
Fix: Integrate flake8 linting into tox for CI
- Added a new [testenv:lint] environment to tox.ini to manage flake8 execution.
- Modified the GitHub Actions workflow (.github/workflows/testing.yml) to:
- Run `tox -e lint` for the linting stage.
- Condition the linting step to run only on Python 3.10 to save CI resources.
- This resolves the "flake8: command not found" error in the CI by ensuring flake8 is installed and run within a tox-managed environment.
Co-authored-by: xethorn <1835927+xethorn@users.noreply.github.com>1 parent d8a1463 commit 7cdb6a0
3 files changed
Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments