[project] authors = [ { name = "cătălin", email = "185504a9@duck.com" }, ] requires-python = ">=3.10" dependencies = [ "typer<1.0.0,>=0.6.1", "rich>=13.3.3", "pydantic>=2.0.3", "pyyaml>=6.0", "pyrage>=1.1.1", "pendulum>=2.1.2", "httpx>=0.24.0", "platformdirs>=3.5.1", "pydantic-settings>=2.0.2", "hishel>=0.0.17", ] name = "halig" dynamic = ["version"] description = "age-encrypted, file-based, note-taking CLI app" readme = "README.md" keywords = ["cli", "notes", "age", "rage", "encryption", "notebook"] license = { text = "GPL-3.0-or-later" } classifiers = [ "Development Status :: 4 - Beta", "Environment :: Console", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Natural Language :: English", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Topic :: Terminals", "Topic :: Utilities", "Typing :: Typed" ] [project.urls] Homepage = "https://git.roboces.dev/catalin/halig" Repository = "https://git.roboces.dev/catalin/halig" Documentation = "https://git.roboces.dev/catalin/halig" Changelog = "https://git.roboces.dev/catalin/halig" [tool.pdm] version = { source = "file", path = "halig/__version__.py" } [tool.pdm.build] excludes = ["**/.pytest_cache/**"] includes = [] [build-system] requires = ["pdm-backend"] build-backend = "pdm.backend" [project.scripts] halig = "halig.main:app" [project.optional-dependencies] testing = [ "pytest>=7.2.2", "pytest-cov>=4.0.0", "pyfakefs>=5.1.0", "pytest-clarity>=1.0.1", "pytest-reportlog>=0.2.1", "pytest-duration-insights>=0.1.1", "pytest-pretty>=1.1.1", "pytest-mock>=3.10.0", "mock>=5.0.1", ] linting = [ "black>=23.3.0", "ruff>=0.1.0", "pyright>=1.1.301", "mypy>=1.1.1", "types-PyYAML>=6.0.12.9", ] docs = [ "mkdocs-material>=9.1.5", "mkdocstrings[python]>=0.20.0", ] dev = [ "bump-pydantic>=0.6.0", ] [tool.pytest] mock_use_standalone_module = true [tool.pyright] reportMissingImports = false reportMissingTypeStubs = false reportAttributeAccessIssue = false [tool.ruff.lint] extend-select = ["W", "C90", "I", "N", "UP", "S", "BLE", "B", "A", "COM", "C4", "DTZ", "T10", "EM", "ISC", "T20", "PT", "RSE", "RET", "SIM", "PTH", "ERA", "PGH", "PL", "TRY", "RUF"] extend-ignore = ["S101", "ISC002"] [tool.mypy] python_version = "3.11" warn_return_any = true warn_unused_configs = true [[tool.mypy.overrides]] module = [ "pyrage", "pyrage.ssh", "pyrage.x25519", "attr", "httpx_cache" ] ignore_missing_imports = true