-
Couldn't load subscription status.
- 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
Changes from all commits
990236d
fd6a236
c4bb91f
e5aa371
8f79de2
0c8af87
62254c2
bec0439
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,7 @@ | ||
| __version__ = '0.2.1' | ||
| __version__ = '0.2.2' | ||
| __description__ = ( | ||
| 'Run flake8 across a set of changed files and filter out ' | ||
| 'violations occurring only on the lines that were changed.' | ||
| ) | ||
|
|
||
| __all__ = ['__version__'] | ||
| __all__ = ['__version__', '__description__'] | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -129,7 +129,7 @@ def get_vcs(self): | |
| try: | ||
| vcs = vcs(self.commits, self.options) | ||
| except VCSNotInstalledError: | ||
| logger.error('Seems like {0} is not installed'.format(vcs.name)) | ||
| logger.info('Seems like {0} is not installed'.format(vcs.name)) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 |
||
| else: | ||
| if vcs.is_used() and vcs.check(): | ||
| return vcs | ||
|
|
||
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.pyand inmain.py