From 58c8e6016e9328c18b1e25a1fc20e1c57b69b7cb Mon Sep 17 00:00:00 2001 From: Ian Hellen Date: Fri, 2 Apr 2021 16:41:18 -0700 Subject: [PATCH] Suppress pylint warning in account_summary.py --- msticnb/nb/azsent/account/account_summary.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/msticnb/nb/azsent/account/account_summary.py b/msticnb/nb/azsent/account/account_summary.py index 30982b1..bda5a0a 100644 --- a/msticnb/nb/azsent/account/account_summary.py +++ b/msticnb/nb/azsent/account/account_summary.py @@ -788,6 +788,7 @@ def _create_host_ip_group(data, host_column, ip_column): ) +# pylint: disable=too-many-branches def _create_host_entities(data, geoip): """Create Host and IP Entities with GeoIP info.""" for row in data.itertuples(): @@ -818,6 +819,9 @@ def _create_host_entities(data, geoip): yield host_ent +# pylint: enable=too-many-branches + + def _create_aad_account_entity( account_name: str, acct_activity_df: pd.DataFrame, geoip ) -> entities.Account: