Fix max line length PEP8 lints

This commit is contained in:
README1ST 2019-10-29 14:06:01 +00:00
parent 507b9dc67e
commit 46ed68f2dd
2 changed files with 8 additions and 3 deletions

View File

@ -20,7 +20,10 @@ def get_user_commits(login, github_profile):
counter = 0
for commits_by_user in r:
counter += 1
contributor_file.write(f"<br/>{login}, [Profile]({github_profile}). Made {counter} commits. <br/>")
contributor_file.write(
f"<br/>{login}, [Profile]({github_profile})."
" Made {counter} commits. <br/>"
)
contributor_file.close()

View File

@ -9,12 +9,14 @@ class Linear:
self.length = length
def calc_linear_line(self):
print([(0 - self.length, self.a * (0 - self.length)), (0 - self.length, self.a * self.length)])
print([(0 - self.length, self.a * (0 - self.length)),
(0 - self.length, self.a * self.length)])
def calcLineaIntersection(self, line):
"""
This function accepts one line of Linear class
and returns the coordinates of intersection between the self and the line passed
and returns the coordinates of intersection
between the self and the line passed
If there is no intercept it returns 0
If there are infinite intercepts it return math.inf