Skip to content

Commit

Permalink
Add more SonarCloud exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenning committed Oct 13, 2023
1 parent 1e0c17d commit 7dbe5ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ciscoconfparse/ccp_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@
# Disable SonarCloud warnings in this file
# - S1192: Define a constant instead of duplicating this literal
# - S1313: Disable alerts on magic IPv4 / IPv6 addresses
# - S6395: Unwrap this unnecessarily grouped regex subpattern.
##############################################################################
#pragma warning disable S1192
#pragma warning disable S1313
#pragma warning disable S6395

from operator import attrgetter
from functools import wraps
Expand Down Expand Up @@ -3586,3 +3588,4 @@ def compressed_str(self):

#pragma warning restore S1192
#pragma warning restore S1313
#pragma warning restore S6395

0 comments on commit 7dbe5ea

Please sign in to comment.