File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[run]
22source =
3- coverage_threshold/
3+ src/ coverage_threshold/
44
55[report]
66exclude_lines =
Original file line number Diff line number Diff line change 11[mypy]
22strict = True
3+ mypy_path = $MYPY_CONFIG_FILE_DIR/src
Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ line_coverage_min = 0
3939file_line_coverage_min = 100
4040file_branch_coverage_min = 100
4141
42- [tool .coverage-threshold .modules ."coverage_threshold/cli/" ]
42+ [tool .coverage-threshold .modules ."src/ coverage_threshold/cli/" ]
4343file_line_coverage_min = 0
4444file_branch_coverage_min = 0
4545
46- [tool .coverage-threshold .modules ."coverage_threshold/__main__ .py" ]
46+ [tool .coverage-threshold .modules ."src/ coverage_threshold/__main__ .py" ]
4747file_line_coverage_min = 0
4848file_branch_coverage_min = 0
Original file line number Diff line number Diff line change 22cd " $( dirname " ${BASH_SOURCE[0]} " ) "
33cd ..
44
5- coverage run --branch -m pytest tests/ coverage_threshold/ --doctest-modules
5+ coverage run --branch -m pytest tests/ src/ coverage_threshold/ --doctest-modules
66coverage report -m
77coverage json
88coverage-threshold
Original file line number Diff line number Diff line change 22cd " $( dirname " ${BASH_SOURCE[0]} " ) "
33cd ..
44
5- pytest tests/ coverage_threshold / --doctest-modules
5+ pytest tests/ src/coverage-threshold / --doctest-modules
Original file line number Diff line number Diff line change @@ -3,6 +3,6 @@ cd "$( dirname "${BASH_SOURCE[0]}" )"
33cd ..
44
55echo " type checking source"
6- mypy coverage_threshold/
6+ mypy src/ coverage_threshold/
77echo " type checking tests"
88mypy tests/
You can’t perform that action at this time.
0 commit comments