Skip to content

Commit

Permalink
Bump various dependencies (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
antonagestam authored Feb 7, 2023
1 parent ce916c0 commit eba59d8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ on:
jobs:
lint:
name: Static analysis
uses: less-action/reusables/.github/workflows/pre-commit.yaml@v6
uses: less-action/reusables/.github/workflows/pre-commit.yaml@v8
with:
python-version: "3.10"
python-version: "3.11"

check-build:
name: Check packaging metadata
uses: less-action/reusables/.github/workflows/python-test-build.yaml@v6
uses: less-action/reusables/.github/workflows/python-test-build.yaml@v8

test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11-dev"]
python-version: ["3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand All @@ -36,7 +36,7 @@ jobs:
- run: coverage run -m pytest
- run: coverage report -m && coverage xml
- name: Report coverage
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
file: coverage.xml
fail_ci_if_error: true
Expand Down
28 changes: 14 additions & 14 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
default_language_version:
python: python3.10
python: python3.11
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.3.0"
rev: "v4.4.0"
hooks:
- id: check-case-conflict
- id: check-merge-conflict
Expand All @@ -11,53 +11,53 @@ repos:
- id: debug-statements
- id: detect-private-key
- repo: https://github.com/asottile/pyupgrade
rev: "v2.38.0"
rev: "v3.3.1"
hooks:
- id: pyupgrade
args:
- --py310-plus
- repo: https://github.com/pycqa/autoflake
rev: "v1.5.3"
- repo: https://github.com/myint/autoflake
rev: "v2.0.1"
hooks:
- id: autoflake
args:
- --in-place
- --remove-all-unused-imports
- --ignore-init-module-imports
- repo: https://github.com/pycqa/isort
rev: "5.10.1"
rev: "5.12.0"
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: "22.8.0"
rev: "23.1.0"
hooks:
- id: black
- repo: https://github.com/asottile/blacken-docs
rev: "v1.12.1"
rev: "1.13.0"
hooks:
- id: blacken-docs
additional_dependencies: ["black==22.8.0"]
- repo: https://gitlab.com/pycqa/flake8
rev: "3.9.2"
additional_dependencies: ["black==23.1.0"]
- repo: https://github.com/pycqa/flake8
rev: "6.0.0"
hooks:
- id: flake8
additional_dependencies:
- flake8-bugbear==22.9.11
- flake8-comprehensions==3.10.0
- repo: https://github.com/sirosen/check-jsonschema
rev: "0.18.3"
rev: "0.21.0"
hooks:
- id: check-github-workflows
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v0.971"
rev: "v1.0.0"
hooks:
- id: mypy
args: ["--strict"]
additional_dependencies:
- pytest==7.1.3
- types-setuptools==65.3.0
- repo: https://github.com/mgedmin/check-manifest
rev: "0.48"
rev: "0.49"
hooks:
- id: check-manifest
args: ["--no-build-isolation"]
Expand Down

0 comments on commit eba59d8

Please sign in to comment.