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 8ebd805
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion 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 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

Check warning on line 21 in apypie/api.py

View check run for this annotation

Codecov / codecov/patch

apypie/api.py#L21

Added line #L21 was not covered by tests


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
2 changes: 1 addition & 1 deletion apypie/resource.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, 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

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 8ebd805

Please sign in to comment.