Skip to content

Commit

Permalink
Pin Python version for development
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Jan 10, 2018
1 parent caeed78 commit c7acc5f
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 41 deletions.
3 changes: 2 additions & 1 deletion .pylint.ini
Expand Up @@ -121,7 +121,8 @@ disable=print-statement,
too-few-public-methods,
fixme,
too-many-arguments,
too-many-branches
too-many-branches,
keyword-arg-before-vararg,

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand Down
4 changes: 4 additions & 0 deletions Pipfile
Expand Up @@ -3,6 +3,10 @@
url = "https://pypi.python.org/simple"
verify_ssl = true

[requires]

python_version = "3.5.4"

[dev-packages]

# Linters
Expand Down
86 changes: 47 additions & 39 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion setup.py
Expand Up @@ -4,6 +4,7 @@

import os
import sys
import logging

import setuptools

Expand All @@ -26,7 +27,8 @@ def read_package_variable(key, filename='__init__.py'):
parts = line.strip().split(' ', 2)
if parts[:-1] == [key, '=']:
return parts[-1].strip("'")
sys.exit("'{0}' not found in '{1}'".format(key, module_path))
logging.warning("'%s' not found in '%s'", key, module_path)
return None


def build_description():
Expand Down

0 comments on commit c7acc5f

Please sign in to comment.