1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
[project]
name = "config_file"
version = "0.13.1"
description = "Modify configuration files of various formats with the same simple API."
authors = [{ name = "Eugene Triguba", email = "eugenetriguba@gmail.com" }]
requires-python = "~=3.6"
readme = "README.md"
keywords = [
"configuration",
"ini",
"json",
"toml",
"yaml",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"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://github.com/eugenetriguba/config_file"
Documentation = "https://config-file.readthedocs.io/"
[dependency-groups]
dev = [
"pre-commit~=2.1 ; python_version >= '3.6.1' and python_version < '4'",
"autoflake>=1.3.1,<2",
"isort>=5.6.4,<6",
"seed-isort-config>=2.1.1,<3 ; python_version >= '3.6.1' and python_version < '4'",
"pytest>=6.0.0,<7 ; python_version >= '3.6' and python_version < '3.7'",
"pytest>=7,<8 ; python_version >= '3.7' and python_version < '4.0'",
"pytest-cov>=2.8.1,<3 ; python_version >= '3.6' and python_version < '3.7'",
"pytest-cov>=4,<5 ; python_version >= '3.7' and python_version < '4.0'",
"pytest-sugar>=0.9.3,<0.10 ; python_version >= '3.6' and python_version < '3.7'",
"pytest-sugar>=0.9.7,<0.10 ; python_version >= '3.7' and python_version < '4.0'",
"taskipy>=1.2.1,<2",
"bump2version>=1.0.0,<2",
"flake8>=3.7.9,<4",
"black>=20,<21 ; python_version >= '3.6' and python_version < '3.13'",
"black>=23,<24 ; python_version >= '3.13'",
"mypy>=0.971,<0.972 ; python_version >= '3.6' and python_version < '3.8'",
"mypy~=1.6 ; python_version ~= '3.8'",
]
[tool.taskipy.tasks]
test = "task test_cov -- --cov-report term-missing"
test_cov = "task pytest -- --cov=config_file/"
lint = "task lint_types && task lint_precommit"
lint_types = "mypy config_file/ tests/"
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"
known_third_party = ["pytest"]
known_first_party = ["config_file"]
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"
|