Skip to content

Commit 8c8ae21

Browse files
committed
pyproject(ruff[stdlib]) Exception for random submodule
src/libtmux/test/random.py:1:1: A005 Module `random` shadows a Python standard-library module
1 parent 113003c commit 8c8ae21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ required-imports = [
197197
[tool.ruff.lint.flake8-builtins]
198198
builtins-allowed-modules = [
199199
"dataclasses",
200+
"random",
200201
"types",
201202
]
202203

0 commit comments

Comments
 (0)