mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-25 11:14:02 +02:00
silence pylint W0231 (super-init-not-called)
This commit is contained in:
@@ -16,7 +16,7 @@ except ImportError: # pragma: nocover
|
||||
|
||||
|
||||
class Jinja2Templates(templating.Jinja2Templates):
|
||||
def __init__(self, loader: jinja2.BaseLoader) -> None:
|
||||
def __init__(self, loader: jinja2.BaseLoader) -> None: # pylint: disable=W0231
|
||||
assert jinja2 is not None, "jinja2 must be installed to use Jinja2Templates"
|
||||
self.env = self.get_environment(loader)
|
||||
|
||||
|
Reference in New Issue
Block a user