-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (50 loc) · 1.31 KB
/
Copy pathpyproject.toml
File metadata and controls
57 lines (50 loc) · 1.31 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
[project]
name = "cc-protocol-dev-tools"
version = "0.1.0"
description = "development support tools for value-types"
readme = "README.md"
requires-python = "~=3.12.0"
dependencies = [
"clang<19.0.0",
"clang-format>=22.1.4",
"cmake-format>=0.6.13",
"jinja2>=3.1.6",
"pre-commit>=4.2.0",
"pyrefly>=0.62.0",
"pytest>=9.0.2",
"pyyaml>=6.0.2",
"ruff>=0.15.7",
"xyz-cppmodel",
]
[tool.uv.sources]
xyz-cppmodel = { git = "https://github.com/jbcoe/py_cppmodel.git", rev = "eeb0921173dcde828eeb3940d1fdd4f64eaf7e6d" }
[tool.ruff]
# See https://docs.astral.sh/ruff/rules/.
[tool.ruff.lint]
# https://docs.astral.sh/ruff/rules/
select = [
"B", # Bugbear
"D", # Docstrings
"E", # Pycodestyle
"F", # Pyflakes
"I", # Isort
"W", # Pycodestyle
]
ignore = [
"D203", # one-blank-line-before-class (conflicts with D211)
"D212", # multi-line-summary-first-line (conflicts with D213)
]
fixable = ["ALL"]
unfixable = []
[tool.ruff.lint.isort]
force-single-line = true
[tool.pyrefly]
[tool.pyrefly.errors]
unannotated-parameter = "error"
unannotated-return = "error"
implicit-any = "error"
[tool.pytest.ini_options]
addopts = ["-p", "scripts.test_concept_errors"]
pythonpath = ["."]
testpaths = ["scripts"]
python_files = ["test_generate_protocol.py"]