-
Notifications
You must be signed in to change notification settings - Fork 8
Fix for flake8 triggering for removed files #30
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
Conversation
that is accomplished by using --diff-filter parameter in git diff (taken from http://stackoverflow.com/questions/6879501/filter-git-diff-by-type-of-change) also this commit changes the log level from error to info when particular VCS is not found
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.
this now will only print in console when verbose flag is used. otherwise it silently fails and proceeds to check other VCS. if none are found, then it flake8-diff will exit with error
that seemed appropriate considering package name
flake8diff/__init__.py
Outdated
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.
moved short description here so that it can be reused both by setup.py and in main.py
|
@gregarmer removed the description from the |
Fix for flake8 triggering for removed files
|
v0.2.2 is up - https://pypi.python.org/pypi/flake8-diff |
|
awesome. thanks @gregarmer |
fixes #29
that is accomplished by using --diff-filter parameter in git diff (taken from http://stackoverflow.com/questions/6879501/filter-git-diff-by-type-of-change)
also this commit changes the log level from error to info when particular VCS is not found
also:
--versionparameter