-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
176 lines (157 loc) · 3.94 KB
/
pyproject.toml
File metadata and controls
176 lines (157 loc) · 3.94 KB
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
[build-system]
requires = ["uv_build>=0.8.9,<0.9.0"]
build-backend = "uv_build"
[project]
name = "scim2-cli"
version = "0.2.4"
description = "SCIM application development CLI"
authors = [{name="Yaal Coop", email="contact@yaal.coop"}]
license = {file = "LICENSE.md"}
readme = "README.md"
keywords = ["scim", "scim2", "provisioning", "rfc7643", "rfc7644"]
classifiers = [
"Intended Audience :: Developers",
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: Implementation :: CPython",
"License :: OSI Approved :: Apache Software License",
"Environment :: Web Environment",
"Programming Language :: Python",
"Operating System :: OS Independent",
]
requires-python = ">= 3.10"
dependencies = [
"click>=8.1.7",
"scim2-client>=0.7.1",
"scim2-tester[httpx]>=0.2.5",
"sphinx-click-rst-to-ansi-formatter>=0.1.0",
"pydanclick>=0.4.0",
"pygments>=2.18.0",
]
[project.urls]
documentation = "https://scim2-cli.readthedocs.io"
repository = "https://github.com/python-scim/scim2-cli"
changelog = "https://scim2-cli.readthedocs.io/en/latest/changelog.html"
funding = "https://github.com/sponsors/python-scim"
[dependency-groups]
dev = [
"mypy>=1.13.0",
"prek>=0.1.0",
"pytest>=8.2.1",
"pytest-coverage>=0.0",
"pytest-httpserver>=1.0.10",
"tox-uv>=1.16.0",
]
doc = [
"myst-parser>=3.0.1",
"shibuya>=2024.5.15",
"sphinx>=7.3.7",
"sphinx-click>=6.0.0",
"sphinx-design>=0.6.0",
"sphinx-iconify>=0.0.6",
"sphinx-issues>=5.0.0",
"sphinx-substitution-extensions>=2024.8.6",
]
bundle = [
"pyinstaller>=6.10.0",
]
[project.scripts]
scim = "scim2_cli:cli"
scim2 = "scim2_cli:cli"
[tool.uv.build-backend]
module-root = ""
[tool.coverage.run]
source = [
"scim2_cli",
"tests",
]
omit = [".tox/*"]
branch = true
[tool.coverage.report]
exclude_lines = [
"@pytest.mark.skip",
"pragma: no cover",
"raise NotImplementedError",
"except ImportError",
"if app.debug",
]
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"D", # pydocstyle
"E", # pycodestyle
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
]
ignore = [
"E501", # line-too-long
"E722", # bare-except
"D100", # public module
"D101", # public class
"D102", # public method
"D103", # public function
"D104", # public package
"D105", # magic method
"D106", # nested class
"D107", # public init
"D203", # no-blank-line-before-class
"D213", # multi-line-summary-second-line
]
[tool.ruff.lint.isort]
force-single-line = true
[tool.ruff.format]
docstring-code-format = true
[tool.mypy]
plugins = [
"pydantic.mypy"
]
[tool.tox]
requires = ["tox>=4.19"]
env_list = [
"style",
"py310",
"py311",
"py312",
"py313",
"py314",
"minversions",
"doc",
"coverage",
]
[tool.tox.env_run_base]
runner = "uv-venv-lock-runner"
dependency_groups = ["dev"]
commands = [
["pytest", "--showlocals", "--full-trace", "{posargs}"],
]
[tool.tox.env.style]
runner = "uv-venv-runner"
commands = [
["prek", "run", "--all-files", "--show-diff-on-failure"],
]
[tool.tox.env.minversions]
runner = "uv-venv-runner"
uv_resolution = "lowest-direct"
[tool.tox.env.doc]
dependency_groups = ["doc"]
commands = [
["sphinx-build", "--builder", "html", "doc", "build/sphinx/html"],
["sphinx-build", "--builder", "man", "doc", "build/sphinx/html"],
]
[tool.tox.env.coverage]
commands = [
["pytest", "--cov", "--cov-fail-under=100", "--cov-report", "term:skip-covered", "{posargs}"],
["coverage", "html"],
]
[tool.tox.env.bundle]
dependency_groups = ["bundle"]
allowlist_externals = ["./dist/scim2"]
commands = [
["pyinstaller", "--clean", "--log-level", "WARN", "scim2.spec"],
["./dist/scim2", "--help"],
]