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