"""
shortcuts for scratch
"""

#from .example_echiquier import check as check1

def check1():
    """
    vrifie que certains fichiers sont ici
    """
    dirname = os.path.dirname(__file__)
    f1 = os.path.exists(dirname, "echiquier.sb2")
    if not os.path.exists(f1):
        raise FileNotFoundError(f1)
    f0 = os.path.exists(dirname, "echiquier0.sb2")
    if not os.path.exists(f0):
        raise FileNotFoundError(f0)        

def check():
    """
    run checking functions
    """
    check1()
"""
shortcuts for scratch
"""

#from .example_echiquier import check as check1


def check1():
    """
    basic checkings
    """
    dirname = os.path.dirname(__file__)
    f1 = os.path.exists(dirname, "echiquier.sb2")
    if not os.path.exists(f1):
        raise FileNotFoundError(f1)
    f0 = os.path.exists(dirname, "echiquier0.sb2")
    if not os.path.exists(f0):
        raise FileNotFoundError(f0)


def check():
    """
    run checking functions
    """
    check1()

fix encoding