Skip to content

Conversation

@dychomon
Copy link
Contributor

No description provided.

self.bL = bottomLeft
self.bR = bottomRight

def point_in_circle(point, circle):
Copy link
Contributor

Choose a reason for hiding this comment

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

E302 expected 2 blank lines, found 1

self.bR = bottomRight

def point_in_circle(point, circle):
distance_between_points = math.sqrt((point.x - circle.center.x)** 2 +
Copy link
Contributor

Choose a reason for hiding this comment

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

E225 missing whitespace around operator



def point_in_circle_bounduary(point, circle):
distance_between_points = math.sqrt((point.x - circle.center.x)** 2 +
Copy link
Contributor

Choose a reason for hiding this comment

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

E225 missing whitespace around operator



def main():
point1 = Point(370,550)
Copy link
Contributor

Choose a reason for hiding this comment

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

E231 missing whitespace after ','


# rectangle in circle
# rectangle1 = Rectangle(Point(1,10),Point(6,10), Point(1,5), Point(6,5))
rectangles_points = (Point(-2, 2), Point(2, 2), Point(-2, -2), Point(2, -2))
Copy link
Contributor

Choose a reason for hiding this comment

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

E501 line too long (80 > 79 characters)

a = ['b', 'x', 'y', 'p', 's']
print(object_inspector2(ainspector, a))

if __name__ == "__main__":
Copy link
Contributor

Choose a reason for hiding this comment

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

E305 expected 2 blank lines after class or function definition, found 1

print(object_inspector2(ainspector, a))

if __name__ == "__main__":
main() No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

W292 no newline at end of file

ainspector.x = 12
ainspector.b = [77, 88]
ainspector.c = 4
ainspector.y = {'c':77, 'g':88}
Copy link
Contributor

Choose a reason for hiding this comment

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

E231 missing whitespace after ':'

binspector.x = 5
binspector.b = [22, 88]
binspector.c = 4
binspector.y = {'c':77, 'g':88}
Copy link
Contributor

Choose a reason for hiding this comment

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

E231 missing whitespace after ':'



if __name__ == "__main__":
main() No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

W292 no newline at end of file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants