Skip to content

Commit

Permalink
Reformat code after updating pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed Mar 13, 2024
1 parent 19d8740 commit b8e0784
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions autoflake.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
"""Removes unused imports and unused variables as reported by pyflakes."""

from __future__ import annotations

import ast
Expand Down
4 changes: 1 addition & 3 deletions test_autoflake.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env python
"""Test suite for autoflake."""

from __future__ import annotations

import contextlib
Expand Down Expand Up @@ -33,7 +34,6 @@


class UnitTests(unittest.TestCase):

"""Unit tests."""

def test_imports(self) -> None:
Expand Down Expand Up @@ -2005,7 +2005,6 @@ def test_exclude(self) -> None:


class SystemTests(unittest.TestCase):

"""System tests."""

def test_skip_file(self) -> None:
Expand Down Expand Up @@ -3611,7 +3610,6 @@ def temporary_directory(directory: str = ".", prefix: str = "tmp.") -> Iterator[


class StubFile:

"""Fake file that ignores everything."""

def write(*_: Any) -> None:
Expand Down
1 change: 1 addition & 0 deletions test_fuzz.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
done by doing a syntax check after the autoflake run. The number of
Pyflakes warnings is also confirmed to always improve.
"""

from __future__ import annotations

import argparse
Expand Down

0 comments on commit b8e0784

Please sign in to comment.