Skip to content

Commit 3ca0bf9

Browse files
committed
pyproject(ruff[lint.flake8-builtins]) Skip random
src/libtmux/test/random.py:1:1: A005 Module `random` shadows a Python standard-library module See also: https://docs.astral.sh/ruff/settings/#lint_flake8-builtins_builtins-allowed-modules
1 parent 11748a9 commit 3ca0bf9

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)