-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (102 loc) · 2.42 KB
/
pyproject.toml
File metadata and controls
118 lines (102 loc) · 2.42 KB
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
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "phasor"
version = "0.1.0"
authors =[{ name="Matthew Caudill", email="mscaudill@gmail.com" }]
description = "Cross-Frequency Coupling Algorithms in Python"
readme = "README.md"
requires-python = ">=3.10"
keywords = [
"EEG",
"Cross-frequency coupling",
"Phase-Amplitude coupling",
"Amplitude-Amplitude coupling",
"Comodulation",
"hilbert",
]
classifiers = [
"Development Status :: 1 - Planning",
"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 = [
"numpy",
"scipy",
"matplotlib",
"ipython",
"notebook",
"openseize",
"scikit-image",
"pillow",
"psutil",
]
[project.optional-dependencies]
dev = [
"isort",
"mypy",
"pylint",
"bumpver",
"mkdocs",
"mkdocs-material",
"mkdocstrings[python]",
"mkdocs-jupyter",
"pytest",
"pytest-cov",
"pytest-lazy-fixture",
"pip-tools",
"build",
"twine"
]
test = ["pytest", "pytest-cov"]
[project.urls]
Homepage = "https://github.com/mscaudill/phasor"
# bumpver configuration
[tool.bumpver]
current_version = "0.1.0"
version_pattern = "MAJOR.MINOR.PATCH[-TAG]"
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/phasor/__init__.py" = ['__version__ = "{version}"']
# 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.*", "openseize.*"]
ignore_missing_imports = true
[tool.setuptools.package-data]
phasor = ["py.typed"]
# pylint configuration
[tool.pylint]
good-names="ax,x,y,z,t,m,n,p"
[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.black]
line-length = 80
skip-string-normalization = 1