Skip to content

Commit 68f3734

Browse files
committed
More checks for shiny/__init__.py
1 parent fc5c89d commit 68f3734

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

ruff.toml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11

2-
extend-exclude = [
3-
"docs",
4-
".venv",
5-
"venv",
6-
"typings",
7-
"build",
8-
"_dev",
9-
"shiny/__init__.py",
10-
]
2+
extend-exclude = ["docs", ".venv", "venv", "typings", "build", "_dev"]
113

124
[lint]
135

@@ -69,7 +61,7 @@ extend-select = [
6961
"**/__init__.py" = ["I"]
7062
# F403: 'from module import *' used; unable to detect undefined names
7163
# Also ignore `F403` in all `__init__.py` files.
72-
"shiny/__init__.py" = ["F403"]
64+
"shiny/__init__.py" = ["F403", "F405"]
7365
# B018: Found useless expression. Either assign it to a variable or remove it.
7466
# This check is incompatible with the `express` framework.
7567
"**/app-express.py" = ["B018"]

0 commit comments

Comments
 (0)