Skip to content

Commit

Permalink
Flake8 Test ignore cases
Browse files Browse the repository at this point in the history
  • Loading branch information
alaa-bish committed Jan 23, 2022
1 parent 254fd90 commit eaa23c8
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
Empty file modified nutanix/ncp/plugins/README.md
100644 → 100755
Empty file.
7 changes: 4 additions & 3 deletions nutanix/ncp/plugins/modules/nutanix_images.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

# Copyright: (c) 2021
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import (absolute_import, division, print_function)
from __future__ import absolute_import, division, print_function

__metaclass__ = type


Expand Down Expand Up @@ -154,8 +155,8 @@
- 404 Invalid UUID provided
- 202 Request Accepted
'''
from ..module_utils.prism.images import Image
from ..module_utils.base_module import BaseModule
from ..module_utils.base_module import BaseModule # noqa: E402
from ..module_utils.prism.images import Image # noqa: E402


def run_module():
Expand Down
8 changes: 4 additions & 4 deletions nutanix/ncp/plugins/modules/nutanix_subnets.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

# Copyright: (c) 2021
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import (absolute_import, division, print_function)
from __future__ import absolute_import, division, print_function

__metaclass__ = type


Expand Down Expand Up @@ -138,9 +139,8 @@
- 404 Invalid UUID provided
- 202 Request Accepted
'''
from ..module_utils.prism.subnets import Subnet
from ..module_utils.base_module import BaseModule

from ..module_utils.base_module import BaseModule # noqa: E402
from ..module_utils.prism.subnets import Subnet # noqa: E402

def run_module():
module = BaseModule()
Expand Down
7 changes: 4 additions & 3 deletions nutanix/ncp/plugins/modules/nutanix_vms.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
# Copyright: (c) 2021
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)

from __future__ import (absolute_import, division, print_function)
from __future__ import absolute_import, division, print_function

__metaclass__ = type


Expand Down Expand Up @@ -274,8 +275,8 @@

RETURN = r"""
"""
from ..module_utils.prism.vms import VM
from ..module_utils.base_module import BaseModule
from ..module_utils.base_module import BaseModule # noqa: E402
from ..module_utils.prism.vms import VM


def run_module():
Expand Down

0 comments on commit eaa23c8

Please sign in to comment.