Skip to content

Commit 0dc86a4

Browse files
committed
Disable pylint deprecated option
1 parent b5343f5 commit 0dc86a4

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.pylintrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ persistent=yes
99
disable=
1010
missing-docstring, # not everything needs a docstring
1111
fixme, # work in progress
12-
bad-continuation, # clashes with black
1312
too-few-public-methods, # triggers when inheriting
1413
ungrouped-imports, # clashes with isort
1514
duplicate-code, # broken, setup.py

src/cloudformation_cli_python_lib/identifier_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def generate_resource_identifier(
2020
max_length: int,
2121
) -> str:
2222
if max_length < MIN_PHYSICAL_RESOURCE_ID_LENGTH:
23+
# pylint: disable=broad-exception-raised
2324
raise Exception(
2425
f"Cannot generate resource IDs shorter than\
2526
{MIN_PHYSICAL_RESOURCE_ID_LENGTH} characters."

0 commit comments

Comments
 (0)