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

Fix failing lint make target #47

Merged
merged 2 commits into from
Dec 1, 2015
Merged

Fix failing lint make target #47

merged 2 commits into from
Dec 1, 2015

Commits on Dec 1, 2015

  1. Update lint-flake8 make recipe

    Do not ignore the D100 or D104 flake8 warnings. flake8-docstrings version 0.2.4
    fixes this. From the changelog:
    
    > Fix bug introduced in 0.2.2 where the file source was always None causing D100
    > and D104 errors for all files and no other errors to be found.
    
    Do ignore error D203, "1 blank line required before class docstring". See:
    https://gitlab.com/pycqa/flake8-docstrings/issues/8
    
    Related to #46.
    Ichimonji10 committed Dec 1, 2015
    Configuration menu
    Copy the full SHA
    76dfc72 View commit details
    Browse the repository at this point in the history
  2. Force the use of older linters

    Pylint 1.5.0 and astroid 1.4.1 were released over the past weekend.
    Unfortunately, there are several regressions in the new releases. One such
    regression is a `UnicodeEncodeError` on Python 2, as documented here:
    https://bitbucket.org/logilab/astroid/issues/273
    
    The regression has since been fixed, but no release has been made that includes
    the fix. Until the fix is made available via a release, force the use of older
    versions of pylint and astroid.
    
    Before this change:
    
        $ pip freeze | grep 'astroid\|pylint'
        astroid==1.4.1
        pylint==1.5.0
    
    After this change:
    
        $ pip freeze | grep 'astroid\|pylint'
        astroid==1.3.8
        pylint==1.4.4
    
    Related to #46.
    Ichimonji10 committed Dec 1, 2015
    Configuration menu
    Copy the full SHA
    5e14a0e View commit details
    Browse the repository at this point in the history