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/ +"""