Skip to content

Update codebase for Django 3 and Python 3.8 #259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Feb 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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='code@landscape.io',
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