mirror of https://github.com/scrapy/scrapy.git
Bump tool versions.
This commit is contained in:
parent
cc484efd43
commit
4a0c05749c
|
|
@ -21,7 +21,7 @@ jobs:
|
||||||
- python-version: "3.9"
|
- python-version: "3.9"
|
||||||
env:
|
env:
|
||||||
TOXENV: typing-tests
|
TOXENV: typing-tests
|
||||||
- python-version: "3.12" # Keep in sync with .readthedocs.yml
|
- python-version: "3.13" # Keep in sync with .readthedocs.yml
|
||||||
env:
|
env:
|
||||||
TOXENV: docs
|
TOXENV: docs
|
||||||
- python-version: "3.13"
|
- python-version: "3.13"
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,16 @@
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.8.1
|
rev: v0.8.4
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
args: [ --fix ]
|
args: [ --fix ]
|
||||||
- repo: https://github.com/psf/black.git
|
- repo: https://github.com/psf/black.git
|
||||||
rev: 24.4.2
|
rev: 24.10.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
- repo: https://github.com/adamchainz/blacken-docs
|
- repo: https://github.com/adamchainz/blacken-docs
|
||||||
rev: 1.18.0
|
rev: 1.19.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: blacken-docs
|
- id: blacken-docs
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- black==24.4.2
|
- black==24.10.0
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ build:
|
||||||
tools:
|
tools:
|
||||||
# For available versions, see:
|
# For available versions, see:
|
||||||
# https://docs.readthedocs.io/en/stable/config-file/v2.html#build-tools-python
|
# https://docs.readthedocs.io/en/stable/config-file/v2.html#build-tools-python
|
||||||
python: "3.12" # Keep in sync with .github/workflows/checks.yml
|
python: "3.13" # Keep in sync with .github/workflows/checks.yml
|
||||||
|
|
||||||
python:
|
python:
|
||||||
install:
|
install:
|
||||||
|
|
|
||||||
|
|
@ -170,6 +170,7 @@ disable = [
|
||||||
"too-many-instance-attributes",
|
"too-many-instance-attributes",
|
||||||
"too-many-lines",
|
"too-many-lines",
|
||||||
"too-many-locals",
|
"too-many-locals",
|
||||||
|
"too-many-positional-arguments",
|
||||||
"too-many-public-methods",
|
"too-many-public-methods",
|
||||||
"too-many-return-statements",
|
"too-many-return-statements",
|
||||||
"unbalanced-tuple-unpacking",
|
"unbalanced-tuple-unpacking",
|
||||||
|
|
|
||||||
6
tox.ini
6
tox.ini
|
|
@ -77,15 +77,15 @@ commands =
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps =
|
deps =
|
||||||
{[testenv:extra-deps]deps}
|
{[testenv:extra-deps]deps}
|
||||||
pylint==3.2.5
|
pylint==3.3.3
|
||||||
commands =
|
commands =
|
||||||
pylint conftest.py docs extras scrapy tests
|
pylint conftest.py docs extras scrapy tests
|
||||||
|
|
||||||
[testenv:twinecheck]
|
[testenv:twinecheck]
|
||||||
basepython = python3
|
basepython = python3
|
||||||
deps =
|
deps =
|
||||||
twine==5.1.1
|
twine==6.0.1
|
||||||
build==1.2.1
|
build==1.2.2.post1
|
||||||
commands =
|
commands =
|
||||||
python -m build --sdist
|
python -m build --sdist
|
||||||
twine check dist/*
|
twine check dist/*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue