Skip to content

Commit

Permalink
fix: minor edits to adhere check-lint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
soulless-viewer committed Feb 22, 2024
1 parent 3d35c8a commit bca9ae6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -289,15 +289,12 @@ single-line-if-stmt=yes
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
# `trailing-comma` allows a space between comma and closing bracket: (a, ).
# `empty-line` allows space-only lines.
no-space-check=
# no-space-check=

# Maximum number of lines in a module
max-module-lines=99999

# String used as indentation unit. The internal Google style guide mandates 2
# spaces. Google's externaly-published style guide says 4, consistent with
# PEP 8. Here, we use 2 spaces, for conformity with many open-sourced Google
# projects (like TensorFlow).
# String used as indentation unit.
indent-string=' '

# Number of spaces of indent required inside a hanging or continued line.
Expand Down
2 changes: 1 addition & 1 deletion gce_rescue/gce.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@

from typing import Dict, List, Union
from dataclasses import dataclass, field
from gce_rescue.config import get_config
from googleapiclient.errors import HttpError
from googleapiclient.discovery import Resource
from gce_rescue.config import get_config
from gce_rescue.tasks.pre_validations import Validations
from gce_rescue.tasks.backup import backup_metadata_items
from gce_rescue.tasks.disks import list_disk, list_snapshot
Expand Down
2 changes: 1 addition & 1 deletion gce_rescue/messages_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@

"""Test code for messages.py."""

from gce_rescue import messages
from absl.testing import absltest
from gce_rescue import messages
from gce_rescue.gce import Instance
from gce_rescue.test.mocks import mock_api_object, MOCK_TEST_VM

Expand Down

0 comments on commit bca9ae6

Please sign in to comment.