Skip to content

add linting and code formatting, remove support for python 2.7, add new test #3

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 5 commits into from
Oct 28, 2019
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
15 changes: 9 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,18 @@ branches:
only:
- master
python:
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
- "pypy"
- 3.7
- 3.8
- "pypy3"
install:
- pip install -e .
- pip install coverage
- pip install coverage flake8 isort
- if [[ $TRAVIS_PYTHON_VERSION != "pypy3" ]]; then pip install black; fi
script:
- coverage run --source=vue setup.py test
- flake8 ./vue --ignore=E501
- flake8 ./tests --ignore=E501
- isort ./vue/*.py --check-only
- isort ./tests/*.py --check-only
- if [[ $TRAVIS_PYTHON_VERSION != "pypy3" ]]; then black ./vue --check && black ./tests --check; fi
11 changes: 11 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# 0.0.4

(Oct 28, 2019)

- Remove Python 2.7 support

# 0.0.3

(Mar 3, 2019)

- Initial release
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
test:
coverage run --source=vue setup.py test
flake8 ./vue --ignore=E501
flake8 ./tests --ignore=E501
isort ./vue/*.py --check-only
isort ./tests/*.py --check-only
black ./vue --check
black ./tests --check

release:
rm -rf build dist
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from setuptools import setup, find_packages


VERSION = '0.0.3'
VERSION = '0.0.4'
here = os.path.abspath(os.path.dirname(__file__))
README = io.open(os.path.join(here, 'README.md'), encoding="utf8").read()

Expand All @@ -20,7 +20,6 @@
classifiers=[
'Environment :: Plugins',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3'
],
keywords='pygments highlight vue',
Expand Down
Loading