Skip to content

Commit

Permalink
Python: Remove code coverage def in pyproject.toml which doesn't allo…
Browse files Browse the repository at this point in the history
…w one to debug unit tests (microsoft#4519)

### Motivation and Context

Fixes microsoft#4515.

After adding some test code coverage config to the pyproject.toml, one
isn't able to debug unit tests. Removing this config allows one to debug
the unit tests again.

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

The code coverage config is still working for other tasks, so this
doesn't remove it completely.

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [X] The code builds clean without any errors or warnings
- [X] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [X] All unit tests pass, and I have added new tests where possible
- [X] I didn't break anyone 😄

Co-authored-by: Evan Mattson <evan.mattson@microsoft.com>
  • Loading branch information
2 people authored and BR committed Oct 6, 2024
1 parent 848bf5c commit dac6f4a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,6 @@ azure-identity = "^1.13.0"
usearch = "1.1.1"
pyarrow = ">=12.0.1,<15.0.0"

[tool.pytest.ini_options]
addopts = "--cov=semantic_kernel --cov-report term-missing"
testpaths = [
"tests"
]

[tool.isort]
profile = "ruff"

Expand Down

0 comments on commit dac6f4a

Please sign in to comment.