-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (66 loc) · 1.51 KB
/
Copy pathpyproject.toml
File metadata and controls
76 lines (66 loc) · 1.51 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
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "cfx1-contested-logistics-resource-node"
version = "0.1.0"
description = "Engineering software for the CF-X1 Contested Logistics Resource Node."
requires-python = ">=3.11,<3.14"
license = { file = "LICENSE" }
authors = [
{ name = "Bryce Lovell" },
]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research",
"License :: Other/Proprietary License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
]
dependencies = []
[project.optional-dependencies]
dev = [
"mypy>=1.17,<2",
"pytest>=8.4,<9",
"ruff>=0.12,<1",
]
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
cfx1 = ["py.typed"]
[tool.ruff]
target-version = "py311"
line-length = 100
src = ["src", "tests", "scripts"]
[tool.ruff.lint]
select = [
"ANN",
"B",
"E",
"F",
"I",
"N",
"PTH",
"RUF",
"SIM",
"UP",
"W",
]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["S101"]
"scripts/check_green.py" = ["T201"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_unreachable = true
show_error_codes = true
pretty = true
mypy_path = "src"
[tool.pytest.ini_options]
addopts = ["--strict-config", "--strict-markers", "-ra"]
testpaths = ["tests"]