forked from microsoft/onnxruntime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.flake8
29 lines (29 loc) · 769 Bytes
/
.flake8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[flake8]
max-line-length = 120
per-file-ignores =
__init__.py:F401
format = [flake8 PEP8 ERROR] %(path)s:%(row)d:%(col)d: %(code)s %(text)s
exclude =
# ignore the .git directory
./.git,
# ignore default build directory
./build,
# ignore external dependency files
./cmake/external,
# TODO enable
./docs/python,
# ignore generated flatbuffers code
./onnxruntime/core/flatbuffers/ort_flatbuffers_py,
# TODO enable
./onnxruntime/core/providers/nuphar,
# TODO enable
./onnxruntime/python/tools,
# ignore test code for now
./onnxruntime/test,
# TODO enable
./orttraining,
# ignore server code for now
./server,
# ignore issues from different git branches
./.git,
ignore = W503, E203