-
Notifications
You must be signed in to change notification settings - Fork 94
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
Conversation
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
There was a problem hiding this 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 | ||
|
||
|
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
Sorry for those silly mistakes will fix them now. |
@the-ethan-hunt We are good to merge this now. |
Fixes issue #132 |
Added a bash script for checking for linting errors.