-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
64 lines (52 loc) · 1.54 KB
/
pyproject.toml
File metadata and controls
64 lines (52 loc) · 1.54 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
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "gitlab-users"
description = "Export GitLab users information and automate user accounts creation"
readme = "README.md"
authors = [
{ name = "Matthieu Boileau", email = "matthieu.boileau@math.unistra.fr" },
]
license = { text = "MIT" }
requires-python = ">=3.9"
dependencies = ["python-gitlab>=5.0.0"]
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dynamic = ["version"]
[project.optional-dependencies]
dev = [
"ruff",
"black",
"pytest",
"pytest-cov",
"build",
"pre-commit"
]
[project.urls]
Homepage = "https://github.com/boileaum/gitlab-users"
Repository = "https://github.com/boileaum/gitlab-users"
Documentation = "https://gitlab-users.readthedocs.io"
Changelog = "https://github.com/boileaum/gitlab-users/blob/main/CHANGELOG.md"
[tool.setuptools.dynamic]
version = { attr = "gitlab_users.__version__" }
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
# Pour inclure des fichiers supplémentaires dans sdist
# Malheureusement, setuptools moderne ne remplace pas complètement MANIFEST.in pour les sdist
[project.scripts]
gitlab-users = "gitlab_users.cli:main"
[tool.black]
line-length = 88
target-version = ['py37']
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q --cov=src/gitlab_users --cov-report=term-missing --cov-report=xml"