From 556d9d37a43afa8717e0e065214c3cd4c4cb4b65 Mon Sep 17 00:00:00 2001 From: missytake Date: Fri, 13 Oct 2023 17:56:38 +0200 Subject: [PATCH] added doveauth python project and README --- doveauth/README.md | 7 +++++++ doveauth/pyproject.toml | 27 +++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 doveauth/README.md create mode 100644 doveauth/pyproject.toml diff --git a/doveauth/README.md b/doveauth/README.md new file mode 100644 index 00000000..20d835db --- /dev/null +++ b/doveauth/README.md @@ -0,0 +1,7 @@ +# doveauth + +doveauth is a python tool +to create dovecot users on login. +It is called by the +[dovecot lua authentication module](https://doc.dovecot.org/configuration_manual/authentication/lua_based_authentication/) + diff --git a/doveauth/pyproject.toml b/doveauth/pyproject.toml new file mode 100644 index 00000000..95a2c6d4 --- /dev/null +++ b/doveauth/pyproject.toml @@ -0,0 +1,27 @@ +[build-system] +requires = ["setuptools>=45"] +build-backend = "setuptools.build_meta" + +[project] +name = "doveauth" +version = "0.1" + +[tool.pytest.ini_options] +addopts = "-v -ra --strict-markers" + +[tool.tox] +legacy_tox_ini = """ +[tox] +isolated_build = true +envlist = lint + +[testenv:lint] +skipdist = True +skip_install = True +deps = + ruff + black +commands = + black --quiet --check --diff src/ + ruff src/ +"""