Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,16 +131,12 @@ repos:
# TODO remove pydantic once 2.12.0 is released
additional_dependencies:
["Sphinx==7.4.3", "pydantic>=2.12.0a1;python_version>='3.14'"]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.17.1
- repo: https://github.com/cdce8p/mypy-dev-pre-commit
rev: v1.18.0a6
hooks:
- id: mypy
name: mypy
entry: mypy
language: python
types: [python]
args: []
require_serial: true
additional_dependencies:
["isort>=5", "platformdirs==2.2.0", "py==1.11", "tomlkit>=0.10.1"]
exclude: tests(/\w*)*/functional/|tests/input|tests(/.*)+/conftest.py|doc/data/messages|tests(/\w*)*data/
Expand Down
4 changes: 2 additions & 2 deletions tests/test_self.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ def __init__(self, reporters: list[BaseReporter]) -> None:
self._reporters = reporters
self.path_strip_prefix = os.getcwd() + os.sep

def on_set_current_module(self, *args: str, **kwargs: Any) -> None:
def on_set_current_module(self, module: str, filepath: str | None) -> None:
for rep in self._reporters:
rep.on_set_current_module(*args, **kwargs)
rep.on_set_current_module(module, filepath)

def handle_message(self, msg: Message) -> None:
for rep in self._reporters:
Expand Down
Loading