Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
{[general]install_requires}
Browse files Browse the repository at this point in the history
  • Loading branch information
Robpol86 committed Jul 30, 2016
1 parent a2f005f commit 613f939
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 1 addition & 2 deletions flake8_pep257.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

import pep257
import pep8
import pkg_resources

__author__ = '@Robpol86'
__license__ = 'MIT'
Expand Down Expand Up @@ -63,7 +62,7 @@ class Main(object):

name = 'flake8-pep257'
options = dict()
version = getattr(pkg_resources, 'require')('flake8-pep257')[0].version
version = __version__

def __init__(self, tree, filename):
"""Constructor.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def readme():
],
description='Flake8 plugin for the pep257 Python utility.',
entry_points={'flake8.extension': 'D = flake8_pep257:Main'},
install_requires=['flake8', 'pep257'],
install_requires=['flake8', 'pep257', 'pep8'],
keywords='flake8 pep257 docstrings',
license='MIT',
long_description=readme(),
Expand Down
8 changes: 6 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
[general]
author = @Robpol86
install_requires =
flake8==2.5.4
pep257==0.7.0
pep8==1.7.0
license = MIT
name = flake8_pep257
version = 1.0.5
Expand All @@ -12,7 +16,7 @@ commands =
py.test --cov-append --cov-report term-missing --cov-report xml --cov {[general]name} --cov-config tox.ini \
{posargs:tests}
deps =
flake8==2.5.4
{[general]install_requires}
pytest-cov==2.2.1
usedevelop = True

Expand Down Expand Up @@ -47,8 +51,8 @@ commands =
python -c "assert 'VERSION = \'{[general]version}\'' in open('setup.py').read(102400)"
python -c "assert '\n{[general]version} - ' in open('README.rst').read(102400)"
deps =
{[general]install_requires}
coverage==4.0.3
flake8==2.5.4
flake8-import-order==0.5
pep8-naming==0.3.3
pylint==1.5.4
Expand Down

0 comments on commit 613f939

Please sign in to comment.