Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ugettext_lazy().format raises E1101 #100

Closed
wants to merge 4 commits into from

Conversation

canarduck
Copy link
Contributor

Fixes #80

Checks that Pylint does not complain about django lazy proxy
when using ugettext_lazy
Fix E1101:Instance of '__proxy__' has no 'format' member' when using .format() on a ugettext_lazy translation
@lynoure
Copy link

lynoure commented Aug 25, 2017

Cool that someone is working for this!

peterdemin pushed a commit to peterdemin/pylint-django that referenced this pull request Sep 1, 2017
@horejsek
Copy link

When we can expect this feature to be released? :-)

@canarduck
Copy link
Contributor Author

@horejsek well, due to changes on pylint (see pylint-dev/pylint#1438 (comment)) some required methods are not available anymore, which is why travis tests are failing (see above).

This PR #98 provides a workaround, but is not merged yet, so....

atodorov pushed a commit to MrSenko/django-pylint that referenced this pull request Jan 17, 2018
Fix E1101:Instance of '__proxy__' has no 'format' member' when using .format() on a ugettext_lazy translation

NOTE: merged with modifications. Instead of returning str,
      returns ''

Fixes pylint-dev#80
Origina PR: pylint-dev#100
atodorov pushed a commit to MrSenko/django-pylint that referenced this pull request Jan 17, 2018
Fix E1101:Instance of '__proxy__' has no 'format' member' when using .format() on a ugettext_lazy translation

NOTE: merged with modifications. Instead of returning str,
      returns ''

Fixes pylint-dev#80
Origina PR: pylint-dev#100
atodorov pushed a commit to MrSenko/django-pylint that referenced this pull request Jan 18, 2018
Fix E1101:Instance of '__proxy__' has no 'format' member' when using .format() on a ugettext_lazy translation

NOTE: merged with modifications. Instead of returning str,
      returns ''

Fixes pylint-dev#80
Origina PR: pylint-dev#100
atodorov pushed a commit to MrSenko/django-pylint that referenced this pull request Jan 18, 2018
Fix E1101:Instance of '__proxy__' has no 'format' member' when using .format() on a ugettext_lazy translation

NOTE: merged with modifications. Instead of returning str,
      returns ''

Fixes pylint-dev#80
Origina PR: pylint-dev#100
atodorov pushed a commit to MrSenko/django-pylint that referenced this pull request Jan 18, 2018
Fix E1101:Instance of '__proxy__' has no 'format' member' when using .format() on a ugettext_lazy translation

NOTE: merged with modifications. Instead of returning str,
      returns ''

Fixes pylint-dev#80
Origina PR: pylint-dev#100
atodorov pushed a commit that referenced this pull request Jan 18, 2018
Fix E1101:Instance of '__proxy__' has no 'format' member' when using .format() on a ugettext_lazy translation

NOTE: merged with modifications. Instead of returning str,
      returns ''

Fixes #80
Origina PR: #100
@atodorov
Copy link
Contributor

Merged manually as part of #113, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants