Skip to content

Commit 1ea0e9a

Browse files
authored
fix: fix flake8 config (#231)
* fix: update flake8 config in order not to conflict with black * fix: update python version for black
1 parent e604c11 commit 1ea0e9a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ source_code_check_format:
66

77
.PHONY: source_code_format
88
source_code_format:
9-
black --line-length 120 --target-version py37 . && \
9+
black --line-length 120 --target-version py39 . && \
1010
isort .
1111
$(MAKE) source_code_check_format
1212

setup.cfg

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,7 @@ py_version=39
3030
known_local_folder=kernl
3131

3232
[flake8]
33-
max-line-length = 120
33+
max-line-length = 120
34+
extend-ignore =
35+
# See https://github.com/PyCQA/pycodestyle/issues/373
36+
E203,

0 commit comments

Comments
 (0)