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,5 +1,6 @@
"""Integration tests for the checker submodule."""
import mock
from unittest import mock
import pytest
from flake8 import checker
@ -20,7 +21,7 @@ EXPECTED_RESULT_PHYSICAL_LINE = (
)
class PluginClass(object):
class PluginClass:
"""Simple file plugin class yielding the expected report."""
name = 'test'