mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-12 07:44:16 +00:00
Merge branch 'workaround_pypy_repr_recursion_error' into 'master'
Work around RecursionError in EntryPoint.__repr__ in pypy See merge request pycqa/flake8!389
This commit is contained in:
commit
764d6cc781
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ class Plugin(object):
|
||||||
def __repr__(self): # type: () -> str
|
def __repr__(self): # type: () -> str
|
||||||
"""Provide an easy to read description of the current plugin."""
|
"""Provide an easy to read description of the current plugin."""
|
||||||
return 'Plugin(name="{0}", entry_point="{1}")'.format(
|
return 'Plugin(name="{0}", entry_point="{1}")'.format(
|
||||||
self.name, self.entry_point
|
self.name, self.entry_point.value
|
||||||
)
|
)
|
||||||
|
|
||||||
def to_dictionary(self):
|
def to_dictionary(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue