Skip to content

Commit 360358a

Browse files
committed
Fix CI
1 parent 549b7a9 commit 360358a

File tree

4 files changed

+21
-9
lines changed

4 files changed

+21
-9
lines changed

poetry.lock

Lines changed: 15 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,14 @@ httpx = "^0.28"
6262
wemake-python-styleguide = "^1.0"
6363
codespell = "^2.2"
6464
slotscheck = "^0.19"
65+
ruff = "^0.8"
6566

6667
pytest-cov = "^6.0"
6768
pytest-randomly = "^3.12"
6869
pytest-mypy-plugins = "^3.1"
6970
pytest-subtests = "^0.14"
7071
pytest-shard = "^0.1"
71-
ruff = "^0.8"
72+
covdefaults = "^2.3"
7273

7374

7475
[tool.poetry.group.docs]

setup.cfg

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,8 @@ omit =
121121
# Hypothesis is also excluded:
122122
returns/contrib/hypothesis/*
123123

124-
[coverage:report]
125-
exclude_lines =
126-
# a more strict default pragma
127-
\# pragma: no cover\b
128-
129-
^if TYPE_CHECKING:
124+
plugins =
125+
covdefaults
130126

131127

132128
[mypy]

typesafety/test_interfaces/test_specific/test_io/test_io_like.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
5353
5454
- case: io_inheritance_wrong
55-
disable_cache: false
55+
disable_cache: true
5656
main: |
5757
from typing import Callable, TypeVar
5858
from returns.interfaces.specific.io import IOLike1
@@ -83,6 +83,7 @@
8383
main:15: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides
8484
main:19: error: Signature of "from_io" incompatible with supertype "IOLikeN" [override]
8585
main:19: note: Superclass:
86+
main:19: note: @classmethod
8687
main:19: note: def [_UpdatedType] from_io(cls, inner_value: IO[_UpdatedType]) -> KindN[MyClass[_ValueType], _UpdatedType, Never, Never]
8788
main:19: note: Subclass:
8889
main:19: note: def [_NewValueType] from_io(self, inner_value: IO[_NewValueType]) -> MyClass[_NewValueType]

0 commit comments

Comments
 (0)