Skip to content

Commit

Permalink
Merge pull request #87 from snok/versions
Browse files Browse the repository at this point in the history
Add Python 3.11 and Django 4.1 to supported versions
  • Loading branch information
sondrelg committed Nov 23, 2022
2 parents 6b4f951 + a412ee5 commit 4d6fc81
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11.0-rc.1" ]
django-version: [ "3.1.4", "3.2", "4.0" ]
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11.0" ]
django-version: [ "3.1", "3.2", "4.0", "4.1" ]
exclude:
# Django v4 drops Python 3.7 support
- django-version: 4.0
python-version: 3.7
- django-version: 4.1
python-version: 3.7
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
repos:
- repo: https://github.com/ambv/black
rev: 22.6.0
rev: 22.10.0
hooks:
- id: black
args: ['--quiet']
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.4.0
hooks:
- id: check-case-conflict
- id: end-of-file-fixer
Expand All @@ -15,8 +15,8 @@ repos:
- id: check-merge-conflict
- id: detect-private-key
- id: double-quote-string-fixer
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
- repo: https://github.com/pycqa/flake8
rev: 6.0.0
hooks:
- id: flake8
additional_dependencies: [
Expand All @@ -31,7 +31,7 @@ repos:
]
args: ['--enable-extensions=G']
- repo: https://github.com/asottile/pyupgrade
rev: v2.37.3
rev: v3.2.2
hooks:
- id: pyupgrade
args: ["--py36-plus"]
Expand All @@ -43,6 +43,6 @@ repos:
- id: isort
files: 'tests/.*'
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.971
rev: v0.991
hooks:
- id: mypy
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ classifiers = [
'Framework :: Django :: 3.1',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.1',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
Expand All @@ -29,6 +30,7 @@ classifiers = [
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: WSGI',
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ignore =
D401
# Type annotation for `self`
TYP101
TYP102 # for cls
TYP102
# Missing docstring in __init__
D107
# Missing docstring in public package
Expand Down

0 comments on commit 4d6fc81

Please sign in to comment.