-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
99 lines (87 loc) · 2.31 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
97
98
99
[tool.poetry]
name = "keprep"
version = "0.2.1"
description = "Minimally preprocessing TheBase dMRI data."
authors = ["Gal Kepler <[email protected]>"]
license = "MIT"
readme = "README.rst"
homepage = "https://pypi.org/project/KePrep"
repository = "https://github.com/GalKepler/keprep"
documentation = "https://KePrep.readthedocs.io"
keywords = ["neuroscience", "MRI", "data processing", "automation", "standardization"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Information Analysis",
]
[tool.poetry.dependencies]
python = "^3.10"
nipype = "^1.8.6"
templateflow = "^23.0.0"
psutil = "^5.9.5"
niworkflows = "^1.8.1"
pre-commit = "^3.3.3"
pyupgrade = "^3.9.0"
toml = "^0.10.2"
smriprep = "^0.12.1"
sdcflows = "^2.5.1"
tox = "^4.16.0"
doc8 = "^1.1.1"
flake8-pyproject = "^1.2.3"
pytest = "^8.3.2"
nireports = "^23.2.1"
setuptools = "^72.1.0"
dipy = "^1.9.0"
[tool.poetry.dev-dependencies]
coverage = "^7.5.4" # testing
mypy = "^1.10.0" # linting
pytest = "^8.2.2" # testing
ruff = "^0.4.4" # linting
black = "^24.4.2"
flake8 = "^7.0"
isort = "^5.13.2"
[tool.poetry.group.dev.dependencies]
ipykernel = "^6.29.5"
[build-system]
requires = ["poetry-core>=1.9.0"]
build-backend = "poetry.core.masonry.api"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.package-data]
"*" = ["*.*"]
# black configuration
[tool.black]
line-length = 88
target-version = ['py310']
# isort configuration
[tool.isort]
profile = "black"
line_length = 88
multi_line_output = 3 # This setting allows multi-line imports with parentheses
include_trailing_comma = true # Ensures trailing commas for better diff
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
# Mypy configuration
[tool.mypy]
files = "."
strict = false
warn_unreachable = true
warn_no_return = true
ignore_missing_imports = true
# coverage configuration
[tool.coverage.run]
branch = true
source = [
"src/keprep"
]
[tool.coverage.report]
omit = [
"tests/*"
]
[tool.flake8]
max-line-length = 88
per-file-ignores = ["src/keprep/config.py:E501", "src/keprep/workflows/dwi/descriptions/*.py:E501","src/keprep/interfaces/*.py:E501"]