-
Notifications
You must be signed in to change notification settings - Fork 72
lesson_13 #697
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
base: master
Are you sure you want to change the base?
lesson_13 #697
Conversation
| self.bL = bottomLeft | ||
| self.bR = bottomRight | ||
|
|
||
| def point_in_circle(point, circle): |
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.
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 + |
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.
E225 missing whitespace around operator
|
|
||
|
|
||
| def point_in_circle_bounduary(point, circle): | ||
| distance_between_points = math.sqrt((point.x - circle.center.x)** 2 + |
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.
E225 missing whitespace around operator
|
|
||
|
|
||
| def main(): | ||
| point1 = Point(370,550) |
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.
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)) |
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.
E501 line too long (80 > 79 characters)
| a = ['b', 'x', 'y', 'p', 's'] | ||
| print(object_inspector2(ainspector, a)) | ||
|
|
||
| if __name__ == "__main__": |
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.
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 |
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.
W292 no newline at end of file
| ainspector.x = 12 | ||
| ainspector.b = [77, 88] | ||
| ainspector.c = 4 | ||
| ainspector.y = {'c':77, 'g':88} |
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.
E231 missing whitespace after ':'
| binspector.x = 5 | ||
| binspector.b = [22, 88] | ||
| binspector.c = 4 | ||
| binspector.y = {'c':77, 'g':88} |
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.
E231 missing whitespace after ':'
|
|
||
|
|
||
| if __name__ == "__main__": | ||
| main() No newline at end of file |
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.
W292 no newline at end of file
No description provided.