Upgrade linter (#4461)
This commit is contained in:
1 parent
37e28428c1
commit
d2bbc6ef70
21 files changed
+28
-7
No files matched your search
@@ -417,6 +417,7 @@ class TemplateEnvironment(ImmutableSandboxedEnvironment):
|
||||
"""Test if callback is safe."""
|
||||
return isinstance(obj, AllStates) or super().is_safe_callable(obj)
|
||||
|
||||
|
||||
ENV = TemplateEnvironment()
|
||||
ENV.filters['round'] = forgiving_round
|
||||
ENV.filters['multiply'] = multiply
|
||||
|
||||
Reference in new issue
Block a user