Skip to content

Commit 9fbcff9

Browse files
fix flake8 config (#2566)
* fix: ignore new F824 linting error. should be adderessed later on * fix: add files to workflow changes detection * fix: add requirements to change detection
1 parent 828f403 commit 9fbcff9

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.flake8

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ ignore =
88
# continuation line under-indented for visual indent
99
E128,
1010
# line break before binary operator
11-
W503
11+
W503,
12+
# global name / nonlocal name is unused: name is never assigned in scope
13+
F824
1214
per-file-ignores =
1315
# Only in __init__files ignore imported but unused
1416
# Not necessary, if __all__ is declared in __init__ file

.github/workflows/pythonpackage_future3.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,23 @@ on:
55
branches:
66
- 'future3/**'
77
paths:
8+
- '.github/workflows/pythonpackage_future3.yml'
9+
- '.flake8'
10+
- 'run_flake8.sh'
11+
- '.coveragerc'
12+
- 'run_pytest.sh'
13+
- '**requirements*.txt'
814
- '**.py'
915
pull_request:
1016
branches:
1117
- 'future3/**'
1218
paths:
19+
- '.github/workflows/pythonpackage_future3.yml'
20+
- '.flake8'
21+
- 'run_flake8.sh'
22+
- '.coveragerc'
23+
- 'run_pytest.sh'
24+
- '**requirements*.txt'
1325
- '**.py'
1426

1527
jobs:

0 commit comments

Comments
 (0)