Skip to content

Commit

Permalink
mypy updates
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz committed Sep 10, 2023
1 parent b120d18 commit f62682a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ repos:
hooks:
- id: mypy
additional_dependencies:
- pytest==7.1.2
- pytest==7.4.2
2 changes: 1 addition & 1 deletion src/pytest_randomly/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def pytest_runtest_teardown(item: Item) -> None:


# pytest missing type hints for @hookimpl
@hookimpl(tryfirst=True) # type: ignore [misc]
@hookimpl(tryfirst=True)
def pytest_collection_modifyitems(config: Config, items: list[Item]) -> None:
if not config.getoption("randomly_reorganize"):
return
Expand Down

0 comments on commit f62682a

Please sign in to comment.