Skip to content

Commit f6586c0

Browse files
committed
Upgrade to Mypy 0.900
1 parent 3612ec4 commit f6586c0

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ repos:
4848
- flake8-tidy-imports
4949
- flake8-typing-imports
5050
- repo: https://github.com/pre-commit/mirrors-mypy
51-
rev: v0.982
51+
rev: v0.990
5252
hooks:
5353
- id: mypy
5454
additional_dependencies:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ target-version = ['py37']
77

88
[tool.mypy]
99
mypy_path = "src/"
10+
namespace_packages = false
1011
show_error_codes = true
1112
strict = true
1213
warn_unreachable = true

src/pytest_randomly/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def pytest_configure(config: Config) -> None:
119119
elif seed_value == "default":
120120
if hasattr(config, "workerinput"): # pragma: no cover
121121
# pytest-xdist: use seed generated on main.
122-
seed = config.workerinput["randomly_seed"] # type: ignore [attr-defined]
122+
seed = config.workerinput["randomly_seed"]
123123
else:
124124
seed = default_seed
125125
else:

0 commit comments

Comments
 (0)