Skip to content

Commit 62e1dfc

Browse files
committed
chore: drop coverage omissions for files that no longer exist
1 parent 30c4619 commit 62e1dfc

1 file changed

Lines changed: 20 additions & 3 deletions

File tree

‎pyproject.toml‎

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ source_paths = ["assertpy2/"]
161161
# into the mutants tree, and the typing-claims guard scans the package's own `.py` files - which under
162162
# mutation are the trampoline's rewrite of them, not the source anybody ships.
163163
#
164-
# The three subprocess classes are excluded for a third: they run pytest as a child, which starts from
164+
# The subprocess classes are excluded for a third: they run pytest as a child, which starts from
165165
# the `mutants/` tree. It exits non-zero, the assertions read an empty stdout, and the baseline goes
166166
# red. A subprocess carries the unmutated package in any case, so nothing is lost by leaving them out.
167167
pytest_add_cli_args = [
@@ -170,6 +170,8 @@ pytest_add_cli_args = [
170170
not TestPytestPluginDiffRendering \
171171
and not TestSnapshotKeyReuseUnderXdist \
172172
and not TestAForgottenAwaitUnderErrorFilters \
173+
and not TestTheProfileFromAConfigFile \
174+
and not TestTheDiffTravelsWithTheFailure \
173175
and not test_the_warning_points_at_the_line_that_reused_the_key \
174176
and not test_no_vararg_assertion_passes_with_nothing_to_assert \
175177
and not snapshot_roundtrip_all_types \
@@ -226,6 +228,23 @@ pytest_add_cli_args = [
226228
"--deselect=tests/test_operation_contract.py::TestTheRegisterDescribesTheSurface::test_the_derivation_itself_ran",
227229
"--deselect=tests/test_operation_contract.py::TestTheRegisterDescribesTheSurface::test_every_operation_without_a_verdict_is_registered",
228230
"--deselect=tests/test_operation_contract.py::TestTheRegisterDescribesTheSurface::test_every_operation_that_pivots_has_been_decided_about",
231+
# the builder's public members, which the trampoline's renamed functions join
232+
"--deselect=tests/test_capable_protocol.py::TestNothingTheBuilderOffersIsMissing::test_every_public_member_of_the_builder_is_declared",
233+
# a failure's `requirement` is found on the stack by function name, which the trampoline renames
234+
"--deselect=tests/test_openapi_contract.py::TestTheRequirementNamesTheCallersSpec",
235+
"--deselect=tests/test_public_surface.py::TestWhatAFailureLetsYouRead::test_a_plain_failure_names_what_was_asked",
236+
"--deselect=tests/test_pytest_plugin.py::TestAllureFullMode::test_a_failure_that_names_no_value_still_attaches_what_was_asked",
237+
"--deselect=tests/test_pytest_plugin.py::TestAllureFullMode::test_a_failure_with_no_diff_at_all_still_attaches_its_expected",
238+
"--deselect=tests/test_pytest_plugin.py::TestAllureFullMode::test_a_failure_that_named_only_an_expected_still_attaches_it",
239+
"--deselect=tests/test_snapshots.py::TestSharedKeyHint::test_a_mismatch_still_says_what_was_asked",
240+
# a child pytest starts from the mutants tree
241+
"--deselect=tests/test_skip_guard.py::test_a_skip_that_says_why_is_left_alone",
242+
"--ignore=tests/test_requirement.py",
243+
# read what the mutants tree does not carry: ARCHITECTURE.md, the CI workflow, the unmutated source
244+
"--deselect=tests/test_public_surface.py::TestEveryExportHasAReferenceEntry",
245+
"--ignore=tests/test_architecture_doc.py",
246+
"--ignore=tests/test_complexity.py",
247+
"--ignore=tests/test_declared_floors.py",
229248
"--ignore=tests/test_docs_examples.py",
230249
# loads its generator from `scripts/` at import, so no test in it can be deselected alone
231250
"--ignore=tests/test_poll_parity.py",
@@ -262,8 +281,6 @@ source = ["assertpy2"]
262281
omit = [
263282
"tests/*",
264283
"assertpy2/__init__.py",
265-
"assertpy2/_typing.py",
266-
"assertpy2/_compat.py",
267284
"assertpy2/_engine/_negated_typing.py",
268285
]
269286

0 commit comments

Comments
 (0)