Skip to content

Commit

Permalink
Update codebase for Django 3 and Python 3.8 (#259)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
WayneLambert authored Feb 11, 2020
1 parent e8759a7 commit b85327d
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ python:
- 3.5
- 3.6
- 3.7
- 3.7-dev
- 3.8
env:
# note: latest versions first b/c the top-most is included in new
# build stages if not specified
- DJANGO=3.0
- DJANGO=2.2
stages:
- django_not_installed
Expand All @@ -18,6 +19,7 @@ matrix:
include:
- { stage: django_not_installed, python: 3.6, env: TOXENV=django_not_installed }
- { stage: django_is_installed, python: 3.6, env: TOXENV=django_is_installed }
- { stage: test, python: 3.6, env: DJANGO=3.0 }
- { stage: test, python: 3.6, env: DJANGO=2.0 }
- { stage: test, python: 3.6, env: DJANGO=1.11 }
- { stage: test, python: 3.6, env: DJANGO=master }
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

Version 2.0.14
--------------------------------------------------

- Add support for Django 3.0 and Python 3.8


Version 2.0.13 (23 Nov 2019), HackBulgaria edition
--------------------------------------------------

Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
* [fadedDexofan](https://github.com/fadeddexofan)
* [imomaliev](https://github.com/imomaliev)
* [psrb](https://github.com/psrb)
* [WayneLambert](https://github.com/WayneLambert)
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
author_email='[email protected]',
description='A Pylint plugin to help Pylint understand the Django web framework',
long_description=LONG_DESCRIPTION,
version='2.0.13',
version='2.0.14',
packages=find_packages(),
include_package_data=True,
install_requires=[
Expand All @@ -34,6 +34,7 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
keywords=['pylint', 'django', 'plugin'],
zip_safe=False,
Expand Down
5 changes: 5 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ envlist =
readme
py{36}-django{111,20,-master}
py{35,36,37}-django22
py{36,37,38}-django30

[testenv]
commands =
Expand All @@ -20,6 +21,7 @@ commands =
readme: bash -c \'python setup.py -q sdist && twine check dist/*\'
py{36}-django{111,20,-master}: coverage run pylint_django/tests/test_func.py -v
py{35,36,37}-django22: coverage run pylint_django/tests/test_func.py -v
py{36,37,38}-django30: coverage run pylint_django/tests/test_func.py -v
clean: find . -type f -name '*.pyc' -delete
clean: find . -type d -name __pycache__ -delete
clean: rm -rf build/ .cache/ dist/ .eggs/ pylint_django.egg-info/ .tox/
Expand All @@ -33,6 +35,7 @@ deps =
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
django22: Django>=2.2,<3.0
django30: Django>=3.0,<3.1
django-master: Django
django-master: git+https://github.com/pycqa/astroid@master
django-master: git+https://github.com/pycqa/pylint@master
Expand All @@ -44,6 +47,7 @@ whitelist_externals =
readme: bash
py{36}-django{111,20,-master}: coverage
py{35,36,37}-django22: coverage
py{36,37,38}-django30: coverage
clean: find
clean: rm
Expand All @@ -53,6 +57,7 @@ DJANGO =
2.0: django20
2.1: django21
2.2: django22
3.0: django30
master: django-master
[flake8]
Expand Down

0 comments on commit b85327d

Please sign in to comment.