Skip to content

Commit

Permalink
Merge pull request #82 from snok/sondrelg/maintenance
Browse files Browse the repository at this point in the history
Update supported Python versions
  • Loading branch information
sondrelg authored Jan 5, 2024
2 parents fd2b29e + 7b6d6af commit 5b6b5b3
Show file tree
Hide file tree
Showing 6 changed files with 634 additions and 518 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ "3.7.14", "3.8.14", "3.9.15", "3.10.8", "3.11.0" ]
python-version: [ "3.8.18", "3.9.18", "3.10.13", "3.11.7", "3.12.1" ]
# Ideally we would test starlette versions, not FastAPI,
# but our test suite currently uses FastAPI comprehensively,
# so we would need to redo that first.
fastapi-version: [ "0.78", "0.79", "0.87"]
fastapi-version: [ "0.106", "0.107", "0.108"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
repos:
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.12.1
hooks:
- id: black

- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-ast
- id: check-merge-conflict
Expand All @@ -25,7 +25,7 @@ repos:
- id: double-quote-string-fixer

- repo: https://github.com/pycqa/flake8
rev: 6.0.0
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies: [
Expand All @@ -40,18 +40,18 @@ repos:
]

- repo: https://github.com/sirosen/check-jsonschema
rev: 0.22.0
rev: 0.27.3
hooks:
- id: check-github-actions
- id: check-github-workflows

- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.15.0
hooks:
- id: pyupgrade
args: [ "--py36-plus" ]
args: [ "--py36-plus", "--py37-plus" ]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.2.0
rev: v1.8.0
hooks:
- id: mypy
Loading

0 comments on commit 5b6b5b3

Please sign in to comment.