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

Commit

Permalink
feat: Added support for django3.2 (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jawayria authored Jul 9, 2021
1 parent fd23c0e commit c211cef
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Python CI

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches:
- '**'
Expand All @@ -16,7 +16,7 @@ jobs:
matrix:
os: [ubuntu-20.04]
python-version: ['3.8']
toxenv: ['django22','django30','django31','quality']
toxenv: [django22, django30, django31, django32, quality]

steps:
- uses: actions/checkout@v1
Expand Down
2 changes: 1 addition & 1 deletion lang_pref_middleware/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Init module for lang_pref_middleware."""

__version__ = '1.0.0'
__version__ = '1.1.0'
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def get_version(*file_paths):
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
]
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
[tox]
envlist = py38-django{22,30,31},quality
envlist = py38-django{22,30,31,32},quality

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

0 comments on commit c211cef

Please sign in to comment.