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

Conversation

Ichimonji10
Copy link
Contributor

Update the lint make target so it passes. See individual commit messages for more details.

Fix #46.

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.
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 Ichimonji10 merged commit 5e14a0e into pulp:master Dec 1, 2015
@Ichimonji10 Ichimonji10 deleted the linters branch December 1, 2015 19:08
@elyezer
Copy link
Contributor

elyezer commented Dec 3, 2015

Karma given

@Ichimonji10
Copy link
Contributor Author

😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants