-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
138 lines (120 loc) · 3.41 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
138
[tool.poetry]
name = "eeg-thought-decoder"
version = "0.1.1"
description = "Decoding Human Thought from EEG Signals"
license = "MIT"
authors = ["Victor I. Afolabi <javafolabi@gmail.com>"]
maintainers = ["Victor I. Afolabi <javafolabi@gmail.com>"]
readme = "README.md"
repository = "https://github.com/victor-iyi/eeg-thought-decoder"
keywords = ["eeg", "brain-computer-interface", "bci", "machine-learning", "deep-learning"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development :: Libraries :: Python Modules",
]
packages = [{include = "thought_decoder", from = "src"}]
[tool.poetry.dependencies]
python = "^3.11"
# Render rich text, progress bars, syntax highlighting and more to the terminal
rich = "^13.8.1"
# Differentiate, compile, and transform NumPy code.
jax = "^0.4.33"
# A neural network library for JAX designed for flexibility.
flax = "^0.9.0"
# A gradient processing and optimization library in JAX.
optax = "^0.2.3"
[tool.poetry.group.dev.dependencies]
# Optional static typing for Python.
mypy = "^1.11.2"
# Managing and maintaining pre-commit hooks.
pre-commit = "^3.8.0"
# Fast Python linter and code formatter.
ruff = "^0.6.5"
# Formats docstring to follow PEP 257.
docformatter = {version = "^1.7.5", extras = ["tomli"]}
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# Docformatter.
[tool.docformatter]
in-place = true
recursive = true
blank = true
close-quotes-on-newline = true
wrap-summaries = 120
wrap-descriptions = 120
# Style hinting.
[tool.mypy]
files = ["src/", "examples/"]
exclude = ["tests/", "venv/", ".venv/"]
namespace_packages = true
explicit_package_bases = true
strict = true
check_untyped_defs = true
ignore_missing_imports = true
disallow_any_generics = true
disallow_incomplete_defs = true
implicit_reexport = false
no_implicit_optional = true
show_error_codes = true
show_column_numbers = true
warn_unused_configs = true
warn_unused_ignores = true
warn_return_any = true
warn_unreachable = true
disallow_subclassing_any = false
disallow_untyped_decorators = false
[tool.pyright]
reportArgumentType = "none"
reportGeneralTypeIssues = "none"
reportOptionalCall = "none"
reportOptionalMemberAccess = "none"
reportUnboundVariable = "none"
[tool.ruff]
fix = true
line-length = 120
show-fixes = true
[tool.ruff.format]
quote-style = "single"
skip-magic-trailing-comma = true
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# pydocstyle
"D",
# pyupgrade
"UP",
]
extend-select = [
# pydocstyle
# One-line docstring should fit on one line.
"D200",
# Multi-line docstring summary should start at the first line.
"D212",
# Use triple double quotes """.
"D300",
# First word of the first line should be capitalized: {} -> {}.
"D403",
# First line should end with a period, question mark, or exclamation point
"D415",
]
ignore = [
# pydocstyle
# Missing docstring in public package.
"D104",
]
[tool.ruff.lint.pydocstyle]
convention = "google"