Skip to content
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

Added pre-commit hook and tests against python 3.5 and 3.6 #70

Closed

Conversation

macisamuele
Copy link
Collaborator

This CR introduces:

  • pre-commit hooks
  • tests against Python 3.5 and 3.6
  • update of setup.py to expose Python version support

@coveralls
Copy link

Coverage Status

Coverage decreased (-2.2%) to 92.128% when pulling 75f2deb on macisamuele:update-requirements-tox-pre-commit into e774030 on Yelp:master.

@@ -53,7 +54,7 @@
source_suffix = '.rst'

# The encoding of source files.
#source_encoding = 'utf-8-sig'
# source_encoding = 'utf-8-sig'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd recommend excluding docs/source/conf.py, the formatting changes don't really make it more readable.

@@ -1,29 +1,28 @@
[tox]
envlist = py27,py27-simplejson,py34
envlist = {py27,py35,py36}-{default,simplejson},pre-commit,cover,docs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need to test all of those Python versions with simplejson? Not knowing why this was introduced, I'd rather vote for dropping it, or are there known incompatibilities in recent versions?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm defining all these environments too keep tox.ini "simple". On travis, we're running tests with simplejson only for python 2.7.

@macisamuele macisamuele force-pushed the update-requirements-tox-pre-commit branch from 75f2deb to 8f804db Compare April 29, 2017 18:18
@coveralls
Copy link

Coverage Status

Coverage decreased (-2.2%) to 92.128% when pulling 8f804db on macisamuele:update-requirements-tox-pre-commit into 18d524f on Yelp:master.

@macisamuele macisamuele force-pushed the update-requirements-tox-pre-commit branch from 8f804db to 4390d8a Compare April 29, 2017 18:46
@coveralls
Copy link

Coverage Status

Coverage decreased (-2.2%) to 92.082% when pulling 4390d8a on macisamuele:update-requirements-tox-pre-commit into 18d524f on Yelp:master.

@macisamuele macisamuele force-pushed the update-requirements-tox-pre-commit branch from 4390d8a to 7f77afc Compare April 30, 2017 08:29
@coveralls
Copy link

Coverage Status

Coverage decreased (-2.2%) to 92.128% when pulling 7f77afc on macisamuele:update-requirements-tox-pre-commit into 18d524f on Yelp:master.

@macisamuele macisamuele deleted the update-requirements-tox-pre-commit branch June 22, 2017 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants