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

Added pylinter.sh and setup.cfg #132

Merged
merged 3 commits into from
Jul 18, 2018

Conversation

Man-Jain
Copy link
Contributor

Added a bash script for checking for linting errors.

Man-Jain added 2 commits July 17, 2018 22:08
The pylinter.sh and setup.cfg added to the project which automatically
checks for linting issues so contributors can fix them.

Fixes: the-ethan-hunt#129
Copy link

@sara-02 sara-02 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor issues, please fix.

setup.cfg Outdated
ignore = W504
max-line-length = 80


Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please remove this extra new line from here.

pylinter.sh Outdated
VIRTUALENV=$(which venv-3)
fi

${VIRTUALENV} python3 -m venv mybenjienv && source myenv/bin/activate && python3 "$(which pip3)" install pycodestyle
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since you are naming your venv mybenjienv, source should also use the same name and not myenv

@Man-Jain
Copy link
Contributor Author

Sorry for those silly mistakes will fix them now.

@sara-02
Copy link

sara-02 commented Jul 18, 2018

@the-ethan-hunt We are good to merge this now.
@Man-Jain You will have to send another set of PR with the code fixes as well. Please add that PR as soon as possible.

@sara-02
Copy link

sara-02 commented Jul 18, 2018

Fixes issue #132

@the-ethan-hunt the-ethan-hunt merged commit 0500c25 into the-ethan-hunt:master Jul 18, 2018
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.

3 participants