Skip to content

Commit

Permalink
Add Python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed May 30, 2023
1 parent bf242dc commit 6928fe2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Expand Up @@ -17,6 +17,7 @@ jobs:
- "3.8"
- "3.9"
- "3.10"
- "3.11"

steps:
- uses: actions/checkout@v3
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Expand Up @@ -8,7 +8,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.4.0
hooks:
- id: pyupgrade
args: [--py38-plus]
Expand All @@ -23,7 +23,7 @@ repos:
- id: isort
args: [--profile=black, --lines-after-imports=2, --combine-as]
- repo: https://github.com/psf/black
rev: 23.1.0
rev: 23.3.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
Expand All @@ -34,13 +34,13 @@ repos:
additional_dependencies:
- flake8-bugbear
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.6
rev: v3.0.0-alpha.9-for-vscode
hooks:
- id: prettier
args: [--list-different, --no-semi, "--trailing-comma=es5"]
exclude: "^conf/|.*\\.html$"
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.36.0
rev: v8.41.0
hooks:
- id: eslint
additional_dependencies:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.rst
Expand Up @@ -7,6 +7,7 @@ Change log
.. _Next version: https://github.com/matthiask/django-translated-fields/compare/0.12...main

- Added Django 4.1 and 4.2 to the CI matrix.
- Added Python 3.11 to the CI matrix.
- Removed the never officially documented way to specify the
``formfield_callback`` for modelforms, see
https://code.djangoproject.com/ticket/26456.
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Expand Up @@ -23,6 +23,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 :: Dynamic Content
Topic :: Software Development
Topic :: Software Development :: Libraries :: Application Frameworks
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
@@ -1,7 +1,7 @@
[tox]
envlist =
py{38,39,310}-dj{32,41,42}
py{310}-dj{32,41,42,main}
py{310,311}-dj{32,41,42,main}
docs
style

Expand All @@ -17,7 +17,7 @@ deps =
dj32: Django>=3.2,<4.0
dj40: Django>=4.0,<4.1
dj41: Django>=4.1,<4.2
dj42: Django>=4.2rc1,<5.0
dj42: Django>=4.2,<5.0
djmain: https://github.com/django/django/archive/main.zip

[testenv:style]
Expand Down

0 comments on commit 6928fe2

Please sign in to comment.