Skip to content

Commit abeaf52

Browse files
committed
Fix code style issues with Black
1 parent 1a63234 commit abeaf52

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

thoth/app/arguments.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from thoth.app.analyzer import all_analyzers
44
from thoth.app.analyzer.abstract_analyzer import category_classification_text
55

6+
67
def parse_args() -> argparse.Namespace:
78
"""Parse the program arguments
89
@@ -215,7 +216,9 @@ def parse_args() -> argparse.Namespace:
215216
# Use a JSON file
216217
file = contract_subparser.add_parser("local", parents=[root_parser])
217218
file.add_argument("--scarb", action="store_true", help="Use the scarb build output")
218-
file.add_argument("path", type=argparse.FileType("r"), help="Cairo compiled JSON file", nargs='?')
219+
file.add_argument(
220+
"path", type=argparse.FileType("r"), help="Cairo compiled JSON file", nargs="?"
221+
)
219222

220223
# Download a contract from StarkNet mainnet/goerli
221224
contract = contract_subparser.add_parser("remote", parents=[root_parser])

thoth/thoth.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from thoth.app.utils import load_symbex_yaml_config
1212
from thoth.app.starknet.starknet import StarkNet
1313

14+
1415
def main() -> int:
1516
"""Main function of Thoth
1617
@@ -46,7 +47,7 @@ def main() -> int:
4647
if file:
4748
break
4849
if not file:
49-
print("You need to run \"scarb build\" before using the --scarb flag")
50+
print('You need to run "scarb build" before using the --scarb flag')
5051
return 1
5152
filename = os.path.basename(file).split(".")[0]
5253
else:

0 commit comments

Comments
 (0)