Skip to content

Commit d09c4cf

Browse files
authored
Merge pull request #126 from DUNE-DAQ/johnfreeman/daq-deliverables_issue196
Johnfreeman/daq deliverables issue196
2 parents 3045b28 + 32d45d8 commit d09c4cf

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

pyproject.toml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,31 @@ integrationtest = ["*"]
2222

2323
[project.entry-points."pytest11"]
2424
name_of_plugin = "integrationtest.integrationtest_commandline"
25+
26+
[project.optional-dependencies]
27+
dev = [
28+
"ruff",
29+
"pytest",
30+
"pytest-cov",
31+
]
32+
33+
[tool.pytest.ini_options]
34+
addopts = "-v --tb=short --cov=integrationtest --cov=src/integrationtest tests/" # omitted --cov-report=html to avoid suppressing table to stdout
35+
36+
[tool.coverage.run]
37+
source = ["integrationtest"]
38+
omit = ["tests/*", "scripts/*"]
39+
40+
# * See https://docs.astral.sh/ruff/rules/ for details on Ruff's linting options
41+
[tool.ruff.lint]
42+
select = [
43+
"E", # pycodestyle errors
44+
"F", # check for errors using PyFlakes
45+
"I", # best practices for import calls
46+
"UP", # suggestions for code modernization
47+
"RUF", # build in Ruff warnings
48+
"R", # refactoring suggestions
49+
]
50+
ignore = [
51+
"E501", # Don't enforce line lengths within a linting context
52+
]

0 commit comments

Comments
 (0)