Fix max line length PEP8 lints
This commit is contained in:
parent
507b9dc67e
commit
46ed68f2dd
|
@ -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()
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue