automatic: pyupgrade --py36-plus

This commit is contained in:
Anthony Sottile 2021-03-29 17:43:42 -07:00
parent 8cc3fc01e8
commit 358ae85120
51 changed files with 185 additions and 149 deletions

View file

@ -1,7 +1,7 @@
"""Our first example plugin."""
class ExampleOne(object):
class ExampleOne:
"""First Example Plugin."""
name = 'on-by-default-example-plugin'
version = '1.0.0'
@ -11,5 +11,4 @@ class ExampleOne(object):
def run(self):
"""Do nothing."""
for message in []:
yield message
yield from []