-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (54 loc) · 1.45 KB
/
Copy pathpyproject.toml
File metadata and controls
59 lines (54 loc) · 1.45 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
[project]
name = "stskit"
version = "2.2.0"
description = "stskit - graphical timetables plugin for Stellwerksim"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"icecream>=2.1.4",
"jsonschema>=4.23.0",
"matplotlib>=3.10.1",
"mock>=5.2.0",
"netgraph>=4.13.2",
"networkx>=3.4.2",
"numpy>=2.2.5",
"pyside6>=6.9.1",
"trio>=0.30.0",
"untangle>=1.2.1",
]
[dependency-groups]
dev = [
"mkdocstrings[python]>=1.0.0",
"nuitka>=4.0",
"pynose>=1.5.5",
"ruff>=0.14.10",
"ty>=0.0.15",
"zensical>=0.0.51",
]
[tool.uv]
# python-preference = "only-managed"
[tool.ruff.lint]
select = ["A", "ASYNC", "B", "E", "F", "PLC", "PLE", "W", "YTT"]
# select = ["A", "ASYNC", "B", "COM", "E", "F", "PLC", "PLE", "RUF", "W", "YTT"]
ignore = ["A001", "A002", "B007", "B008", "B904", "B905", "F401", "F821", "F841", "E501", "E741", "PLC0206", "W291", "W293"]
[tool.ty.rules]
# todo: enable rules one by one and fix errors!
invalid-argument-type = "ignore"
invalid-assignment = "ignore"
#invalid-context-manager = "ignore"
invalid-method-override = "ignore"
invalid-parameter-default = "ignore"
invalid-return-type = "ignore"
#missing-argument = "ignore"
#no-matching-overload = "ignore"
#not-iterable = "ignore"
#not-subscriptable = "ignore"
possibly-missing-attribute = "ignore"
unresolved-attribute = "ignore"
unresolved-reference = "ignore"
#unsupported-operator = "ignore"
[tool.ty.src]
include = [
"stskit",
# "tests",
]