-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
80 lines (70 loc) · 1.47 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
[tool.poetry]
name = "xnat-tools"
version = "1.7.1"
description = ""
authors = ["Isabel Restrepo <[email protected]>"]
[tool.poetry.dependencies]
coloredlogs = "^15.0.1"
heudiconv = "^0.13.1"
pydicom = "^2.3.0"
pytest-mock = "^3.8.2"
python = "^3.10"
six = "^1.16.0"
typer = "^0.6.1"
isort = "^5.12.0"
mne-bids = "0.15.0"
pandas = "^2.0.1"
[tool.poetry.dev-dependencies]
black = "^22.6.0"
commitizen = "^2.31.0"
flake8 = "^5.0.4"
mkdocs = "^1.1.2"
mkdocs-markdownextradata-plugin = "^0.2.5"
mkdocs-material = "^6.0.1"
mkdocs-versioning = "^0.4.0"
mkdocstrings = "^0.13.2"
mypy = "^1.5.1"
pre-commit = "^2.20.0"
pytest = "^7.1.2"
python-dotenv = "^0.20.0"
responses = "^0.21.0"
# See Issue: https://github.com/tiangolo/typer-cli/issues/50
# typer-cli = "^0.0.10"
[tool.poetry.scripts]
xnat2bids = "xnat_tools.xnat2bids:main"
[tool.poetry.group.dev.dependencies]
pandas-stubs = "^2.0.1.230501"
[tool.commitizen]
version = "1.7.1"
tag_format = "v$version"
version_files = [
"pyproject.toml:version",
"xnat_tools/__init__.py"
]
[tool.flake8]
max-line-length = 100
[tool.black]
line-length = 100
target-version = ['py37']
exclude = '''
/(
\.git
| \.vscode
| \.venv
| \.mypy_cache
| \.pytest_cache
| build
| dist
| site
)/
'''
[tool.isort]
line_length = 100
multi_line_output = 3
use_parentheses = true
include_trailing_comma = true
force_grid_wrap = 0
known_third_party = [ "pytest"]
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"