-
Notifications
You must be signed in to change notification settings - Fork 0
style: format code with Black and Gofumpt #25
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?
Changes from all commits
885d3ea
bf64b2f
95d58d6
aa25a37
e841d0b
9d87d07
15e61c1
cba6b5f
a797387
856318c
9adb16d
0d982fa
e831197
d9b7b21
4a0994d
257f075
e3e40a7
7fadf39
6ea180c
2617dfd
54a91ba
cfe77a9
8ab791f
f9f7261
50cc820
892f422
347f79f
3c1744f
4ed0b62
41b0799
6298484
f4e6d66
06bbf7d
1a6e92e
3c0ef9a
3e749b6
ee80e23
fb6616d
22a1c02
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,21 @@ | ||
| (*FIRST,) = [1, 2, 3] # documenting code no fungggg | ||
| *FIRST, a, b = [1, 2, 3, 7] # documenting code no fuddddnffffff | ||
| a, b = [1, 8, 2, 3, 5, 6,7, 8, 9, 12, 88] # documenting code no fun hehehehehefffffddddd | ||
| a, b = [ | ||
| 1, | ||
| 8, | ||
| 2, | ||
| 3, | ||
| 5, | ||
| 6, | ||
| 7, | ||
| 8, | ||
| 9, | ||
| 12, | ||
| 88, | ||
| ] # documenting code no fun hehehehehefffffddddd | ||
| c = 1 | ||
|
|
||
|
|
||
| def not_covered(): | ||
| print("hellooooow") | ||
| pass | ||
| print("hellooooow") | ||
| pass | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,8 +3,9 @@ | |
| import subprocess | ||
| import ssl | ||
|
|
||
|
|
||
| AWS_SECRET_KEY = "d6s$f9g!j8mg7hw?n&2ffffFdgsdgdddddsfddddddgfljwnfjsgsljfbjffffffkldslUwU" | ||
| AWS_SECRET_KEY = ( | ||
| "d6s$f9g!j8mg7hw?n&2ffffFdgsdgdddddsfddddddgfljwnfjsgsljfbjffffffkldslUwU" | ||
| ) | ||
|
|
||
|
|
||
| class BaseNumberGenerator: | ||
|
|
@@ -100,8 +101,9 @@ def tar_something(): | |
| def bad_isinstance(initial_condition, object, other_obj, foo, bar, baz): | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| pass | ||
|
|
||
|
|
||
| def not_check(x): | ||
| if x in (1, 2 ,7,3): | ||
| if x in (1, 2, 7, 3): | ||
| print("Yes") | ||
| elif x != 2 or x != 3: | ||
| print("also true") | ||
|
|
@@ -114,7 +116,8 @@ def not_check(x): | |
|
|
||
| elif x in (10, 20, 30): | ||
| print("Why even?") | ||
|
|
||
|
|
||
|
|
||
| def check(x): | ||
| if x in (1, 2, 3): | ||
| print("Yes") | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,6 @@ | |
| from django.views.decorators.http import require_http_methods | ||
|
|
||
|
|
||
|
|
||
| @require_http_methods(["GET", "POST"]) # Not Sensitive?????jjjjjj | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| def current_datetime(request): | ||
| now = datetime.datetime.now() | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ | |
|
|
||
|
|
||
| class Orange: | ||
| """Represents the fruit orange.. """ | ||
| """Represents the fruit orange..""" | ||
|
|
||
| orange = "#FFA500" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
|
||
|
|
||
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.
Possible unbalanced tuple unpacking detected: either left or right side of the statement has more labels. This can raise
ValueErrorwhile unpacking.