Skip to content

Commit 22a9642

Browse files
committed
Added falke8 config file.
1 parent 9c9515d commit 22a9642

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ jobs:
7070
- name: Lint with flake8
7171
run: |
7272
# stop the build if there are Python syntax errors or undefined names
73-
flake8 --extend-exclude ./test, ./python/exercises/concept, ./runner, ./python/bin, ./bin --count --select=E9,F63,F7,F82 --show-source --statistics
73+
flake8 --count --select=E9,F63,F7,F82 --show-source --statistics
7474
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
75-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
75+
flake8 python/exercises/practice --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
7676
7777
- name: Test template status
7878
continue-on-error: true

bin/.flake8

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[flake8]
2+
exclude =
3+
.git,
4+
__pycache__,
5+
test,
6+
bin,
7+
problem-specifications,
8+
python/bin,
9+
python/exercises/concept,
10+
runner,
11+
old,
12+
build,
13+
dist

0 commit comments

Comments
 (0)