mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-12-24 04:52:45 +00:00
added flake8 config (#219)
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user