-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
96 lines (83 loc) · 2.58 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
93
94
95
96
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "xnatutils"
description = "A collection of scripts for downloading/uploading and listing data from XNAT repositories."
readme = "README.rst"
requires-python = ">=3.8"
dependencies = ["xnat>=0.6", "progressbar2>=3.16.0", "future>=0.16"]
license = { file = "LICENSE" }
authors = [{ name = "Thomas G. Close", email = "[email protected]" }]
maintainers = [{ name = "Thomas G. Close", email = "[email protected]" }]
keywords = ["XNAT", "REST API", "DICOM", "uploader"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Healthcare Industry",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
]
dynamic = ["version"]
# [project.optional-dependencies]
# dev = [
# "black",
# "pre-commit",
# "codespell",
# "flake8",
# "flake8-pyproject",
# "xnatutils[test]",
# "pydata-sphinx-theme >=0.13",
# ]
# test = [
# "pytest >=6.2.5",
# "pytest-env>=0.6.2",
# "pytest-cov>=2.12.1",
# "pydra >=0.23.0a0",
# ]
# docs = [
# ]
[project.urls]
repository = "https://github.com/Australian-Imaging-Service/xnatutils"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "xnatutils/_version.py"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build]
packages = ["xnatutils"]
exclude = ["tests"]
include = ["./xnatutils"]
[project.scripts]
xnat-get = "xnatutils.get_:cmd"
xnat-put = "xnatutils.put_:cmd"
xnat-ls = "xnatutils.ls_:cmd"
xnat-varget = "xnatutils.varget_:cmd"
xnat-varput = "xnatutils.varput_:cmd"
xnat-rename = "xnatutils.rename_:cmd"
[tool.black]
target-version = ['py38']
exclude = "xnatutils/core/_version.py"
# [tool.mypy]
# python_version = "3.8"
# ignore_missing_imports = true
# strict = true
# namespace_packages = true
# explicit_package_bases = true
# exclude = ["tests", "scripts", "docs", "build", "dist", "xnatutils/_version.py"]
[tool.codespell]
ignore-words = ".codespell-ignorewords"
[tool.flake8]
doctests = true
per-file-ignores = ["__init__.py:F401"]
max-line-length = 88
select = "C,E,F,W,B,B950"
extend-ignore = ['E203', 'E501', 'E129', 'W503', 'E704']