-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
53 lines (43 loc) · 1.26 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
[build-system]
requires = [
"setuptools >= 65.6.3",
"setuptools_scm[toml] >= 6.2",
"wheel",
"setuptools-git-versioning",
]
build-backend = "setuptools.build_meta"
[project]
name = "omegaup_hook_tools"
authors = [
{ name="omegaUp", email="[email protected]" },
]
description = "Utilities for writing git hooks"
readme = "README.md"
requires-python = ">=3.6"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
]
dynamic = ["version", "dependencies", "optional-dependencies"]
[project.urls]
"Homepage" = "https://github.com/omegaup/libomegaup"
"Bug Tracker" = "https://github.com/omegaup/libomegaup/issues"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
omegaup = ["py.typed", "omegaup_hook_tools/data/*"]
[tool.setuptools.dynamic]
dependencies = {file = "requirements.txt"}
optional-dependencies.testing = {file = "requirements.test.txt"}
[tool.setuptools-git-versioning]
enabled = true
[tool.setuptools_scm]
write_to = "src/omegaup_hook_tools/_version.py"
# W503: YAPF and PEP8 prefer to break before binary operators.
[pycodestyle]
ignore = "E402,W503"
[flake8]
ignore = "E402,W503"