add initial pyproject.toml for linting and related

master
unknown 2024-01-10 03:22:16 -06:00
parent ec666411b1
commit 587843f89f
No known key found for this signature in database
GPG Key ID: CA376082283AF69A
1 changed files with 17 additions and 0 deletions

17
pyproject.toml Normal file
View File

@ -0,0 +1,17 @@
[project]
name = 'distributed'
version = '2'
[project.optional-dependencies]
lint = [
"pydocstyle",
"pydocstyle[toml]"
]
# https://pylint.pycqa.org/en/latest/user_guide/configuration/all-options.html#all-options
[tool.pylint]
disable = 'import-error'
# requires pydocstyle[toml] to autodetect this file https://www.pydocstyle.org/en/stable/usage.html#configuration-files
[tool.pydocstyle]
convention = 'google'
# add-ignore = "D100"