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 2
2
This module includes functions to process request headers.
3
3
Refer to the PLAYWRIGHT_PROCESS_REQUEST_HEADERS setting for more information.
4
4
"""
5
+
5
6
from urllib .parse import urlparse
6
7
7
8
from playwright .async_api import Request as PlaywrightRequest
Original file line number Diff line number Diff line change @@ -38,27 +38,27 @@ commands =
38
38
39
39
[testenv:black]
40
40
deps =
41
- black>=22.10.0
41
+ black ==24.4.2
42
42
commands =
43
43
black --check {posargs: scrapy_playwright setup.py tests examples}
44
44
45
45
[testenv:flake8]
46
46
deps =
47
- flake8>=5 .0
47
+ flake8 ==7.0 .0
48
48
commands =
49
49
flake8 --exclude =.git,.tox,venv* {posargs: scrapy_playwright setup.py tests examples}
50
50
51
51
[testenv:typing]
52
52
deps =
53
- mypy>=0.980
53
+ mypy ==1.10.0
54
54
commands =
55
55
mypy --show-error-codes --ignore-missing-imports \
56
56
--follow-imports =skip {posargs: scrapy_playwright setup.py tests examples}
57
57
58
58
[testenv:pylint]
59
59
deps =
60
60
pytest ==7.4.0
61
- pylint ==2.17.5
61
+ pylint ==3.2.2
62
62
commands =
63
63
pip install -e .
64
64
pylint {posargs: scrapy_playwright setup.py tests}
You can’t perform that action at this time.
0 commit comments