import types
from functools import wraps
from . import PidFile

def pidfile(*pid_args, **pid_kwargs):
    if len(pid_args) > 0:
        assert not isinstance(pid_args[0], types.FunctionType), "pidfile decorator must be called with perentisies, like: @pidfile()"
    def wrapper(func):
        @wraps(func)
        def decorator(*func_args, **func_kwargs):
            with PidFile(*pid_args, **pid_kwargs):
                return func(*func_args, **func_kwargs)
        return decorator
    return wrapper
@@ -57,16 +57,17 @@
 idFile%0A%0A
+%0A
 def pidf
@@ -256,16 +256,17 @@
 file()%22%0A
+%0A
     def 

fix flake8 errors