-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (77 loc) · 1.75 KB
/
pyproject.toml
File metadata and controls
84 lines (77 loc) · 1.75 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
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "process-manager"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
license-files = ["LICENSE"]
requires-python = ">=3.12"
dependencies = [
"numpy>=2.4.2",
"numpydantic>=1.7.0",
"pydantic>=2.12.5",
"scipy>=1.17.0",
]
[tool.ruff]
exclude = ["typings", "scripts/templating/sensor_template.py"]
[tool.ruff.lint]
select = ["D", "RUF", "E", "F", "W", "UP"] # some suggest using "ALL"
ignore = [
# modules
"ANN", # flake8-annotations
"COM", # flake8-commas
"C90", # mccabe complexity
"DJ", # django
"EXE", # flake8-executable
"T10", # debugger
"TID", # flake8-tidy-imports
# specific rules
"D100", # ignore missing docs
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D107",
"D200",
"D203",
"D205",
"D212",
"D400",
"D401",
"D404",
"D415",
"E402", # false positives for local imports
"E501", # line too long
"TRY003", # external messages in exceptions are too verbose
"TD002",
"TD003",
"FIX002", # too verbose descriptions of todos
]
[tool.pyright]
stubPath = "typings"
venvPath = "."
venv = ".venv"
ignore = ["typings"]
[dependency-groups]
dev = [
"callouts>=0.1.1",
"matplotlib>=3.10.8",
"mkdocs>=1.6.1",
"mkdocs-gen-files>=0.6.0",
"mkdocs-glightbox>=0.5.2",
"mkdocs-literate-nav>=0.6.2",
"mkdocs-material>=9.7.1",
"mkdocs-open-in-new-tab>=1.0.8",
"mkdocs-section-index>=0.3.10",
"mkdocstrings[python]>=1.0.3",
"pyright[nodejs]>=1.1.408",
"pytest>=9.0.2",
"pytest-cov>=7.0.0",
"ruff>=0.15.0",
"scipy-stubs>=1.17.0.2",
"tabulate>=0.9.0",
]