mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-06 13:06:53 +00:00
automatic: pyupgrade --py36-plus
This commit is contained in:
parent
8cc3fc01e8
commit
358ae85120
51 changed files with 185 additions and 149 deletions
|
|
@ -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 []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue