Skip to content

Commit

Permalink
flake8…
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Nov 19, 2024
1 parent 8d17bb2 commit 76f9aa8
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions apypie/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from __future__ import print_function, absolute_import

from typing import Optional, Any, Iterable, List, TYPE_CHECKING # pylint: disable=unused-import
from typing import Optional, Any, Iterable, List, TYPE_CHECKING # pylint: disable=unused-import # noqa: F401

from apypie.route import Route
from apypie.example import Example
Expand All @@ -17,7 +17,7 @@
basestring = str # pylint: disable=invalid-name,redefined-builtin

if TYPE_CHECKING:
from apypie.api import Api # pylint: disable=cyclic-import,unused-import
from apypie.api import Api # pylint: disable=cyclic-import,unused-import # noqa: F401

Check warning on line 21 in apypie/action.py

View check run for this annotation

Codecov / codecov/patch

apypie/action.py#L20-L21

Added lines #L20 - L21 were not covered by tests

class Action(object):
Expand Down
4 changes: 2 additions & 2 deletions apypie/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
from apypie.resource import Resource
from apypie.exceptions import DocLoadingError

from typing import Any, Iterable, Optional, TYPE_CHECKING # pylint: disable=unused-import
from typing import Any, Iterable, Optional, TYPE_CHECKING # pylint: disable=unused-import # noqa: F401

if TYPE_CHECKING:
from apypie.action import Action # pylint: disable=unused-import
from apypie.action import Action # pylint: disable=unused-import # noqa: F401


NO_CONTENT = 204
Expand Down
2 changes: 1 addition & 1 deletion apypie/foreman.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from apypie.api import Api

from apypie.resource import Resource # pylint: disable=unused-import
from apypie.resource import Resource # pylint: disable=unused-import # noqa: F401

# Foreman supports "per_page=all" since 2.2 (https://projects.theforeman.org/issues/29909)
# But plugins, especially Katello, do not: https://github.com/Katello/katello/pull/11126
Expand Down
2 changes: 1 addition & 1 deletion apypie/inflector.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import re

from typing import Iterable, Tuple # pylint: disable=unused-import
from typing import Iterable, Tuple # pylint: disable=unused-import # noqa: F401


class Inflections(object):
Expand Down
4 changes: 2 additions & 2 deletions apypie/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

from __future__ import print_function, absolute_import

from typing import Optional, Any, List, TYPE_CHECKING # pylint: disable=unused-import
from typing import Optional, Any, List, TYPE_CHECKING # pylint: disable=unused-import # noqa: F401

from apypie.action import Action

if TYPE_CHECKING:
from apypie.api import Api # pylint: disable=cyclic-import,unused-import
from apypie.api import Api # pylint: disable=cyclic-import,unused-import # noqa: F401

Check warning on line 12 in apypie/resource.py

View check run for this annotation

Codecov / codecov/patch

apypie/resource.py#L12

Added line #L12 was not covered by tests


class Resource(object):
Expand Down
2 changes: 1 addition & 1 deletion apypie/route.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

from urllib.parse import quote # type: ignore

from typing import List, Optional # pylint: disable=unused-import
from typing import List, Optional # pylint: disable=unused-import # noqa: F401


class Route(object):
Expand Down

0 comments on commit 76f9aa8

Please sign in to comment.