Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
259 commits
Select commit Hold shift + click to select a range
5f2d557
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
2a1c0c6
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
b7d4136
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
5365c73
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
d00d177
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
b3dc2bc
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
ea9f5d2
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
1819dd7
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
c9a08fa
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
3de2c7c
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
4670df8
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
3feacff
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
1431097
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
604adc2
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
2823b3d
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
47c8739
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
6b6869b
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
6fcd4dd
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
adf2db1
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
5c0ee37
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
a0f0a39
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
259465a
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
b8f0d78
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
fb1c0b5
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
1c7d5d7
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
3b7d6b3
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
fe5d12a
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
2990214
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
060d91b
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
5506a2e
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
1650022
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
aa64c11
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
256aafc
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
b6d82a4
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
b2b9142
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
63cd53c
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
07765da
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
48a22c0
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
362b5d1
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
1fa6952
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
7c32c3d
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
9780a75
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
7354115
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
080a580
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
52bb006
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
9aad9c1
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
afa5338
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
3b72bff
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
be99beb
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
7394ef3
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
7e7f221
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
0520201
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
39000a1
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
c8b3c7f
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
597a7f5
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
273dbd6
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
09142ce
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
aaa2ffd
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
92e7db5
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
b0954d9
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
e0ffbe1
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
eff5107
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
4c13739
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
43625ae
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
c5e140e
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
795b2bf
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
892fa34
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
615dbdd
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
faf1187
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
44490c3
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
aa0c73f
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
a46a604
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
a905c5b
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
e26ca7b
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
1c28100
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
ae01ee4
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
ac27c52
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
40988c4
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
b73cb20
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
adc8980
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
9d284de
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
fda63cd
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
0718c43
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
48bf136
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
fd0c2a1
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
f16f663
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
b3f2adb
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
4434352
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
19d6cdc
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
24436f4
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
b944e27
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
84dafca
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
2138d02
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
39dcd8d
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
4ad20b7
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
1e9bad1
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
5119567
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
cce8519
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
7974227
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
f70a1f5
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
d80e07b
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
e3c19a1
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
1677f23
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
499adc0
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
d3f82c0
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
a47e215
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
c21c681
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
c84f69e
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
0f4169f
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
757dfc4
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
cfaca42
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
08e72bc
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
852c817
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
9092e93
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
cad5bef
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
5e4c431
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
ce2c512
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
2c365fa
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
c3df92a
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
c839a1c
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
f09908d
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
5f9cc75
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
69459dc
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
e4bf8fe
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
8c6a662
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
6aec8bd
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
d505c12
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
a01ec0f
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
9e65eaf
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
5d214cc
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
01f3f42
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
0b157a7
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
e374e90
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
29c878b
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
3d3d0e4
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
50270fd
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
aef1bf2
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
0fc78c3
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
79382f5
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
d5135b1
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
2f03e7e
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
bf5d6f9
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
cbbcd43
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
4e5688e
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
ef4f1da
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
803e427
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
00337c7
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
13fef0c
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
60bc8cc
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
077fc32
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
9f03513
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
ead8232
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
c0e42e0
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
89d3946
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
59cb8ce
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
33d2af2
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
53b3560
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
d6c1a4b
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
241ec73
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
4589529
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
b73b96a
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
920dc0d
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
7221751
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
24cc689
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
e6fe24e
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
6e27e77
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
5d14415
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
db5f886
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
712485d
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
a93df0b
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
ecc90d8
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
7b2e93e
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
481ae95
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
96b7c73
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
0f8dbe3
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
ae1f10a
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
333044e
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
a7bcf64
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
cd01a0f
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
86eea57
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
79f27ae
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
cfb4504
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
26cf300
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
2b3d54f
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
e33171b
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
f5e0187
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
5494d23
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
704e945
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
d92c7d5
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
56cf92b
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
cf36253
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
2896d0e
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
7ad5111
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
bf8a944
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
2d17ece
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
2826dbf
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
cf3402b
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
bb0e54b
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
302f71d
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
6a65768
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
3531c63
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
2b39017
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
b716c42
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
6181a0b
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
b0a8429
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
1c79f6b
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
2c4da46
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
f86ea69
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
cba0dd0
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
fd752a2
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
dfd3299
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
b89dbdc
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
b54ab8b
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
a48de92
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
e4aa1c9
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
92f1933
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
2136b14
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
e515c63
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
58eae0a
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
b2c1f11
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
22e0989
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
1ad7858
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
2d8c222
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
7ac90f0
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
4340f50
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
116259a
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
cd73eba
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
f052060
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
05828c5
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
0719726
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
752e41a
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
cc77dd9
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
a5b7a64
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
42a5eae
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
d83a3f4
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
d7672a2
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
3347f6f
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
282b1fc
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
1247309
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
6ebb9ca
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
45f743d
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
d1d64b5
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
c116159
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
0812f97
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
74debc3
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
a6e96d4
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
bf26d8b
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
ac23137
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
32676ee
style: Format code with black and yapf
deepsource-autofix[bot] Apr 11, 2023
769b2be
style: Format code with yapf and black
deepsource-dev-autofix[bot] Apr 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions demo_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
import subprocess
import ssl


# from django.db.models.expressions import RawSQL

AWS_SECRET_KEY = "d6s$f9g!j8mg7hw?n&2"


class BaseNumberGenerator:
"""Declare a method -- `get_number`."""

Expand Down Expand Up @@ -44,6 +44,7 @@ def get_number(self, min_max=[1, 10]):

class ImaginaryNumber:
"""Class to represent an imaginary number."""

def __init__(self):
self.real = 0
self.imaginary = 1
Expand Down Expand Up @@ -128,11 +129,13 @@ def chained_comparison():
c = 3
return a < b and b < c


def wrong_callable():
number = ImaginaryNumber()
if hasattr(number, '__call__'):
if hasattr(number, "__call__"):
return number()


if __name__ == "__main__":
args = ["--disable", "all"]
for i in range(len(args)):
Expand Down
3 changes: 2 additions & 1 deletion django_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
from django.http import HttpResponse
from django.views.decorators.http import require_http_methods

@require_http_methods(["GET", "POST"]) # Sensitive

@require_http_methods(["GET", "POST"]) # Sensitive
def current_datetime(request):
now = datetime.datetime.now()
html = "<html><body>It is %s.</body></html>" % now
Expand Down
13 changes: 9 additions & 4 deletions miscellaneous.py
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
from utils import get_next, render_to_frontend, render_bg


class Orange:
"""Represents the fruit orange."""

orange = "#FFA500"

# Other class implementations

def get_orange(self):
return self.orange


def render():
fruit = Orange()
render_to_frontend(fruit.orange) # Rendering a color, but one can get confused with the fruit
render_to_frontend(
fruit.orange
) # Rendering a color, but one can get confused with the fruit
render_bg(fruit.get_orange)


def play_with_magic_numbers():
magic_numbers = {0, 1, 1, 2, 3, 5}

for elem in magic_numbers:
magic_numbers.add(get_next(elem))
return magic_numbers

30 changes: 17 additions & 13 deletions return_not_implemented.py
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
class RealNumber:
"""Represents a real number."""
def __init__(self, val):
self.val = val

def __add__(self, other):

def __init__(self, val):
self.val = val

def __add__(self, other):
raise NotImplementedError



class ComplexNumber:
"""Represents an imaginary number."""
def __init__(self, x, y):

def __init__(self, x, y):
self.x = x
self.y = y
def __add__(self, other):
return self.val + other.val
def __radd__(self, other):
res = (self.x + other.val, self.y)
self.y = y

def __add__(self, other):
return self.val + other.val

def __radd__(self, other):
res = (self.x + other.val, self.y)
return res


if __name__ == "__main__":
complex_num = ComplexNumber(2, 5)
real_num = RealNumber(32)
Expand Down
8 changes: 6 additions & 2 deletions security.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import sqlite3
import requests


class ResidentsDb:
def __init__(self, table_name, mapping_function, duration):
"""Set location on disk data cache will reside.
Expand All @@ -14,16 +15,19 @@ def __init__(self, table_name, mapping_function, duration):
self.cursor = None

def open(self):
""" Opens connection to sqlite database."""
"""Opens connection to sqlite database."""
self.conn = sqlite3.connect(self.dbname)
self.cursor = self.conn.cursor()

def get_id_from_name(self, name):
"""Get id of resident from name."""
data = self.cursor.execute("SELECT id FROM userdata WHERE Name ={};".format(name))
data = self.cursor.execute(
"SELECT id FROM userdata WHERE Name ={};".format(name)
)
self.conn.commit()
return data


def fetch_version(request):
"""Fetch verison of bgmi."""
version = requests.get(
Expand Down
1 change: 1 addition & 0 deletions tests/test_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ def test_random_number_generator():
"""Test random number generator."""
assert RandomNumberGenerator().get_number()


class Tests(unittest.TestCase):
def my_test(self, arg1, arg2):
self.assertEquals(arg1, arg2)
3 changes: 2 additions & 1 deletion type_checks.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
def greet_all(names: list[str]) -> None:
for name in names:
print('Hello ' + name)
print("Hello " + name)


if __name__ == "__main__":
heights = [5.5, 6, 5.9]
Expand Down