Skip to content

chore: update pylint and fix errors #13

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

Merged
merged 16 commits into from
Jan 22, 2019
Merged

Conversation

dtopuzov
Copy link
Contributor

@dtopuzov dtopuzov commented Jan 18, 2019

Attempt to addopt pylint.

Rules defined is .pylintrc.

Run pylint on code, data and product:

python -m pylint --disable=locally-disabled --rcfile=.pylintrc core data products

Due to the fact tests are not modules pylint can not be executed directly.
Workaround:

find tests/cli | grep .py | grep -v .pyc | xargs python -m pylint --disable=locally-disabled --min-similarity-lines=15 --rcfile=.pylintrc

@dtopuzov dtopuzov merged commit ff89a67 into master Jan 22, 2019
@dtopuzov dtopuzov deleted the dtopuzov/addopt-pylint branch January 22, 2019 15:50
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.

1 participant