Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: remove usage of 'from ... import *'#1319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nejch merged 1 commit intopython-gitlab:masterfromJohnVillalovos:jlvillal/import_star
Feb 25, 2021
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletionsgitlab/v4/objects/access_requests.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
from gitlab.base import * # noqa
from gitlab.mixins import * # noqa
from gitlab.base import RESTManager, RESTObject
from gitlab.mixins import (
AccessRequestMixin,
CreateMixin,
DeleteMixin,
ListMixin,
ObjectDeleteMixin,
)


__all__ = [
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/appearance.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
from gitlab import exceptions as exc
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importGetWithoutIdMixin, SaveMixin, UpdateMixin


__all__ = [
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/applications.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importCreateMixin, DeleteMixin, ListMixin, ObjectDeleteMixin

__all__ = [
"Application",
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/audit_events.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,8 +3,8 @@
https://docs.gitlab.com/ee/api/audit_events.html#project-audit-events
"""

from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importRetrieveMixin

__all__ = [
"ProjectAudit",
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/award_emojis.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importNoUpdateMixin, ObjectDeleteMixin


__all__ = [
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/badges.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importBadgeRenderMixin, CRUDMixin, ObjectDeleteMixin, SaveMixin


__all__ = [
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/boards.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importCRUDMixin, ObjectDeleteMixin, SaveMixin


__all__ = [
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/branches.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
from gitlab import cli
from gitlab import exceptions as exc
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importNoUpdateMixin, ObjectDeleteMixin


__all__ = [
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/broadcast_messages.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importCRUDMixin, ObjectDeleteMixin, SaveMixin


__all__ = [
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/clusters.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
from gitlab import exceptions as exc
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importCRUDMixin, CreateMixin, ObjectDeleteMixin, SaveMixin


__all__ = [
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/commits.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
from gitlab import cli
from gitlab import exceptions as exc
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importCreateMixin, ListMixin, RefreshMixin, RetrieveMixin
from .discussions import ProjectCommitDiscussionManager


Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/container_registry.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
from gitlab import cli
from gitlab import exceptions as exc
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importDeleteMixin, ListMixin, ObjectDeleteMixin, RetrieveMixin


__all__ = [
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/custom_attributes.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importDeleteMixin, ObjectDeleteMixin, RetrieveMixin, SetMixin


__all__ = [
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/deploy_keys.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
from gitlab import cli
from gitlab import exceptions as exc
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importCRUDMixin, ListMixin, ObjectDeleteMixin, SaveMixin


__all__ = [
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/deploy_tokens.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importCreateMixin, DeleteMixin, ListMixin, ObjectDeleteMixin


__all__ = [
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/deployments.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importCreateMixin, RetrieveMixin, SaveMixin, UpdateMixin


__all__ = [
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/discussions.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importCreateMixin, RetrieveMixin, SaveMixin, UpdateMixin
from .notes import (
ProjectCommitDiscussionNoteManager,
ProjectIssueDiscussionNoteManager,
Expand Down
11 changes: 9 additions & 2 deletionsgitlab/v4/objects/environments.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
from gitlab import cli
from gitlab import exceptions as exc
from gitlab.base import * # noqa
from gitlab.mixins import * # noqa
from gitlab.base import RESTManager, RESTObject
from gitlab.mixins import (
CreateMixin,
DeleteMixin,
ObjectDeleteMixin,
RetrieveMixin,
SaveMixin,
UpdateMixin,
)


__all__ = [
Expand Down
12 changes: 10 additions & 2 deletionsgitlab/v4/objects/epics.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
from gitlab import types
from gitlab import exceptions as exc
from gitlab.base import * # noqa
from gitlab.mixins import * # noqa
from gitlab.base import RESTManager, RESTObject
from gitlab.mixins import (
CRUDMixin,
CreateMixin,
DeleteMixin,
ListMixin,
ObjectDeleteMixin,
SaveMixin,
UpdateMixin,
)
from .events import GroupEpicResourceLabelEventManager


Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/events.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
from gitlab import exceptions as exc
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importListMixin, RetrieveMixin


__all__ = [
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/export_import.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importCreateMixin, DownloadMixin, GetWithoutIdMixin, RefreshMixin


__all__ = [
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/features.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
from gitlab import utils
from gitlab import exceptions as exc
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importDeleteMixin, ListMixin, ObjectDeleteMixin


__all__ = [
Expand Down
11 changes: 9 additions & 2 deletionsgitlab/v4/objects/files.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
import base64
from gitlab import cli, utils
from gitlab import exceptions as exc
from gitlab.base import * # noqa
from gitlab.mixins import * # noqa
from gitlab.base import RESTManager, RESTObject
from gitlab.mixins import (
CreateMixin,
DeleteMixin,
GetMixin,
ObjectDeleteMixin,
SaveMixin,
UpdateMixin,
)


__all__ = [
Expand Down
10 changes: 8 additions & 2 deletionsgitlab/v4/objects/geo_nodes.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
from gitlab import cli
from gitlab import exceptions as exc
from gitlab.base import * # noqa
from gitlab.mixins import * # noqa
from gitlab.base import RESTManager, RESTObject
from gitlab.mixins import (
DeleteMixin,
ObjectDeleteMixin,
RetrieveMixin,
SaveMixin,
UpdateMixin,
)


__all__ = [
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/groups.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
from gitlab import cli, types
from gitlab import exceptions as exc
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importCRUDMixin, ListMixin, ObjectDeleteMixin, SaveMixin
from .access_requests import GroupAccessRequestManager
from .badges import GroupBadgeManager
from .boards import GroupBoardManager
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/hooks.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importCRUDMixin, NoUpdateMixin, ObjectDeleteMixin, SaveMixin


__all__ = [
Expand Down
17 changes: 15 additions & 2 deletionsgitlab/v4/objects/issues.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,20 @@
from gitlab import cli, types
from gitlab import exceptions as exc
from gitlab.base import * # noqa
from gitlab.mixins import * # noqa
from gitlab.base import RESTManager, RESTObject
from gitlab.mixins import (
CRUDMixin,
CreateMixin,
DeleteMixin,
ListMixin,
ObjectDeleteMixin,
ParticipantsMixin,
RetrieveMixin,
SaveMixin,
SubscribableMixin,
TimeTrackingMixin,
TodoMixin,
UserAgentDetailMixin,
)
from .award_emojis import ProjectIssueAwardEmojiManager
from .discussions import ProjectIssueDiscussionManager
from .events import (
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/jobs.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
from gitlab import cli, utils
from gitlab import exceptions as exc
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importRefreshMixin, RetrieveMixin


__all__ = [
Expand Down
13 changes: 11 additions & 2 deletionsgitlab/v4/objects/labels.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
from gitlab import exceptions as exc
from gitlab.base import * # noqa
from gitlab.mixins import * # noqa
from gitlab.base import RESTManager, RESTObject
from gitlab.mixins import (
CreateMixin,
DeleteMixin,
ListMixin,
ObjectDeleteMixin,
RetrieveMixin,
SaveMixin,
SubscribableMixin,
UpdateMixin,
)


__all__ = [
Expand Down
3 changes: 1 addition & 2 deletionsgitlab/v4/objects/ldap.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
from gitlab import exceptions as exc
from gitlab.base import * # noqa
from gitlab.mixins import * # noqa
from gitlab.base import RESTManager, RESTObject, RESTObjectList


__all__ = [
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/members.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
from gitlab import cli
from gitlab import exceptions as exc
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importCRUDMixin, ObjectDeleteMixin, SaveMixin


__all__ = [
Expand Down
12 changes: 10 additions & 2 deletionsgitlab/v4/objects/merge_request_approvals.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
from gitlab import exceptions as exc
from gitlab.base import * # noqa
from gitlab.mixins import * # noqa
from gitlab.base import RESTManager, RESTObject
from gitlab.mixins import (
CreateMixin,
DeleteMixin,
GetWithoutIdMixin,
ListMixin,
ObjectDeleteMixin,
SaveMixin,
UpdateMixin,
)


__all__ = [
Expand Down
14 changes: 12 additions & 2 deletionsgitlab/v4/objects/merge_requests.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
from gitlab import cli, types
from gitlab import exceptions as exc
from gitlab.base import * # noqa
from gitlab.mixins import * # noqa
from gitlab.base import RESTManager, RESTObject, RESTObjectList
from gitlab.mixins import (
CRUDMixin,
ListMixin,
ObjectDeleteMixin,
ParticipantsMixin,
RetrieveMixin,
SaveMixin,
SubscribableMixin,
TimeTrackingMixin,
TodoMixin,
)
from .commits import ProjectCommit, ProjectCommitManager
from .issues import ProjectIssue, ProjectIssueManager
from .merge_request_approvals import (
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/milestones.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
from gitlab import cli
from gitlab import exceptions as exc
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject, RESTObjectList
from gitlab.mixins importCRUDMixin, ObjectDeleteMixin, SaveMixin
from .issues import GroupIssue, GroupIssueManager, ProjectIssue, ProjectIssueManager
from .merge_requests import (
ProjectMergeRequest,
Expand Down
4 changes: 2 additions & 2 deletionsgitlab/v4/objects/namespaces.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
from gitlab.base import* # noqa
from gitlab.mixins import* # noqa
from gitlab.base importRESTManager, RESTObject
from gitlab.mixins importRetrieveMixin


__all__ = [
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp