Skip to content

Commit 17d02e4

Browse files
canarduckatodorov
authored andcommitted
Create func_noerror_ugettext_lazy_format.py
Checks that Pylint does not complain about django lazy proxy when using ugettext_lazy
1 parent 7400306 commit 17d02e4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
"""
2+
Checks that Pylint does not complain about django lazy proxy
3+
when using ugettext_lazy
4+
"""
5+
from django.utils.translation import ugettext_lazy
6+
7+
ugettext_lazy('{something}').format(something='lala')

0 commit comments

Comments
 (0)