-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
92 lines (77 loc) · 1.81 KB
/
pyproject.toml
File metadata and controls
92 lines (77 loc) · 1.81 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
[project]
name = "pergit"
description = "Git and Perforce synchronization utility"
requires-python = ">=3.11"
readme = "README.md"
license = "MIT"
authors = [
{name = "Dontnod Entertainment", email = "root@dont-nod.com"},
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Version Control :: Git",
]
keywords = ["perforce", "git", "p4", "synchronization"]
dynamic = ["version"]
dependencies = [
"p4python",
]
[project.optional-dependencies]
dev = [
"ruff==0.11.8",
"mypy==1.15.0",
]
[project.scripts]
pergit = "pergit.pergit_cli:main"
[project.urls]
Repository = "https://github.com/dontnod/pergit"
[build-system]
requires = ["setuptools>=43.0.0", "wheel", "setuptools-git-versioning>=2.0,<3"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = [
"pergit",
]
[tool.setuptools-git-versioning]
enabled = true
version_file = "VERSION"
count_commits_from_version_file = true
dev_template = "{tag}.post{ccount}"
[tool.ruff]
line-length = 120
[tool.ruff.lint]
extend-select = [
"UP",
"PTH",
"I",
"RUF",
"TC",
"LOG",
]
[tool.ruff.lint.isort]
force-single-line = true
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.mypy]
packages = [
"pergit",
]
pretty = true
namespace_packages = true
warn_unused_configs = true
follow_untyped_imports = true
strict = true
# Defined as:
# additional checks that are technically correct but may be impractical in real code.
#
# it seems indeed impractical...
extra_checks = false