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

Adhere to code style #3550

Merged
merged 2 commits into from
Apr 15, 2019
Merged

Adhere to code style #3550

merged 2 commits into from
Apr 15, 2019

Conversation

ofek
Copy link
Contributor

@ofek ofek commented Apr 7, 2019

Motivation

Standardize code formatting across all integrations

@codecov
Copy link

codecov bot commented Apr 7, 2019

Codecov Report

Merging #3550 into master will decrease coverage by 35.32%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           master    #3550       +/-   ##
===========================================
- Coverage   86.52%   51.19%   -35.33%     
===========================================
  Files         726        5      -721     
  Lines       37524      920    -36604     
  Branches     4393      129     -4264     
===========================================
- Hits        32466      471    -31995     
+ Misses       3867      426     -3441     
+ Partials     1191       23     -1168

@@ -760,7 +759,7 @@ def get_nova_endpoint(self, instance=None):
def _parse_uptime_string(self, uptime):
""" Parse u' 16:53:48 up 1 day, 21:34, 3 users, load average: 0.04, 0.14, 0.19\n' """
uptime = uptime.strip()
load_averages = uptime[uptime.find('load average:'):].split(':')[1].split(',')
load_averages = uptime[uptime.find('load average:') :].split(':')[1].split(',')
Copy link
Contributor

Choose a reason for hiding this comment

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

That looks unexpected. An issue with black?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@therve therve merged commit 9527509 into master Apr 15, 2019
@therve therve deleted the ofek/style_openstack branch April 15, 2019 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants