We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2074a86 commit f9a67e7Copy full SHA for f9a67e7
kiwi_lint/views.py
@@ -71,7 +71,7 @@ def flatten(urlpatterns, prefix="^", result=None):
71
return flatten(root_urlpatterns)
72
73
def visit_module(self, node):
74
- if node.name in self.views_by_module.keys() and not node.name.endswith(
+ if node.name in self.views_by_module and not node.name.endswith(
75
".admin"
76
):
77
self.view_module = node.name
0 commit comments