Skip to content
Snippets Groups Projects
Commit b5a5535e authored by Julien (jvoisin) Voisin's avatar Julien (jvoisin) Voisin
Browse files

Add some more type hinting

parent f5753dec
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@ import argparse
from src import parser_factory
def __check_file(filename:str, mode=os.R_OK) -> bool:
def __check_file(filename:str, mode:int = os.R_OK) -> bool:
if not os.path.isfile(filename):
print("[-] %s is not a regular file." % filename)
return False
......@@ -53,7 +53,6 @@ def clean_meta(filename:str):
def main():
args = create_arg_parser().parse_args()
if args.show:
for f in args.files:
show_meta(f)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment