This repository has been archived by the owner on Nov 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: upgrade to Django 4.2 * fix: version bumped to 1.3.0
- Loading branch information
1 parent
e87bd43
commit 0f35ada
Showing
5 changed files
with
19 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
"""Init module for lang_pref_middleware.""" | ||
|
||
__version__ = '1.2.0' | ||
__version__ = '1.3.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,20 @@ | ||
[tox] | ||
envlist = py38-django{32,40},quality | ||
envlist = py38-django{32, 42},quality | ||
|
||
[testenv] | ||
deps = | ||
deps = | ||
django32: Django>=3.2,<4.0 | ||
django42: Django>=4.2,<4.3 | ||
-r{toxinidir}/requirements/test.txt | ||
setenv = | ||
setenv = | ||
DJANGO_SETTINGS_MODULE=settings | ||
commands = pytest --cov-branch --cov-report=html:build/coverage/html --cov-report=xml:build/coverage/coverage.xml --cov=lang_pref_middleware | ||
|
||
[testenv:quality] | ||
setenv = | ||
setenv = | ||
DJANGO_SETTINGS_MODULE=settings | ||
PYTHONPATH = . | ||
commands = | ||
commands = | ||
pycodestyle --config=.pep8 lang_pref_middleware | ||
pylint --rcfile=pylintrc lang_pref_middleware | ||
pep257 --ignore=D100,D203 --match='(?!test).*py' lang_pref_middleware |