Skip to content

Commit

Permalink
Using PyLint. Bumped linter versions.
Browse files Browse the repository at this point in the history
Enabled pylint but disabling some checks because it will require
refactoring a large part of the project. Maybe in the future when I want
to add features.
  • Loading branch information
Robpol86 committed Aug 1, 2016
1 parent 6c3e8f1 commit e6fdeb6
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ Changelog

This project adheres to `Semantic Versioning <http://semver.org/>`_.

Unreleased
----------

Added
* Python 3.5 support (Linux/OS X and Windows).

1.0.0 - 2015-08-09
------------------

Expand Down
18 changes: 12 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,15 @@ commands =
python setup.py check --strict -s
python setup.py check_version
flake8 --application-import-names={[general]name},tests
pylint --rcfile=tox.ini setup.py {[general]name}
deps =
{[general]install_requires}
coverage==4.2
flake8-import-order==0.5
flake8-pep257
flake8==2.5.5
pep8-naming
flake8-docstrings==1.0.2
flake8-import-order==0.9.1
flake8==3.0.3
pep8-naming==0.4.1
pylint==1.6.4

[testenv:docs]
changedir = {toxinidir}/docs
Expand All @@ -68,15 +70,19 @@ passenv =

[flake8]
exclude = .tox/*,build/*,docs/*,env/*,get-pip.py
ignore = D203,E731
import-order-style = google
import-order-style = smarkets
max-line-length = 120
statistics = True

[pylint]
ignore = .tox/*,build/*,docs/*,env/*,get-pip.py
max-line-length = 120
reports = no
disable =
redefined-variable-type,
too-many-branches,
too-many-locals,
too-many-statements,

[run]
branch = True

0 comments on commit e6fdeb6

Please sign in to comment.