Skip to content

Commit f8337f7

Browse files
michael-katodorov
authored andcommitted
Run tests against Python 3.9 and Django 3.2
1 parent f6295b6 commit f8337f7

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ python:
44
- 3.6
55
- 3.7
66
- 3.8
7+
- 3.9
78
env:
89
# note: latest versions first b/c the top-most is included in new
910
# build stages if not specified
@@ -18,6 +19,7 @@ matrix:
1819
include:
1920
- { stage: django_not_installed, python: 3.6, env: TOXENV=django_not_installed }
2021
- { stage: django_is_installed, python: 3.6, env: TOXENV=django_is_installed }
22+
- { stage: test, python: 3.9, env: DJANGO=3.2 }
2123
- { stage: test, python: 3.8, env: DJANGO=3.1 }
2224
- { stage: test, python: 3.6, env: DJANGO=3.0 }
2325
- { stage: test, python: 3.6, env: DJANGO=2.0 }

CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
=========
33

4+
Unreleased
5+
----------
6+
7+
- Start testing with Django 3.2 on Python 3.9
8+
9+
410
Version 2.4.2 (08 Jan 2021)
511
---------------------------
612

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
'Programming Language :: Python :: 3.6',
3535
'Programming Language :: Python :: 3.7',
3636
'Programming Language :: Python :: 3.8',
37+
'Programming Language :: Python :: 3.9',
3738
],
3839
keywords=['pylint', 'django', 'plugin'],
3940
zip_safe=False,

tox.ini

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ envlist =
99
pylint
1010
readme
1111
py{36}-django{111,20,-master}
12-
py{36,37}-django22
13-
py{36,37,38}-django{30,31}
12+
py{36,37,38,39}-django{22,30,31,32}
1413

1514
requires =
1615
pip >=21.0.1
@@ -24,8 +23,7 @@ commands =
2423
pylint: pylint --rcfile=tox.ini -d missing-docstring,too-many-branches,too-many-return-statements,too-many-ancestors,fixme --ignore=tests pylint_django setup
2524
readme: bash -c \'python setup.py -q sdist && twine check dist/*\'
2625
py{36}-django{111,20,-master}: coverage run pylint_django/tests/test_func.py -v
27-
py{36,37}-django22: coverage run pylint_django/tests/test_func.py -v
28-
py{36,37,38}-django{30,31}: coverage run pylint_django/tests/test_func.py -v
26+
py{36,37,38,39}-django{22,30,31,32}: coverage run pylint_django/tests/test_func.py -v
2927
clean: find . -type f -name '*.pyc' -delete
3028
clean: find . -type d -name __pycache__ -delete
3129
clean: rm -rf build/ .cache/ dist/ .eggs/ pylint_django.egg-info/ .tox/
@@ -41,18 +39,18 @@ deps =
4139
django22: Django>=2.2,<3.0
4240
django30: Django>=3.0,<3.1
4341
django31: Django>=3.1,<3.2
42+
django32: Django>=3.2,<4.0
4443
django-master: Django
4544
django-master: git+https://github.com/pycqa/astroid@master
4645
django-master: git+https://github.com/pycqa/pylint@master
4746
setenv =
4847
PIP_DISABLE_PIP_VERSION_CHECK = 1
4948
PYTHONPATH = .
50-
whitelist_externals =
49+
allowlist_externals =
5150
django_not_installed: bash
5251
readme: bash
5352
py{36}-django{111,20,-master}: coverage
54-
py{36,37}-django22: coverage
55-
py{36,37,38}-django{30,31}: coverage
53+
py{36,37,38,39}-django{22,30,31,32}: coverage
5654
clean: find
5755
clean: rm
5856
@@ -64,6 +62,7 @@ DJANGO =
6462
2.2: django22
6563
3.0: django30
6664
3.1: django31
65+
3.2: django32
6766
master: django-master
6867
6968
[flake8]

0 commit comments

Comments
 (0)