File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -22,3 +22,31 @@ integrationtest = ["*"]
2222
2323[project .entry-points ."pytest11" ]
2424name_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+ ]
You can’t perform that action at this time.
0 commit comments