forked from KalicoCrew/kalico
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
61 lines (56 loc) · 1.92 KB
/
pyproject.toml
File metadata and controls
61 lines (56 loc) · 1.92 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
[project]
name = "Kalico"
version = "0.12.1"
requires-python = ">=3.9"
dependencies = [
"cffi==1.17.1 ; python_version >= '3.13'",
"cffi==1.15.1 ; python_version < '3.13'",
"greenlet==3.3 ; python_version >= '3.14'",
"greenlet==3.1 ; python_version == '3.13'",
"greenlet==3.0.3 ; python_version == '3.12'",
"greenlet==2.0.2 ; python_version < '3.12'",
"Jinja2>=3.1.6",
"markupsafe==2.1.5",
"numpy~=2.0 ; python_version=='3.9'",
"numpy~=2.2 ; python_version>='3.10'",
"pyserial==3.4",
"python-can~=4.5",
"setuptools==75.8.2 ; python_version >= '3.12'", # required by python-can < 4.3
]
[dependency-groups]
dev = [
"ruff>=0.9.3",
"pre-commit>=4.0.1",
"pytest-xdist>=3.6.1",
"pytest>=8.3.4",
]
[project.urls]
homepage = "https://kalico.gg/"
source = "https://github.com/KalicoCrew/kalico"
documentation = "https://docs.kalico.gg/"
issues = "https://github.com/KalicoCrew/kalico/issues"
funding = "https://docs.kalico.gg/Sponsors.html"
[tool.ruff]
line-length = 80
indent-width = 4
exclude = ["./.github", "./.history", "./config", "./docs", "./lib", "./src"]
[tool.ruff.lint]
extend-select = [
"B006", # Checks for uses of mutable objects as function argument defaults
"FA100", # Detect when type annotations could be made better with PEP563
"FA102", # Detect type annotations that would require `from __future__ import annotations`
"I001", # unsorted-imports: Import block is un-sorted or un-formatted
"I002", # missing-required-import: Missing required import: {name}"
]
ignore = [
"C901", # Function is too complex
"E501", # Line too long (82 > 79 characters)
"E302", # Expected 2 blank lines, found 0
"E722", # Do not use bare except, specify exception instead
"E741", # Do not use variables named 'I', 'O', or 'l'
"F841", # Local variable name is assigned to but never used
"E721", # Do not compare types, use 'isinstance()'
]
[tool.pytest.ini_options]
pythonpath = ["."]
testpaths = ["test"]