Update frozen CI packages (#5574)

This commit is contained in:
Adrián Chaves 2022-07-25 17:25:10 +02:00 committed by GitHub
parent 737f39613c
commit 5862f6b8e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 10 deletions

View File

@ -9,11 +9,9 @@ disable=abstract-method,
arguments-renamed,
attribute-defined-outside-init,
bad-classmethod-argument,
bad-continuation,
bad-indentation,
bad-mcs-classmethod-argument,
bad-super-call,
bad-whitespace,
bare-except,
blacklisted-name,
broad-except,
@ -52,7 +50,6 @@ disable=abstract-method,
logging-not-lazy,
lost-exception,
method-hidden,
misplaced-comparison-constant,
missing-docstring,
missing-final-newline,
multiple-imports,
@ -60,12 +57,10 @@ disable=abstract-method,
no-else-continue,
no-else-raise,
no-else-return,
no-init,
no-member,
no-method-argument,
no-name-in-module,
no-self-argument,
no-self-use,
no-value-for-parameter,
not-an-iterable,
not-callable,
@ -102,6 +97,7 @@ disable=abstract-method,
ungrouped-imports,
unidiomatic-typecheck,
unnecessary-comprehension,
unnecessary-dunder-call,
unnecessary-lambda,
unnecessary-pass,
unreachable,

13
tox.ini
View File

@ -47,7 +47,7 @@ commands =
[testenv:security]
basepython = python3
deps =
bandit==1.7.3
bandit==1.7.4
commands =
bandit -r -c .bandit.yml {posargs:scrapy}
@ -57,16 +57,17 @@ deps =
{[testenv]deps}
# Twisted[http2] is required to import some files
Twisted[http2]>=17.9.0
pytest-flake8
flake8==3.9.2 # https://github.com/tholo/pytest-flake8/issues/81
pytest-flake8==1.1.1
flake8==4.0.1
commands =
pytest --flake8 {posargs:docs scrapy tests}
[testenv:pylint]
basepython = python3
# reppy does not support Python 3.9+
basepython = python3.8
deps =
{[testenv:extra-deps]deps}
pylint==2.12.2
pylint==2.14.5
commands =
pylint conftest.py docs extras scrapy setup.py tests
@ -117,6 +118,8 @@ setenv =
{[pinned]setenv}
[testenv:extra-deps]
# reppy does not support Python 3.9+
basepython = python3.8
deps =
{[testenv]deps}
boto