-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
81 lines (65 loc) · 2.19 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
69
70
71
72
73
74
75
76
77
78
79
80
81
[project]
name = "Telemetry Server"
description = "The CUInSpace ground station telemetry server for parsing and distributing rocket telemetry."
license = {text = "MIT"}
authors = [
{name = "Matteo Golin", email = "[email protected]"},
{name = "Thomas Selwyn"},
{name = "Samuel Dewan"},
{name = "Arsalan Syed"}
]
requires-python = ">=3.11"
dynamic = ["dependencies"]
[project.urls]
Homepage = "https://github.com/CarletonURocketry/ground-station"
[tool.setuptools.dynamic]
dependencies = {file = ["requirements.txt"]}
[tool.pyright]
ignore = ["./telem-parser/"]
exclude = ["./venv/"]
# Strict checking
strictListInference = true
strictDictionaryInference = true
strictSetInference = true
reportPropertyTypeMismatch = true # Setter types must match getter types
reportFunctionMemberAccess = true
# Reporting missing type annotations
reportMissingParameterType = "error" # All parameters must be typed
reportMissingTypeArgument = "error"
reportUntypedFunctionDecorator = "error"
reportUntypedClassDecorator = "error"
reportUntypedBaseClass = "error"
reportUntypedNamedTuple = "error"
reportUnknownMemberType = "error"
reportUnknownVariableType = "error"
reportUnknownArgumentType = "error"
reportUnknownParamaterType = "error"
# Report bad ignores
reportUnnecessaryTypeIgnoreComment = "error"
# Best practices
reportSelfClsParameterName = "error"
reportConstantRedefinition = "error"
reportUninitializedInstanceVariable = "error"
reportImportCycles = "warning"
reportDeprecated = "error"
reportInvalidTypeVarUse = "warning"
reportUnnecessaryIsInstance = "warning"
reportUnnecessaryCast = "warning"
reportUnnecessaryComparison = "warning"
reportUnnecessaryContains = "warning"
reportAssertAlwaysTrue = "warning"
reportImplicitStringConcatenation = "warning"
reportMatchNotExhaustive = "warning"
reportUnusedImport = "warning"
reportUnusedClass = "warning"
reportUnusedFunction = "warning"
reportUnusedVariable = "warning"
reportUnusedExpression = "warning"
reportDuplicateImport = "warning"
reportPrivateUsage = "warning"
reportPrivateImportUsage = "warning"
reportShadowedImports = "error"
reportIncompatibleVariableOverride = "warning"
reportOverlappingOverload = "warning"
[tool.black]
line-length = 120