Skip to content
This repository was archived by the owner on Nov 14, 2024. It is now read-only.

Commit c211cef

Browse files
authored
feat: Added support for django3.2 (#75)
1 parent fd23c0e commit c211cef

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Python CI
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [master]
66
pull_request:
77
branches:
88
- '**'
@@ -16,7 +16,7 @@ jobs:
1616
matrix:
1717
os: [ubuntu-20.04]
1818
python-version: ['3.8']
19-
toxenv: ['django22','django30','django31','quality']
19+
toxenv: [django22, django30, django31, django32, quality]
2020

2121
steps:
2222
- uses: actions/checkout@v1

lang_pref_middleware/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Init module for lang_pref_middleware."""
22

3-
__version__ = '1.0.0'
3+
__version__ = '1.1.0'

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def get_version(*file_paths):
6464
"Framework :: Django :: 2.2",
6565
"Framework :: Django :: 3.0",
6666
"Framework :: Django :: 3.1",
67+
"Framework :: Django :: 3.2",
6768
"Programming Language :: Python :: 3",
6869
"Programming Language :: Python :: 3.8",
6970
]

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[tox]
2-
envlist = py38-django{22,30,31},quality
2+
envlist = py38-django{22,30,31,32},quality
33

44
[testenv]
55
deps =
66
django22: Django>=2.2,<2.3
77
django30: Django>=3.0,<3.1
88
django31: Django>=3.1,<3.2
9+
django32: Django>=3.2,<3.3
910
-r{toxinidir}/requirements/test.txt
1011
setenv =
1112
DJANGO_SETTINGS_MODULE=settings
@@ -15,6 +16,5 @@ commands = pytest --cov-branch --cov-report=html:build/coverage/html --cov-repo
1516
commands =
1617
pycodestyle --config=.pep8 lang_pref_middleware
1718
pylint --rcfile=.pylintrc lang_pref_middleware
18-
# Ignore module level docstrings and all test files
1919
pep257 --ignore=D100,D203 --match='(?!test).*py' lang_pref_middleware
2020

0 commit comments

Comments
 (0)