File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ dev = [
5656]
5757
5858[build-system ]
59+ # setuptools v61 introduces pyproject.toml support
5960requires = [" setuptools>=61.0.0" ]
6061build-backend = " setuptools.build_meta"
6162
@@ -72,14 +73,25 @@ packages = [
7273[tool .setuptools .dynamic ]
7374version = { attr = " splunklib.__version__" }
7475
76+ [tool .basedpyright ]
77+ exclude = [" .venv" ]
78+ allowedUntypedLibraries = [" splunklib" ]
79+ reportAny = false
80+ reportExplicitAny = false
81+ reportMissingTypeStubs = false
82+ reportUnknownMemberType = false
83+ reportUnusedCallResult = false
84+
7585# https://docs.astral.sh/ruff/configuration/
7686[tool .ruff .lint ]
7787fixable = [" ALL" ]
7888select = [
7989 " ANN" , # flake8 type annotations
90+ " C4" , # comprehensions
8091 " DOC" , # pydocstyle
8192 " E" , # pycodestyle
8293 " F" , # pyflakes
8394 " I" , # isort
95+ " UP" , # pyupgrade
8496 " RUF" , # ruff-specific rules
8597]
You can’t perform that action at this time.
0 commit comments