-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
114 lines (98 loc) · 2.75 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
[tool.poetry]
name = "kepost"
version = "0.2.18"
description = "Post-processing for dMRI derivatives of the Strauss Neuroplasticity Brain Bank (SNBB)"
readme = "README.rst"
authors = ["Gal Kepler <[email protected]>"]
maintainers = ["Gal Kepler <[email protected]>"]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
license = "MIT"
homepage = "https://pypi.org/project/KePost"
repository = "https://github.com/GalKepler/kepost"
documentation = "https://KePost.readthedocs.io"
[build-system]
requires = ["poetry-core>=1.9.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.dependencies]
python = "^3.10"
# nipype = {git = "https://github.com/nipy/nipype.git"}
nipype = "^1.9.0"
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"
pytest-cov = "^5.0.0"
numpy = "^1.26.0"
neuromaps = "^0.0.5"
dipy = "^1.9.0"
cvxpy = "^1.5.2"
fury = "^0.10.0"
mne-connectivity = "^0.7.0"
acres = "^0.1.0"
nireports = "^23.2.1"
[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"
[project.urls]
bugs = "https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}/issues"
changelog = "https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}/blob/master/changelog.md"
homepage = "https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}"
[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
[[tool.mypy.overrides]]
# Don't require test functions to include types
module = "tests.*"
allow_untyped_defs = true
disable_error_code = "attr-defined"
# coverage configuration
[tool.coverage.run]
branch = true
source = [
"src/kepost"
]
[tool.coverage.report]
omit = [
"tests/*"
]