Skip to content

Commit

Permalink
Require Python 3.6 and use isort >= 5
Browse files Browse the repository at this point in the history
isort 5.x requires Python >= 3.6, so let's update the requirement
as well.
  • Loading branch information
eht16 committed Aug 23, 2020
1 parent 27b20aa commit e246fd8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -18,7 +18,6 @@ language: python
cache: pip

python:
- "3.5"
- "3.6"
- "3.7"
- "3.8"
Expand Down
2 changes: 1 addition & 1 deletion README.dev.md
Expand Up @@ -12,7 +12,7 @@ and uses Mezzanine (http://mezzanine.jupo.org/) for content management.
As Django is based on Python, first of all you need Python and a couple of
extra packages installed on your system.

The code requires Python 3.5 or higher.
The code requires Python 3.6 or higher.

All Python related dependencies are listed in `requirements.txt` and can
be installed via `pip` (see below).
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Expand Up @@ -22,13 +22,13 @@ geany_modules = geany latest_version news nightlybuilds pastebin static_docs
[testenv]
deps =
flake8
isort<5 # temporarily stick to isort 4.x: https://github.com/PyCQA/pylint/pull/3725
isort
pylint
pylint-django
-r{toxinidir}/requirements.txt
commands =
{envbindir}/flake8 {[tox]geany_modules}
{envbindir}/isort --check-only --diff --recursive {[tox]geany_modules}
{envbindir}/isort --check-only --diff {[tox]geany_modules}
{envbindir}/pylint --rcfile=tox.ini {[tox]geany_modules}

[flake8]
Expand Down

0 comments on commit e246fd8

Please sign in to comment.