-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
137 lines (127 loc) · 3.09 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
[build-system]
requires = ['setuptools >= 61.0.0']
build-backend = 'setuptools.build_meta'
[project]
name = 'pycartool'
version = '0.0.1-dev'
description = "A simple open source Python package for I/O between Cartool and MNE ( and more generally python)"
readme = 'README.md'
license = {file = 'LICENSE'}
requires-python = '>=3.7'
authors = [
{name = 'Victor Férat', email = '[email protected]'},
{name = 'Tanguy Vivier'}
]
maintainers = [
{name = 'Victor Férat', email = '[email protected]'},
]
keywords = [
'python',
'neuroscience',
'neuroimaging',
'eeg',
'brain',
]
classifiers = [
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
'Operating System :: MacOS',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Natural Language :: English',
'License :: OSI Approved :: BSD License',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
]
dependencies = [
'numpy>=1.21',
'scipy',
'mne>=1.0.0',
'decorator',
'jinja2',
'importlib-metadata; python_version < "3.8"',
'importlib-resources; python_version < "3.9"',
]
[project.optional-dependencies]
build = ['build', 'twine']
docs = [
'memory-profiler',
'numpydoc',
'pandas',
'pydata-sphinx-theme',
'sphinx',
'sphinxcontrib-bibtex',
'sphinx-copybutton',
'sphinx-design',
'sphinx_gallery',
'sphinx-issues',
]
style = [
'black',
'codespell',
'isort',
'flake8',
'pydocstyle[toml]',
]
test = [
'pymatreader',
'pytest==7.0.1',
'pytest-azurepipelines',
'pytest-cov',
]
all = [
'pycartool[build]',
'pycartool[docs]',
'pycartool[style]',
'pycartool[test]',
]
[project.urls]
homepage = 'https://pycartool.readthedocs.io/en/main/'
documentation = 'https://pycartool.readthedocs.io/en/main/'
source = 'https://github.com/Functional-Brain-Mapping-Laboratory/PyCartool'
tracker = 'https://github.com/Functional-Brain-Mapping-Laboratory/PyCartool/issues'
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages.find]
include = ['pycartool*']
exclude = ['pycartool*tests']
[tool.setuptools.package-data]
"pycartool.html_templates" = ["repr/*.jinja"]
[tool.black]
line-length = 79
target-version = ['py37']
include = '\.pyi?$'
extend-exclude = '''
(
__pycache__
| \.github
| setup.py
| docs/
| tutorials/
| pycrostates/html_templates/repr
)
'''
[tool.isort]
profile = 'black'
multi_line_output = 3
line_length = 79
py_version = 37
extend_skip_glob = [
'setup.py',
'docs/*',
'tutorials/*',
'pycartool/html_templates/repr/*'
]
[tool.pydocstyle]
convention = 'numpy'
ignore-decorators= '(copy_doc|property|.*setter|.*getter)'
match = '^(?!setup|__init__|test_).*\.py'
match-dir = '^(?!docs|tutorials|build|dist|\.).*'
add_ignore = 'D100,D104,D107'
[tool.pytest.ini_options]
filterwarnings = [
"ignore:Matplotlib is currently using agg:UserWarning",
]