From fda0411555ce4370fc5a844f6887840d6b303d6a Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 30 Mar 2022 13:52:53 -0400 Subject: [PATCH] Island: Format with Black --- .../server_utils/encryption/password_based_bytes_encryptor.py | 4 ++-- .../cc/services/attack/technique_reports/__init__.py | 2 +- .../cc/services/attack/technique_reports/pba_technique.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/monkey/monkey_island/cc/server_utils/encryption/password_based_bytes_encryptor.py b/monkey/monkey_island/cc/server_utils/encryption/password_based_bytes_encryptor.py index dd9ea329f..e28ebf4c8 100644 --- a/monkey/monkey_island/cc/server_utils/encryption/password_based_bytes_encryptor.py +++ b/monkey/monkey_island/cc/server_utils/encryption/password_based_bytes_encryptor.py @@ -56,8 +56,8 @@ class PasswordBasedBytesEncryptor(IEncryptor): class InvalidCredentialsError(Exception): - """ Raised when password for decryption is invalid """ + """Raised when password for decryption is invalid""" class InvalidCiphertextError(Exception): - """ Raised when ciphertext is corrupted """ + """Raised when ciphertext is corrupted""" diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/__init__.py b/monkey/monkey_island/cc/services/attack/technique_reports/__init__.py index e11d6297b..785c0fe27 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/__init__.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/__init__.py @@ -16,7 +16,7 @@ logger = logging.getLogger(__name__) class AttackTechnique(object, metaclass=abc.ABCMeta): - """ Abstract class for ATT&CK report components """ + """Abstract class for ATT&CK report components""" config_schema_per_attack_technique = None diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/pba_technique.py b/monkey/monkey_island/cc/services/attack/technique_reports/pba_technique.py index c370590d9..18397959b 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/pba_technique.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/pba_technique.py @@ -7,7 +7,7 @@ from monkey_island.cc.services.attack.technique_reports import AttackTechnique class PostBreachTechnique(AttackTechnique, metaclass=abc.ABCMeta): - """ Class for ATT&CK report components of post-breach actions """ + """Class for ATT&CK report components of post-breach actions""" @property @abc.abstractmethod