diff --git a/.travis.yml b/.travis.yml index a416c5a..87ffaeb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,21 +3,21 @@ language: python python: - "3.5" + - "3.6" - "3.7" - "2.7" - pypy env: - - DJANGO="django==1.10.6" - - DJANGO="django==1.9.12" - - DJANGO="django==1.8.17" - DJANGO="django==3.0" + - DJANGO="django==2.2.28" + - DJANGO="django==1.11.26" install: - pip install $DJANGO - pip install -r requirements.txt + - pip install -r requirements_dev.txt - pip install -e . - - pip install pep8 - pip install https://github.com/un33k/pyflakes/tarball/master - pip install coveralls @@ -27,16 +27,14 @@ before_script: matrix: exclude: - - python: "3.7" - env: DJANGO="django==1.10.6" - - python: "3.7" - env: DJANGO="django==1.9.12" - - python: "2.7" - env: DJANGO="django==3.0" - - python: "3.3" - env: DJANGO="django==3.0" - python: "3.5" env: DJANGO="django==3.0" + - python: "2.7" + env: DJANGO="django==2.2.28" + - python: "2.7" + env: DJANGO="django==3.0" + - python: pypy + env: DJANGO="django==2.2.28" - python: pypy env: DJANGO="django==3.0" diff --git a/CHANGELOG.md b/CHANGELOG.md index f071047..2eb14ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.2.0 + +Maintenance: + + - Up version python-slugify, remove support for old Django versions + ## 1.1.8 Maintenance: diff --git a/pep8.sh b/formatter.sh similarity index 79% rename from pep8.sh rename to formatter.sh index 4ace0ea..830cc1f 100755 --- a/pep8.sh +++ b/formatter.sh @@ -7,5 +7,5 @@ # -- E225 missing whitespace around operator # -- E501 line too long -pep8 --exclude=migrations --ignore=E128,E225,E501 . +pycodestyle --exclude=migrations --ignore=E128,E225,E501 . diff --git a/requirements_dev.txt b/requirements_dev.txt new file mode 100644 index 0000000..6e6cead --- /dev/null +++ b/requirements_dev.txt @@ -0,0 +1 @@ +pycodestyle>=2.5.0 \ No newline at end of file diff --git a/uuslug/__init__.py b/uuslug/__init__.py index 3db1ea3..5f4115c 100644 --- a/uuslug/__init__.py +++ b/uuslug/__init__.py @@ -2,6 +2,6 @@ from .uuslug import * __author__ = 'Val Neekman @ Neekware Inc. [@vneekman]' __description__ = 'A Python slugify application that also handles Unicode' -__version__ = '1.1.8' +__version__ = '1.2.0' default_app_config = 'uuslug.apps.AppConfig'