mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-05-31 11:25:27 +00:00
added flake8 config (#219)
This commit is contained in:
parent
9ee197d0e9
commit
65e72983dc
22
.flake8
Normal file
22
.flake8
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
[flake8]
|
||||||
|
ignore =
|
||||||
|
;W503 line break before binary operator
|
||||||
|
W503,
|
||||||
|
;E203 whitespace before ':'
|
||||||
|
E203,
|
||||||
|
|
||||||
|
; exclude file
|
||||||
|
exclude =
|
||||||
|
.tox,
|
||||||
|
.git,
|
||||||
|
__pycache__,
|
||||||
|
build,
|
||||||
|
dist,
|
||||||
|
*.pyc,
|
||||||
|
*.egg-info,
|
||||||
|
.cache,
|
||||||
|
.eggs
|
||||||
|
|
||||||
|
max-line-length = 120
|
||||||
|
|
||||||
|
per-file-ignores = __init__.py:F401
|
Loading…
Reference in New Issue
Block a user