-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (64 loc) · 1.41 KB
/
Copy pathpyproject.toml
File metadata and controls
74 lines (64 loc) · 1.41 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
[project]
name = "waveforms"
authors = [
{name = "Campbell McDiarmid", email = "campbell.mcdiarmid@icloud.com"}
]
description = "Simulation tools for modulating and demodulating data using various waveform definitions."
readme = "README.md"
requires-python = ">=3.8"
keywords = ["waveforms"]
license = {text = "MIT"}
classifiers = [
"Natural Language :: English",
"Programming Language :: Python :: 3",
]
version = "0.1.0"
dependencies = [
"numpy",
"scipy",
]
[dependency-groups]
dev = [
"ruff == 0.7",
"pytest == 8.3.3",
]
[project.optional-dependencies]
viz = [
"numpy",
"PySide6",
"matplotlib",
"pyqtgraph",
]
all = [
"waveforms[viz]"
]
[tool.setuptools.packages.find]
include = ["waveforms*"]
[tool.uv]
package = true
[tool.ruff]
line-length = 100
indent-width = 4
output-format = "concise"
show-fixes = true
[tool.ruff.lint]
select = [ # See https://docs.astral.sh/ruff/rules/
"ALL"
]
ignore = [
"D100", "D101", "D107", "ANN101",
"RUF200", # relative sub-project path not supported in any PEP
"ISC001", "COM812", # Conflicts with formatter
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
line-ending = "auto"
[tool.ruff.lint.isort]
lines-after-imports = 2
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F403", "F401", "D104"]
"tests/*.py" = ["S101"]
"examples/*.py" = ["ERA001"]
[tool.ruff.lint.pydocstyle]
convention = "google"