Skip to content

Commit a9ecfa3

Browse files
committed
fix pylint
1 parent f8747d8 commit a9ecfa3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

nautobot_secrets_providers/providers/aws.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def get_value_for_secret(cls, secret, obj=None, **kwargs):
137137
# Create a SSM client.
138138
session = boto3.session.Session()
139139
client = session.client(service_name="ssm", region_name=parameters.get("region"))
140-
try:
140+
try: # pylint: disable=no-else-raise
141141
get_secret_value_response = client.get_parameter(Name=parameters.get("name"), WithDecryption=True)
142142
except ClientError as err:
143143
if err.response["Error"]["Code"] == "ParameterNotFound":

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ ignore = ["nautobot_config.py"]
106106
# Pylint and Black disagree about how to format multi-line arrays; Black wins.
107107
disable = """,
108108
line-too-long,
109-
bad-continuation,
110109
"""
111110

112111
[tool.pylint.miscellaneous]

0 commit comments

Comments
 (0)