-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
130 lines (117 loc) · 2.52 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project]
authors = [{email = "t.s.binns@outlook.com", name = "Thomas S. Binns"}]
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
dependencies = ["matplotlib >= 3.7.1", "numpy", "pqdm >= 0.2.0", "scipy"]
description = "A Python port of the PARRM algorithm"
name = "pyparrm"
readme = "README.md"
requires-python = ">=3.10"
version = "1.2.0dev"
[project.optional-dependencies]
dev = ["pybispectra[doc]", "pybispectra[lint]", "pybispectra[test]"]
doc = [
"ipykernel",
"ipython",
"ipywidgets",
"notebook",
"numpydoc",
"pydata-sphinx-theme",
"sphinx",
"sphinx-copybutton",
"sphinx-gallery",
"sphinxcontrib-bibtex",
]
lint = [
"codespell",
"isort",
"pre-commit",
"pydocstyle",
"pydocstyle[toml]",
"rstcheck",
"ruff",
"toml-sort",
"yamllint",
]
test = ["coverage", "pytest"]
[project.urls]
"Bug Tracker" = "https://github.com/neuromodulation/PyPARRM/issues"
"Homepage" = "https://github.com/neuromodulation/PyPARRM"
[tool.codespell]
ignore-words-list = "trough"
skip = "./docs/build,./docs/source/auto_examples,./docs/source/refs.bib"
[tool.coverage.report]
show_missing = true
[tool.coverage.run]
command_line = "-m pytest -v tests"
omit = ["__init__.py", "src/pyparrm/utils/_docs.py", "tests/*"]
source = ["pyparrm"]
[tool.isort]
profile = "black"
[tool.pydocstyle]
match-dir = "^(?!(examples|docs|tests)).*"
[tool.pytest.ini_options]
# use '', not "" for escaping characters in regex
filterwarnings = [
"ignore:FigureCanvasAgg is non-interactive, and thus cannot be shown:UserWarning",
]
[tool.rstcheck]
ignore_directives = [
"autoclass",
"autofunction",
"automodule",
"autosummary",
"bibliography",
"cssclass",
"currentmodule",
"dropdown",
"footbibliography",
"glossary",
"graphviz",
"grid",
"highlight",
"minigallery",
"rst-class",
"tab-set",
"tabularcolumns",
"toctree",
]
ignore_messages = "^.*(Unknown target name|Undefined substitution referenced)[^`]*$"
ignore_roles = [
"attr",
"class",
"doc",
"eq",
"exc",
"file",
"footcite",
"footcite:t",
"func",
"gh",
"kbd",
"meth",
"mod",
"newcontrib",
"pr",
"py:mod",
"ref",
"samp",
"term",
]
report_level = "WARNING"
[tool.ruff]
extend-exclude = ["docs"]
line-length = 88
[tool.ruff.lint.per-file-ignores]
"*.py" = ["E203", "E741"]
"__init__.py" = ["F401"]
[tool.tomlsort]
all = true
ignore_case = true
trailing_comma_inline_array = true