-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (51 loc) · 1.48 KB
/
pyproject.toml
File metadata and controls
60 lines (51 loc) · 1.48 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
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "druncschema"
description = "Schema definitions and compilation script for drunc"
version = "1.1.0"
readme = "docs/README.md"
requires-python = ">=3.10"
dependencies = [
"click",
"grpcio",
"grpcio-status",
"grpcio-tools",
"googleapis-common-protos",
"rich",
]
authors = [
{name = "Pierre Lasorak", email = "p.lasorak@imperial.ac.uk"},
{name = "Pawel Plesniak", email = "pawel.plesniak15@imperial.ac.uk"},
{name = "Claudia Su", email = "claudia.su@physics.ox.ac.uk"}
]
[project.optional-dependencies]
dev = ["ruff", "pre-commit", "pytest", "pytest-cov", "mypy-protobuf", "types-protobuf"]
[project.urls]
Documentation = "https://dune-daq-sw.readthedocs.io/en/latest/packages/daq-release/team_repos/?h=druncschema"
Repository = "https://github.com/DUNE-DAQ/druncschema"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
addopts = "-v --tb=short --cov=druncschema --cov=src/druncschema tests/"
[tool.coverage.run]
source = ["druncschema"]
omit = ["tests/*", "scripts/*"]
[tool.ruff]
exclude = [
"src/druncschema.egg-info",
"src/druncschema/*_pb2.py*",
"src/druncschema/*_pb2_grpc.py",
]
[tool.ruff.lint]
select = [
"D", # pydocstyle
"E", # pycodestyle
"F", # Pyflakes
"I", # isort
"UP", # pyupgrade
"RUF", # ruff-specific rules
"R", # refactoring suggestions
]
pydocstyle.convention = "google"