Skip to content

Commit 1bc8a47

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d163124 commit 1bc8a47

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+62
-0
lines changed

example-plugin/src/flake8_example_plugin/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Module for an example Flake8 plugin."""
2+
23
from __future__ import annotations
34

45
from .off_by_default import ExampleTwo

example-plugin/src/flake8_example_plugin/off_by_default.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Our first example plugin."""
2+
23
from __future__ import annotations
34

45

example-plugin/src/flake8_example_plugin/on_by_default.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Our first example plugin."""
2+
23
from __future__ import annotations
34

45

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Packaging logic for Flake8."""
2+
23
from __future__ import annotations
34

45
import os

src/flake8/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
.. autofunction:: flake8.configure_logging
1010
1111
"""
12+
1213
from __future__ import annotations
1314

1415
import logging

src/flake8/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Module allowing for ``python -m flake8 ...``."""
2+
23
from __future__ import annotations
34

45
from flake8.main.cli import main

src/flake8/api/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
This is the only submodule in Flake8 with a guaranteed stable API. All other
44
submodules are considered internal only and are subject to change.
55
"""
6+
67
from __future__ import annotations

src/flake8/api/legacy.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Previously, users would import :func:`get_style_guide` from ``flake8.engine``.
44
In 3.0 we no longer have an "engine" module but we maintain the API from it.
55
"""
6+
67
from __future__ import annotations
78

89
import argparse

src/flake8/checker.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Checker Manager and Checker classes."""
2+
23
from __future__ import annotations
34

45
import argparse

src/flake8/defaults.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
"""Constants that define defaults."""
2+
23
from __future__ import annotations
34

45
import re

0 commit comments

Comments
 (0)