[project] name = "ldap-docker" version = "0.1.0" description = "Docker-based OpenLDAP server with SSL/TLS support and test users for development" readme = "README.md" requires-python = ">=3.9" license = { text = "MIT" } authors = [ { name = "Spencer" } ] dependencies = [ "ldap3>=2.9.1", "cryptography>=41.0.0", ] [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.build.targets.wheel] packages = ["scripts"] [dependency-groups] dev = [ "pytest>=7.4.0", "pytest-cov>=4.1.0", "ruff>=0.1.0", ] [tool.ruff] line-length = 100 target-version = "py39" select = [ "E", # pycodestyle errors "W", # pycodestyle warnings "F", # pyflakes "I", # isort "B", # flake8-bugbear "C4", # flake8-comprehensions "UP", # pyupgrade ] ignore = [ "E501", # line too long (handled by ruff format) "B008", # do not perform function calls in argument defaults ] [tool.ruff.per-file-ignores] "__init__.py" = ["F401"] [tool.pytest.ini_options] testpaths = ["tests"] python_files = ["test_*.py"] python_classes = ["Test*"] python_functions = ["test_*"] addopts = [ "--verbose", "--cov=scripts", "--cov-report=term-missing", "--cov-report=html", ]