Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite021b08

Browse files
committed
Bump mypy and pylint.
1 parent753ed74 commite021b08

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

‎tests/test_selector.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ class MySelectorList(SelectorList["MySelector"]):
974974
pass
975975

976976
classMySelector(Selector):
977-
selectorlist_cls=MySelectorList
977+
selectorlist_cls=MySelectorList# type: ignore[assignment]
978978

979979
defextra_method(self)->str:
980980
return"extra"+cast("str",self.get())
@@ -1386,7 +1386,7 @@ def __init__(
13861386

13871387

13881388
classSelectorTestCaseBytes(SelectorTestCase):
1389-
sscls=SelectorBytesInput
1389+
sscls=SelectorBytesInput# type: ignore[assignment]
13901390

13911391
deftest_representation_slice(self)->None:
13921392
pass
@@ -1407,4 +1407,4 @@ def test_check_text_argument_type(self) -> None:
14071407

14081408

14091409
classExsltTestCaseBytes(ExsltTestCase):
1410-
sscls=SelectorBytesInput
1410+
sscls=SelectorBytesInput# type: ignore[assignment]

‎tox.ini‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ commands = py.test --cov=parsel --cov-report=xml {posargs:docs parsel tests}
1010
[testenv:typing]
1111
deps =
1212
{[testenv]deps}
13-
types-jmespath==1.0.2.20240106
14-
types-lxml==2025.3.4
15-
types-psutil==7.0.0.20250218
13+
types-jmespath==1.0.2.20250711
14+
types-lxml==2025.3.30
15+
types-psutil==7.0.0.20250601
1616
py==1.11.0
17-
mypy==1.15.0
17+
mypy==1.17.0
1818
commands =
1919
mypy {posargs:parsel tests} --strict
2020

2121
[testenv:pylint]
2222
deps =
2323
{[testenv]deps}
24-
pylint==3.3.6
24+
pylint==3.3.7
2525
commands =
2626
pylint docs parsel tests
2727

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp