File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 5353 uses : codecov/test-results-action@v1
5454 with :
5555 env_vars : PYTHON_VERSION,PYDANTIC_VERSION
56+ use_oidc : true
5657
5758 - name : Upload coverage to Codecov
5859 uses : codecov/codecov-action@v5
5960 with :
60- env_vars : PYTHON_VERSION,PYDANTIC_VERSION
61+ env_vars : PYTHON_VERSION,PYDANTIC_VERSION
62+ use_oidc : true
Original file line number Diff line number Diff line change @@ -64,6 +64,13 @@ test = "uv run pytest --cov=src --cov-report xml --junitxml=./junit.xml -n auto"
6464bump = " uv run bump-my-version bump"
6565show-bump = " uv run bump-my-version show-bump"
6666
67+ [tool .coverage .report ]
68+ exclude_lines = [
69+ " raise NotImplementedError" ,
70+ " if TYPE_CHECKING:" ,
71+ " @overload" ,
72+ " except ImportError:" ,
73+ ]
6774
6875[tool .ruff ]
6976line-length = 120
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ async def test_pip(app: App):
1111
1212 event = fake_group_message_event_v11 (message = "pip install nonebot2" )
1313 try :
14- from nonebot_plugin_template import pip
14+ from nonebot_plugin_template import pip # type:ignore
1515 except ImportError :
1616 pytest .skip ("nonebot_plugin_template.pip not found" )
1717
You can’t perform that action at this time.
0 commit comments