Skip to content

Commit

Permalink
Fix coverage-conditional-plugin syntax (#2004)
Browse files Browse the repository at this point in the history
  • Loading branch information
br3ndonland committed Jun 11, 2023
1 parent 3737d66 commit d62a537
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ omit = [

[tool.coverage.report]
precision = 2
fail_under = 98.10
fail_under = 98.28
show_missing = true
skip_covered = true
exclude_lines = [
Expand All @@ -112,7 +112,7 @@ exclude_lines = [
]

[tool.coverage.coverage_conditional_plugin.omit]
"uvicorn/loops/uvloop.py" = "sys_platform == 'win32'"
"sys_platform == 'win32'" = ["uvicorn/loops/uvloop.py"]

[tool.coverage.coverage_conditional_plugin.rules]
py-win32 = "sys_platform == 'win32'"
Expand All @@ -121,5 +121,5 @@ py-linux = "sys_platform == 'linux'"
py-darwin = "sys_platform == 'darwin'"
py-gte-38 = "sys_version_info >= (3, 8)"
py-lt-38 = "sys_version_info < (3, 8)"
py-gte-39 = "sys_version_info < (3, 9)"
py-gte-39 = "sys_version_info >= (3, 9)"
py-lt-39 = "sys_version_info < (3, 9)"
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ types-pyyaml==6.0.12.9
trustme==0.9.0
cryptography==41.0.0
coverage==7.2.7
coverage-conditional-plugin==0.8.0
coverage-conditional-plugin==0.9.0
httpx==0.23.0
watchgod==0.8.2

Expand Down

0 comments on commit d62a537

Please sign in to comment.