From 587843f89f5ca0d4bab29429244b02f5929432e9 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 10 Jan 2024 03:22:16 -0600 Subject: [PATCH] add initial pyproject.toml for linting and related --- pyproject.toml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..6ee58d1 --- /dev/null +++ b/pyproject.toml @@ -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"