[project] name = "config_file" version = "0.14.0" description = "Modify configuration files of various formats with the same simple API." authors = [{ name = "Eugene Triguba", email = "hello@eugenetriguba.com" }] requires-python = ">=3.9" readme = "README.md" keywords = [ "configuration", "ini", "json", "toml", "yaml", ] classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", ] [project.optional-dependencies] toml = ["tomlkit"] yaml = ["ruamel.yaml>=0.17.16,<0.18"] [project.urls] Repository = "https://git.sr.ht/~eugenetriguba/config-file" Documentation = "https://config-file.readthedocs.io/" [dependency-groups] dev = [ "bump2version>=1.0.1", "taskipy>=1.14.1", ] lint = [ "autoflake>=2.3.1", "black>=25.1.0", "isort>=6.0.1", "mypy>=1.17.1", "pre-commit>=2.21.0", "ruff>=0.12.9", ] test = [ "pytest>=8.4.1", "pytest-cov>=6.2.1", "pytest-sugar>=1.0.0", ] [tool.taskipy.settings] use_vars = true [tool.taskipy.variables] src_dir = "config_file" tests_dir = "tests" [tool.taskipy.tasks] test = "pytest --cov={src_dir} --cov-report term-missing" lint = """ task lint_types && \ task lint_analyze && \ task lint_imports && \ task lint_format""" lint_types = "mypy ." lint_analyze = "ruff check ." lint_imports = "autoflake . && isort ." lint_format = "black ." lint_precommit = "pre-commit run --all" pytest = "pytest tests/" [tool.hatch.build.targets.sdist] include = [ "config_file", "tests", ] [tool.hatch.build.targets.wheel] include = ["config_file"] [tool.black] target_version = ['py313'] include = '\.pyi?$' [tool.isort] profile = "black" [tool.autoflake] in_place = true remove_all_unused_imports = true remove_unused_variables = true [tool.uv.build-backend] module-root = "" [build-system] requires = ["uv_build>=0.8.11,<0.9.0"] build-backend = "uv_build"