Skip to content

Commit b85327d

Browse files
authored
Update codebase for Django 3 and Python 3.8 (#259)
* Update codebase for Django 3 and Python 3.8 * Update codebase for Django 3 and Python 3.8 * Update codebase for Django 3 and Python 3.8 * Update codebase for Django 3 and Python 3.8 * Update Contributors.md Update to contributors following commits for updating to Django 3 and Python 3.8 * Remove date Remote date as per request from @atodorov to make it clear it is still unreleased. * Remove 3.7 Dev
1 parent e8759a7 commit b85327d

File tree

5 files changed

+17
-2
lines changed

5 files changed

+17
-2
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ python:
44
- 3.5
55
- 3.6
66
- 3.7
7-
- 3.7-dev
7+
- 3.8
88
env:
99
# note: latest versions first b/c the top-most is included in new
1010
# build stages if not specified
11+
- DJANGO=3.0
1112
- DJANGO=2.2
1213
stages:
1314
- django_not_installed
@@ -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.6, env: DJANGO=3.0 }
2123
- { stage: test, python: 3.6, env: DJANGO=2.0 }
2224
- { stage: test, python: 3.6, env: DJANGO=1.11 }
2325
- { stage: test, python: 3.6, env: DJANGO=master }

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+
Version 2.0.14
5+
--------------------------------------------------
6+
7+
- Add support for Django 3.0 and Python 3.8
8+
9+
410
Version 2.0.13 (23 Nov 2019), HackBulgaria edition
511
--------------------------------------------------
612

CONTRIBUTORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@
1313
* [fadedDexofan](https://github.com/fadeddexofan)
1414
* [imomaliev](https://github.com/imomaliev)
1515
* [psrb](https://github.com/psrb)
16+
* [WayneLambert](https://github.com/WayneLambert)

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
author_email='code@landscape.io',
1414
description='A Pylint plugin to help Pylint understand the Django web framework',
1515
long_description=LONG_DESCRIPTION,
16-
version='2.0.13',
16+
version='2.0.14',
1717
packages=find_packages(),
1818
include_package_data=True,
1919
install_requires=[
@@ -34,6 +34,7 @@
3434
'Programming Language :: Python :: 3.5',
3535
'Programming Language :: Python :: 3.6',
3636
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
3738
],
3839
keywords=['pylint', 'django', 'plugin'],
3940
zip_safe=False,

tox.ini

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ envlist =
1010
readme
1111
py{36}-django{111,20,-master}
1212
py{35,36,37}-django22
13+
py{36,37,38}-django30
1314

1415
[testenv]
1516
commands =
@@ -20,6 +21,7 @@ commands =
2021
readme: bash -c \'python setup.py -q sdist && twine check dist/*\'
2122
py{36}-django{111,20,-master}: coverage run pylint_django/tests/test_func.py -v
2223
py{35,36,37}-django22: coverage run pylint_django/tests/test_func.py -v
24+
py{36,37,38}-django30: coverage run pylint_django/tests/test_func.py -v
2325
clean: find . -type f -name '*.pyc' -delete
2426
clean: find . -type d -name __pycache__ -delete
2527
clean: rm -rf build/ .cache/ dist/ .eggs/ pylint_django.egg-info/ .tox/
@@ -33,6 +35,7 @@ deps =
3335
django20: Django>=2.0,<2.1
3436
django21: Django>=2.1,<2.2
3537
django22: Django>=2.2,<3.0
38+
django30: Django>=3.0,<3.1
3639
django-master: Django
3740
django-master: git+https://github.com/pycqa/astroid@master
3841
django-master: git+https://github.com/pycqa/pylint@master
@@ -44,6 +47,7 @@ whitelist_externals =
4447
readme: bash
4548
py{36}-django{111,20,-master}: coverage
4649
py{35,36,37}-django22: coverage
50+
py{36,37,38}-django30: coverage
4751
clean: find
4852
clean: rm
4953
@@ -53,6 +57,7 @@ DJANGO =
5357
2.0: django20
5458
2.1: django21
5559
2.2: django22
60+
3.0: django30
5661
master: django-master
5762
5863
[flake8]

0 commit comments

Comments
 (0)