-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
117 lines (103 loc) · 2.51 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
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "openseize"
version = "1.2.0"
authors =[{ name="Matthew Caudill", email="mscaudill@gmail.com" }]
description = "Digital Signal Processing for Big EEG Datasets"
readme = "README.md"
requires-python = ">=3.8"
keywords = [
"EEG",
"signal analysis",
"digital signal processing",
"seizure",
"big data"
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: BSD License",
"Topic :: Education",
"Topic :: Software Development",
"Topic :: Scientific/Engineering"
]
dependencies = [
"requests",
"wget",
"numpy",
"scipy",
"matplotlib",
"ipython",
"notebook",
"psutil"
]
[project.optional-dependencies]
dev = ["isort",
"mypy",
"pylint",
"bumpver",
"codespell",
"mkdocs",
"mkdocs-material",
"mkdocstrings[python]",
"mkdocs-jupyter",
"pytest==7.1.2",
"pytest-cov",
"pytest-lazy-fixture",
"pip-tools",
"build",
"twine"
]
test = ["pytest==7.1.2", "pytest-cov", "pytest-lazy-fixture"]
[project.urls]
Homepage = "https://github.com/mscaudill/openseize"
# bumpver configuration
[tool.bumpver]
current_version = "1.2.0"
version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]"
commit_message = 'bump version {old_version} -> {new_version}'
commit = true
tag = true
push = true
[tool.bumpver.file_patterns]
"pyproject.toml" = [
'current_version = "{version}"',
'version = "{version}"'
]
"src/openseize/__init__.py" = ['__version__ = "{version}"']
# inform type checkers openseize supports annotations
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
openseize = ["py.typed"]
# mypy configuration
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
[[tool.mypy.overrides]]
# 3rd party's without annotations
module = ["scipy.*", "matplotlib.*"]
ignore_missing_imports = true
# pylint configuration
[tool.pylint.design]
max-attributes = 10
max-args = 10
[tool.pylint.basic]
argument-naming-style = "any"
variable-naming-style = "any"
attr-naming-style = "any"
[tool.isort]
profile = 'google'
line_length = 80
[tool.codespell]
skip = '*.edf,*.json,*.txt,*.npy,*.ipynb'
before-context = 3
after-context = 3
quiet-level = 3