Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,31 @@ integrationtest = ["*"]

[project.entry-points."pytest11"]
name_of_plugin = "integrationtest.integrationtest_commandline"

[project.optional-dependencies]
dev = [
"ruff",
"pytest",
"pytest-cov",
]

[tool.pytest.ini_options]
addopts = "-v --tb=short --cov=integrationtest --cov=src/integrationtest tests/" # omitted --cov-report=html to avoid suppressing table to stdout

[tool.coverage.run]
source = ["integrationtest"]
omit = ["tests/*", "scripts/*"]

# * See https://docs.astral.sh/ruff/rules/ for details on Ruff's linting options
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # check for errors using PyFlakes
"I", # best practices for import calls
"UP", # suggestions for code modernization
"RUF", # build in Ruff warnings
"R", # refactoring suggestions
]
ignore = [
"E501", # Don't enforce line lengths within a linting context
]