File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 22This module includes functions to process request headers.
33Refer to the PLAYWRIGHT_PROCESS_REQUEST_HEADERS setting for more information.
44"""
5+
56from urllib .parse import urlparse
67
78from playwright .async_api import Request as PlaywrightRequest
Original file line number Diff line number Diff line change @@ -38,27 +38,27 @@ commands =
3838
3939[testenv:black]
4040deps =
41- black>=22.10.0
41+ black ==24.4.2
4242commands =
4343 black --check {posargs: scrapy_playwright setup.py tests examples}
4444
4545[testenv:flake8]
4646deps =
47- flake8>=5 .0
47+ flake8 ==7.0 .0
4848commands =
4949 flake8 --exclude =.git,.tox,venv* {posargs: scrapy_playwright setup.py tests examples}
5050
5151[testenv:typing]
5252deps =
53- mypy>=0.980
53+ mypy ==1.10.0
5454commands =
5555 mypy --show-error-codes --ignore-missing-imports \
5656 --follow-imports =skip {posargs: scrapy_playwright setup.py tests examples}
5757
5858[testenv:pylint]
5959deps =
6060 pytest ==7.4.0
61- pylint ==2.17.5
61+ pylint ==3.2.2
6262commands =
6363 pip install -e .
6464 pylint {posargs: scrapy_playwright setup.py tests}
You can’t perform that action at this time.
0 commit comments