-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
92 lines (79 loc) · 2.1 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "migas"
description = "A Python package to communicate with a migas server."
readme = "README.md"
authors = [{name = "The NiPreps Developers", email = "[email protected]"}]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Networking :: Monitoring",
"Topic :: Software Development :: Bug Tracking",
]
license = {file = "LICENSE"}
requires-python = ">=3.9"
dependencies = [
"ci-info",
]
dynamic = ["version"]
[project.urls]
"Bug Tracker" = "https://github.com/nipreps/migas-py/issues"
"Source Code" = "https://github.com/nipreps/migas-py"
[project.optional-dependencies]
dev = [
"black",
"isort",
"pre-commit",
]
test = [
"requests",
"pytest",
"looseversion",
]
#
# Hatch configurations
#
[tool.hatch.build.targets.sdist]
exclude = [".git_archival.txt"] # No longer needed in sdist
[tool.hatch.build.targets.wheel]
packages = ["migas"]
## The following two sections configure setuptools_scm in the hatch way
[tool.hatch.version]
source = "vcs"
raw-options = { version_scheme = "release-branch-semver" }
[tool.hatch.build.hooks.vcs]
version-file = "migas/_version.py"
template = '''
# file generated by setuptools_scm
# don't change, don't track in version control
__version__ = version = {version!r}
__version_tuple__ = version_tuple = {version_tuple!r}
'''
#
# Developer tool configurations
#
[tool.black]
line-length = 99
target-version = ["py311"]
skip-string-normalization = true
[tool.isort]
profile = "black"
line_length = 99
extend_skip = ["_version.py"]
[tool.flake8]
max-line-length = "99"
doctests = "False"
exclude = "*build/"
ignore = ["W503", "E203"]
per-file-ignores = [
"**/__init__.py : F401",
"docs/conf.py : E265",
]