mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-27 12:04:50 +02:00
Numerous pycharm warnings resolved
This includes: * Better ways of checking empty lists * Not shadowing builtin functions like filter * Preventing invalid slash warnings by marking strings as regexps * Removing unnecessary brackets * Lowercase variable names * Adding/updating parameters in docstrings * Removing unused code (lines not chunks) * Change in not a member tests * Changing some methods to static * Shorting range membership checks * Missing parameters * Make some exception handlers more specific * Don't define a lambda to a variable * A few more instance checks to help type checkers
This commit is contained in:
@@ -220,7 +220,11 @@ class TranslationLayerRequirement(configuration.ConstructableRequirementInterfac
|
||||
|
||||
Args:
|
||||
name: Name of the configuration requirement
|
||||
layer_name: String detailing the expected name of the required layer, this can be None if it is to be randomly generated
|
||||
description: Description of the configuration requirement
|
||||
default: A default value (should not be used for TranslationLayers)
|
||||
optional: Whether the translation layer is required or not
|
||||
oses: A list of valid operating systems which can satisfy this requirement
|
||||
architectures: A list of valid architectures which can satisfy this requirement
|
||||
"""
|
||||
if oses is None:
|
||||
oses = []
|
||||
|
||||
Reference in New Issue
Block a user