Skip to content

Commit

Permalink
Fix travis build, release v0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterOdin committed Apr 14, 2017
1 parent 12f0657 commit 1c47f56
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 7 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@ python:
- '3.5'

install:
- pip install -r requirements.txt
- pip install coveralls
- python setup.py install
- rm -rf build
- rm -rf dist
- rm -rf pylint_runner.egg-info

script:
- nosetests -v --with-coverage --cover-package=pylint_runner
Expand All @@ -27,3 +31,8 @@ deploy:
tags: true
distributions: sdist bdist_wheel
repo: MasterOdin/pylint_runner

notifications:
email:
- on_failure: change
- on_success: change
4 changes: 4 additions & 0 deletions pylint_runner/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Pylint runner
"""

__author__ = "Matthew Peveler"
__license__ = "The MIT License (MIT)"
__version__ = "0.4.1"
6 changes: 2 additions & 4 deletions pylint_runner/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
import pylint
import pylint.lint

from pylint_runner import __version__

if sys.version_info > (3,):
PY2 = False
else:
Expand All @@ -25,10 +27,6 @@
# pylint: disable=import-error
import configparser

__author__ = "Matthew 'MasterOdin' Peveler"
__license__ = "The MIT License (MIT)"
__version__ = "0.4.0"


class Runner(object):
""" A pylint runner that will lint all files recursively from the CWD. """
Expand Down
9 changes: 6 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
from pip.download import PipSession
from setuptools import setup

from pylint_runner import __author__, __version__


def read(*paths):
"""Build a file path from *paths* and return the contents."""
Expand All @@ -22,11 +24,11 @@ def get_requirements():

setup(
name='pylint_runner',
version='0.4.0',
version=__version__,
packages=['pylint_runner'],
url='http://github.com/MasterOdin/pylint_runner',
license='MIT',
author='Matthew Peveler',
author=__author__,
author_email='[email protected]',
description='Run pylint recursively on all py files in current and sub directories',
# long_description=open('README.rst').read() + '\n\n' + open('CHANGELOG.rst').read(),
Expand All @@ -38,7 +40,8 @@ def get_requirements():
install_requires=get_requirements(),
tests_require=['nose'],
classifiers=[
'Development Status :: 3 - Alpha',
'Development Status :: 4 - Beta',
'Environment :: Console',
'Topic :: Software Development :: Debuggers',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing',
Expand Down

0 comments on commit 1c47f56

Please sign in to comment.