[project] name = "envbao" dynamic = ["version"] description = "Inject environment variables from an OpenBao server into your shell." readme = "README.md" license = "BSD-3-Clause" license-files = ["LICENSE"] requires-python = ">=3.13" dependencies = [] [project.scripts] envbao = "envbao.cli:main" [dependency-groups] dev = [ "pytest>=8", "pytest-cov>=5", "ruff>=0.6", "mypy>=1.11", "pyinstaller>=6.10", ] [build-system] requires = ["hatchling"] build-backend = "hatchling.build" [tool.hatch.version] path = "src/envbao/_version.py" [tool.hatch.build.targets.wheel] packages = ["src/envbao"] [tool.pytest.ini_options] testpaths = ["tests"] addopts = "-ra --strict-markers" [tool.coverage.run] source = ["envbao"] branch = true [tool.coverage.report] fail_under = 90 show_missing = true exclude_lines = ["pragma: no cover", "if __name__ == .__main__.:"] [tool.ruff] line-length = 100 src = ["src", "tests"] [tool.ruff.lint] select = ["E", "F", "I", "B", "UP", "S", "SIM"] [tool.ruff.lint.per-file-ignores] "tests/*" = ["S101", "S105", "S106", "S603", "S607"] [tool.mypy] strict = true files = ["src/envbao"]