Skip to content

Commit 3213a87

Browse files
committed
Update tools
1 parent 5682d57 commit 3213a87

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

scrapy_playwright/headers.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
This module includes functions to process request headers.
33
Refer to the PLAYWRIGHT_PROCESS_REQUEST_HEADERS setting for more information.
44
"""
5+
56
from urllib.parse import urlparse
67

78
from playwright.async_api import Request as PlaywrightRequest

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,27 +38,27 @@ commands =
3838

3939
[testenv:black]
4040
deps =
41-
black>=22.10.0
41+
black==24.4.2
4242
commands =
4343
black --check {posargs: scrapy_playwright setup.py tests examples}
4444

4545
[testenv:flake8]
4646
deps =
47-
flake8>=5.0
47+
flake8==7.0.0
4848
commands =
4949
flake8 --exclude=.git,.tox,venv* {posargs: scrapy_playwright setup.py tests examples}
5050

5151
[testenv:typing]
5252
deps =
53-
mypy>=0.980
53+
mypy==1.10.0
5454
commands =
5555
mypy --show-error-codes --ignore-missing-imports \
5656
--follow-imports=skip {posargs: scrapy_playwright setup.py tests examples}
5757

5858
[testenv:pylint]
5959
deps =
6060
pytest==7.4.0
61-
pylint==2.17.5
61+
pylint==3.2.2
6262
commands =
6363
pip install -e .
6464
pylint {posargs: scrapy_playwright setup.py tests}

0 commit comments

Comments
 (0)