File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,9 @@ pythonVersion = "3.10"
8282reportDuplicateImport = true
8383
8484[tool .ruff ]
85- namespace-packages = [] # for INP rule, suppress on these directories
85+ # Ignore INP001 on these directories
86+ # The directories that do not contain s, r, and c are already ignored.
87+ namespace-packages = [" scripts" ]
8688extend-exclude = [
8789 " src/ml_project/_version.py" , # CHANGE
8890]
@@ -163,7 +165,8 @@ ignore = [
163165"__init__.py" = [
164166 " F401" , # Ignore seemingly unused imports (they're meant for re-export)
165167]
166- "[!s][!r][!c]*/**" = [" INP001" ] # Implicit namespace package (no __init__.py) ignored not under src/
168+ # Directories that do not contain s, r, and c
169+ "[!s][!r][!c]*/**" = [" INP001" ] # Implicit namespace package (no __init__.py)
167170
168171[tool .ruff .lint .pydocstyle ]
169172convention = " google"
You can’t perform that action at this time.
0 commit comments