From 3d0b7c55167f8c531bacc21390b06b4b0a58f305 Mon Sep 17 00:00:00 2001 From: Gram Date: Fri, 1 May 2020 15:13:50 +0200 Subject: [PATCH] make name required --- deal/linter/_func.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deal/linter/_func.py b/deal/linter/_func.py index d653b393..fbe8fe60 100644 --- a/deal/linter/_func.py +++ b/deal/linter/_func.py @@ -20,7 +20,7 @@ class Func: __slots__ = ('body', 'contracts', 'name') - def __init__(self, *, body: list, contracts: Iterable[Contract], name: str = None): + def __init__(self, *, body: list, contracts: Iterable[Contract], name: str): self.body = body self.contracts = contracts self.name = name