-
Notifications
You must be signed in to change notification settings - Fork 372
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
Enabled linter for azurelinuxagent.ga. #1980
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #1980 +/- ##
========================================
Coverage 71.15% 71.15%
========================================
Files 86 86
Lines 12285 12285
Branches 1729 1729
========================================
Hits 8741 8741
Misses 3159 3159
Partials 385 385
Continue to review full report at Codecov.
|
@@ -158,8 +158,8 @@ def _capture_extension_events(self, handler_name, handler_event_dir_path, events | |||
event_file_size = os.stat(event_file_path).st_size | |||
if event_file_size > self._EXTENSION_EVENT_FILE_MAX_SIZE: | |||
msg = "Skipping file: {0} as its size is {1:.2f} Mb > Max size allowed {2:.1f} Mb".format( | |||
event_file_path, convert_to_mb(event_file_size), | |||
convert_to_mb(self._EXTENSION_EVENT_FILE_MAX_SIZE)) | |||
event_file_path, convert_to_mb(event_file_size), #pylint: disable=C0330 |
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.
I guess the missing space in "#pylint" doesn't matter?
Description
6th of 7 PRs enabling linter in Travis.
Error Codes can be found here: http://pylint.pycqa.org/en/latest/technical_reference/features.html
PR information
Quality of Code and Contribution Guidelines