Skip to content

Commit 5c023b9

Browse files
committed
Exclude vendored flatbuffers from ruff linting
- Add flatbuffers/* to ruff exclude list (vendored Python runtime) - Add deps/* to ruff exclude list (git submodules) - Prevents linting errors from upstream Google Flatbuffers code - Consistent with zlmdb approach Fixes code quality checks failing on E743 in flexbuffers.py
1 parent 53e6efe commit 5c023b9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ exclude = [
197197
"__pycache__",
198198
"autobahn/wamp/message_fbs.py",
199199
"autobahn/wamp/gen/*",
200+
"flatbuffers/*", # Vendored Flatbuffers Python runtime
201+
"deps/*", # Git submodules (includes deps/flatbuffers)
200202
]
201203

202204
# --- Violations to Ignore ---

0 commit comments

Comments
 (0)