-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
132 lines (119 loc) · 2.83 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
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling"]
[project]
authors = [{email = "[email protected]", name = "Thomas S. Binns"}]
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
]
dependencies = ["joblib", "matplotlib", "mne>1.6", "numba", "numpy", "scipy"]
description = "A Python signal processing package for computing spectral-domain and time-domain interactions using the bispectrum."
name = "pybispectra"
readme = "README.md"
requires-python = ">=3.10"
version = "1.2.1dev"
[project.optional-dependencies]
dev = ["pybispectra[doc]", "pybispectra[lint]", "pybispectra[test]"]
doc = [
"ipykernel",
"ipython",
"ipywidgets",
"notebook",
"numpydoc",
"pydata-sphinx-theme",
"sphinx",
"sphinx-copybutton",
"sphinx-gallery>=0.18",
"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/braindatalab/PyBispectra/issues"
"Homepage" = "https://github.com/braindatalab/PyBispectra"
[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/pybispectra/utils/_docs.py", "tests/*"]
source = ["pybispectra"]
[tool.isort]
profile = "black"
[tool.pydocstyle]
match-dir = "^(?!(examples|docs|tests)).*"
[tool.pytest.ini_options]
# use '', not "" for escaping characters in regex
filterwarnings = [
"ignore:The seed and target for at least one connection is the same channel:UserWarning",
'ignore:At least one value in \`f1s\` is \>\= a value in \`f2s\`:UserWarning',
'ignore:At least one value of \`f2s\` \+ \`f1s\` is not present in the frequencies: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", "examples/compute_*.py"]
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