diff options
| author | Anthony Sottile <asottile@umich.edu> | 2019-11-29 10:17:29 -0800 |
|---|---|---|
| committer | Anthony Sottile <asottile@umich.edu> | 2019-11-29 10:17:29 -0800 |
| commit | 6b764d0ec7fbbc3ecfe00d9a3705a4fc9934e7b4 (patch) | |
| tree | 1384a317243e4bc8f3348838c99abdb6db829fd0 | |
| parent | 5d7eeaa9b386f10c64c83c4a9b025286c65ca3f2 (diff) | |
| download | flake8-6b764d0ec7fbbc3ecfe00d9a3705a4fc9934e7b4.tar.gz | |
Work around RecursionError in EntryPoint.__repr__ in pypy
https://gitlab.com/python-devs/importlib_metadata/issues/97
| -rw-r--r-- | src/flake8/plugins/manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flake8/plugins/manager.py b/src/flake8/plugins/manager.py index 903a130..3d4371d 100644 --- a/src/flake8/plugins/manager.py +++ b/src/flake8/plugins/manager.py @@ -41,7 +41,7 @@ class Plugin(object): def __repr__(self): # type: () -> str """Provide an easy to read description of the current plugin.""" return 'Plugin(name="{0}", entry_point="{1}")'.format( - self.name, self.entry_point + self.name, self.entry_point.value ) def to_dictionary(self): |
