Skip to content

Commit

Permalink
Disable pylint deprecated option
Browse files Browse the repository at this point in the history
  • Loading branch information
kddejong committed Oct 7, 2023
1 parent b5343f5 commit 0dc86a4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ persistent=yes
disable=
missing-docstring, # not everything needs a docstring
fixme, # work in progress
bad-continuation, # clashes with black
too-few-public-methods, # triggers when inheriting
ungrouped-imports, # clashes with isort
duplicate-code, # broken, setup.py
Expand Down
1 change: 1 addition & 0 deletions src/cloudformation_cli_python_lib/identifier_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def generate_resource_identifier(
max_length: int,
) -> str:
if max_length < MIN_PHYSICAL_RESOURCE_ID_LENGTH:
# pylint: disable=broad-exception-raised
raise Exception(
f"Cannot generate resource IDs shorter than\
{MIN_PHYSICAL_RESOURCE_ID_LENGTH} characters."
Expand Down

0 comments on commit 0dc86a4

Please sign in to comment.