Skip to content

Commit 4d6fc81

Browse files
authored
Merge pull request #87 from snok/versions
Add Python 3.11 and Django 4.1 to supported versions
2 parents 6b4f951 + a412ee5 commit 4d6fc81

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,14 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11.0-rc.1" ]
33-
django-version: [ "3.1.4", "3.2", "4.0" ]
32+
python-version: [ "3.7", "3.8", "3.9", "3.10", "3.11.0" ]
33+
django-version: [ "3.1", "3.2", "4.0", "4.1" ]
3434
exclude:
3535
# Django v4 drops Python 3.7 support
3636
- django-version: 4.0
3737
python-version: 3.7
38+
- django-version: 4.1
39+
python-version: 3.7
3840
steps:
3941
- uses: actions/checkout@v3
4042
- uses: actions/setup-python@v4

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
repos:
22
- repo: https://github.com/ambv/black
3-
rev: 22.6.0
3+
rev: 22.10.0
44
hooks:
55
- id: black
66
args: ['--quiet']
77
- repo: https://github.com/pre-commit/pre-commit-hooks
8-
rev: v4.3.0
8+
rev: v4.4.0
99
hooks:
1010
- id: check-case-conflict
1111
- id: end-of-file-fixer
@@ -15,8 +15,8 @@ repos:
1515
- id: check-merge-conflict
1616
- id: detect-private-key
1717
- id: double-quote-string-fixer
18-
- repo: https://gitlab.com/pycqa/flake8
19-
rev: 3.9.2
18+
- repo: https://github.com/pycqa/flake8
19+
rev: 6.0.0
2020
hooks:
2121
- id: flake8
2222
additional_dependencies: [
@@ -31,7 +31,7 @@ repos:
3131
]
3232
args: ['--enable-extensions=G']
3333
- repo: https://github.com/asottile/pyupgrade
34-
rev: v2.37.3
34+
rev: v3.2.2
3535
hooks:
3636
- id: pyupgrade
3737
args: ["--py36-plus"]
@@ -43,6 +43,6 @@ repos:
4343
- id: isort
4444
files: 'tests/.*'
4545
- repo: https://github.com/pre-commit/mirrors-mypy
46-
rev: v0.971
46+
rev: v0.991
4747
hooks:
4848
- id: mypy

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ classifiers = [
2121
'Framework :: Django :: 3.1',
2222
'Framework :: Django :: 3.2',
2323
'Framework :: Django :: 4.0',
24+
'Framework :: Django :: 4.1',
2425
'Intended Audience :: Developers',
2526
'License :: OSI Approved :: BSD License',
2627
'Operating System :: OS Independent',
@@ -29,6 +30,7 @@ classifiers = [
2930
'Programming Language :: Python :: 3.8',
3031
'Programming Language :: Python :: 3.9',
3132
'Programming Language :: Python :: 3.10',
33+
'Programming Language :: Python :: 3.11',
3234
'Topic :: Internet :: WWW/HTTP',
3335
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
3436
'Topic :: Internet :: WWW/HTTP :: WSGI',

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ignore =
1212
D401
1313
# Type annotation for `self`
1414
TYP101
15-
TYP102 # for cls
15+
TYP102
1616
# Missing docstring in __init__
1717
D107
1818
# Missing docstring in public package

0 commit comments

Comments
 (0)