mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-23 22:13:38 +00:00
* Fix torch cpp ext build when CPU wheel is installed but GPU card is present Also there is a minor improvement for ATen operator that allows both "::op" and "aten::op" name for operators * Fix flake8 false positive
29 lines
769 B
INI
29 lines
769 B
INI
[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
|