-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
139 lines (127 loc) · 2.55 KB
/
pyproject.toml
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
[project]
name = "springs"
version = "1.13.0"
description = """\
A set of utilities to create and manage typed configuration files \
effectively, built on top of OmegaConf.\
"""
authors = [
{name = "Luca Soldaini", email = "[email protected]" }
]
license = {text = "Apache-2.0"}
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"omegaconf>=2.3.0",
"types-pyyaml>=6.0.0",
"typing_extensions>=4.2.0",
"get-annotations>=0.1.2",
"platformdirs>=2.5.0",
"rich>=11.0.0",
"pathvalidate>=2.5.0",
]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Typing :: Typed",
]
keywords = [
"configuration",
"yaml",
"json",
"command line",
"cli",
"omegaconf",
"structured",
"config"
]
[project.urls]
Homepage = "https://springs.soldaini.net"
Source = "https://github.com/soldni/Springs"
Tracker = "https://github.com/soldni/Springs/issues"
[project.optional-dependencies]
dev = [
"black>=22.6.0",
"isort>=5.10.1",
"mypy>=0.971",
"pytest>=5.2",
"ipython>=8.4.0",
"autopep8>=1.7.0",
"flake8>=5.0",
"ipdb>=0.13.0",
"flake8-pyi>=22.8.1",
"Flake8-pyproject>=1.1.0"
]
[build-system]
build-backend = "setuptools.build_meta"
requires = [
"setuptools >= 61.0.0",
"wheel"
]
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
springs = ["py.typed", "*.pyi"]
[tool.black]
line-length = 79
include = '\.pyi?$'
exclude = '''
(
__pycache__
| \.git
| \.mypy_cache
| \.pytest_cache
| \.vscode
| \.venv
| \bdist\b
| \bdoc\b
)
'''
[tool.isort]
profile = "black"
line_length = 79
multi_line_output = 3
[tool.autopep8]
max_line_length = 79
in-place = true
recursive = true
aggressive = 3
[tool.mypy]
python_version = 3.8
ignore_missing_imports = true
no_site_packages = true
allow_redefinition = false
exclude = [
'.git',
'__pycache__',
'.mypy_cache',
'.pytest_cache',
'.vscode',
'.venv',
'dist',
'doc',
'tmp',
]
[tool.mypy-tests]
strict_optional = false
[tool.flake8]
exclude = [
'.git',
'__pycache__',
'.mypy_cache',
'.pytest_cache',
'.vscode',
'.venv',
'dist',
'doc',
'tmp',
]
per-file-ignores = [
'__init__.py:F401',
'*.pyi:E302,E305',
]