-
Notifications
You must be signed in to change notification settings - Fork 14
/
pyproject.toml
68 lines (62 loc) · 1.58 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
[project]
name = "komm"
version = "0.14.0"
description = "An open-source library for Python 3 providing tools for analysis and simulation of analog and digital communication systems."
readme = "README.md"
authors = [{ name = "Roberto W. Nobrega", email = "rwnobrega@gmail.com" }]
license = { text = "GPL-3.0-only" }
dependencies = [
"attrs>=24.2.0",
"numpy>=2.1.1",
"tqdm>=4.67.0",
"typing-extensions>=4.12.0"
]
requires-python = ">=3.10"
urls = { home = "https://komm.dev/", repository = "https://github.com/rwnobrega/komm/" }
[build-system]
requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.black]
unstable = true
[tool.pyright]
include = ["src", "tests"]
typeCheckingMode = "basic"
reportUnnecessaryTypeIgnoreComment = "error"
deprecateTypingAliases = true
strict = ["src/**"]
[tool.pytest.ini_options]
addopts = "--doctest-modules"
python_files = ["test_*.py", "bench_*.py"]
python_functions = ["test_*", "bench_*"]
pythonpath = "."
testpaths = ["src/komm", "tests"]
[tool.pdm.dev-dependencies]
lint = [
"black>=24.10.0",
"isort>=5.13.2",
"pyright>=1.1.0",
]
test = [
"pytest==8.3.3",
"pytest-benchmark==5.1.0",
"pytest-cov==6.0.0",
]
doc = [
"griffe==1.5.1",
"mkdocs==1.6.1",
"mkdocs-material==9.5.43",
"mkdocstrings==0.26.2",
"mkdocstrings-python==1.12.2",
"mkdocs-gen-files==0.5.0",
"mkdocs-include-markdown-plugin==6.0.4",
"mkdocs-literate-nav==0.6.1",
]
debug = [
"ipykernel>=6.28.0",
"matplotlib>=3.8.2",
]
[dependency-groups]
demo = [
"streamlit==1.39.0",
"matplotlib==3.9.2"
]