Skip to content

Commit

Permalink
Merge pull request #66 from scrapy/update-tools
Browse files Browse the repository at this point in the history
Update tool versions.
  • Loading branch information
wRAR authored May 3, 2024
2 parents b61206d + 974edcd commit 1189ca8
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -36,4 +36,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pre-commit/[email protected].0
- uses: pre-commit/[email protected].1
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python 3.12
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.12

Expand All @@ -21,6 +21,6 @@ jobs:
python -m build
- name: Publish to PyPI
uses: pypa/[email protected].10
uses: pypa/[email protected].14
with:
password: ${{ secrets.PYPI_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ repos:
hooks:
- id: flake8
- repo: https://github.com/psf/black.git
rev: 24.3.0
rev: 24.4.2
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: isort
- id: isort
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
license="BSD",
description="Collection of persistent (disk-based) and non-persistent (memory-based) queues",
long_description=open("README.rst").read(),
long_description_content_type="text/x-rst",
author="Scrapy project",
author_email="[email protected]",
url="https://github.com/scrapy/queuelib",
Expand Down
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,23 @@ commands =
basepython = python3
deps =
{[testenv]deps}
pylint==3.0.2
pylint==3.1.0
commands =
pylint {posargs:queuelib setup.py}

[testenv:typing]
basepython = python3
deps =
mypy==1.7.0
pytest==7.4.3
mypy==1.10.0
pytest==8.2.0
commands =
mypy --strict {posargs:queuelib}

[testenv:twinecheck]
basepython = python3
deps =
twine==4.0.2
build==1.0.3
twine==5.0.0
build==1.2.1
commands =
python -m build --sdist
twine check dist/*
Expand Down

0 comments on commit 1189ca8

Please sign in to comment.