import numpy as np
global_list = [1,2,3
,4,5,6]
def bad_style(arg1:str,arg2)->int:
if arg2:
print(arg1)
else:
return arg1 + 2 # Error here, cannot add string to int
def compressed_code(arg) -> None:
print("Code is overly compressed ")
return 2
!nbqa mypy ./notebook.ipynb
!nbqa flake8 ./notebook.ipynb
!nbqa black ./notebookpostblack.ipynb
!nbqa flake8 ./notebookpostblack.ipynb