-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
116 lines (95 loc) · 2.36 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[build-system]
requires = ["setuptools>=68.0"]
build-backend = "setuptools.build_meta"
[project]
name = "luxos"
version = "0.2.4"
description = "The all encompassing LuxOS python library."
readme = "README.md"
license = { text = "MIT" } # TODO I don't think this is a MIT??
requires-python = ">= 3.9"
authors = [
{ name = "Antonio Cavallo", email = "[email protected]" },
]
# TODO more classifiers
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"pyyaml",
]
[project.optional-dependencies]
extra = [
"asyncpg",
"httpx",
"pandas",
"tqdm",
]
[project.urls]
Source = "https://github.com/LuxorLabs/firmware-biz-tools"
Issues = "https://github.com/LuxorLabs/firmware-biz-tools/issues"
Documentation = "https://luxorlabs.github.io/luxos-tooling"
[project.scripts]
luxos = "luxos.scripts.luxos:run"
luxos-run = "luxos.scripts.luxos_run:run"
health-checker = "luxos.scripts.health_checker:main"
[tool.setuptools.packages.find]
where = ["src"]
namespaces = true
[tool.setuptools.package-data]
'luxos' = ['*.json', 'py.typed']
[tool.ruff]
target-version = "py39"
line-length = 88
src = ["src/luxos"]
exclude = [
"src/luxos/scripts/health_checker.py",
"src/luxos/scripts/luxos.py"
]
[tool.ruff.format]
quote-style = "double"
[tool.ruff.lint]
ignore = []
select = ["F", "E", "W", "Q", "I001"]
[tool.ruff.lint.isort]
known-first-party = ["luxos"]
[tool.mypy]
disallow_untyped_defs = false
follow_imports = "normal"
ignore_missing_imports = true
pretty = true
show_column_numbers = true
show_error_codes = true
warn_no_return = false
warn_unused_ignores = true
exclude = [
"^make\\.py",
"docs/conf\\.py",
"^docs/\\.*",
"^build/\\.*",
"^src/luxos/scripts/health_checker\\.py"
]
[tool.coverage.run]
branch = true
[tool.coverage.paths]
source = [
"src/",
]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.pytest.ini_options]
markers = [
"manual: marks tests unsafe for auto-run (eg. better run them manually)",
]
asyncio_default_fixture_loop_scope = "function"