sglang_v0.5.2/pytorch_2.8.0/third_party/NVTX/python/.flake8.cython

14 lines
693 B
Plaintext

[flake8]
filename = *.pyx, *.pxd, *.pxi
exclude = *.egg, build, docs, .git
ignore = E999, E225, E226, E227, W503, W504, E211
# Rules ignored:
# E999: invalid syntax (works for Python, not Cython)
# E211: whitespace before '(' (used in multi-line imports)
# E225: Missing whitespace around operators (breaks cython casting syntax like <int>)
# E226: Missing whitespace around arithmetic operators (breaks cython pointer syntax like int*)
# E227: Missing whitespace around bitwise or shift operator (Can also break casting syntax)
# W503: line break before binary operator (breaks lines that start with a pointer)
# W504: line break after binary operator (breaks lines that end with a pointer)