Fix up sphinx warnings.

This commit is contained in:
Mike Auty
2018-03-20 22:30:05 +00:00
parent ccb1903003
commit c6a58ffc06
3 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -236,7 +236,7 @@ class WintelHelper(interfaces.automagic.AutomagicInterface):
and both determines the directory table base of an intel layer if one hasn't been specified, and constructs
the intel layer if necessary (for example when reconstructing a pre-existing configuration).
It will scan for existing TranslationLayers that do not have a DTB using the :class:`PageMapScanner"""
It will scan for existing TranslationLayers that do not have a DTB using the :class:`PageMapScanner`"""
priority = 20
tests = [DtbTest32bit(), DtbTest64bit(), DtbTestPae()]
+3 -6
View File
@@ -6,10 +6,7 @@ import typing
from abc import abstractmethod
from volatility.framework import constants, exceptions, validity
from volatility.framework.interfaces import configuration, objects
if typing.TYPE_CHECKING:
from volatility.framework import interfaces
from volatility.framework.interfaces import configuration, objects, context as interfaces_context
class Symbol(validity.ValidityRoutines):
@@ -222,14 +219,14 @@ class SymbolTableInterface(BaseSymbolTableInterface, configuration.ConfigurableI
"""Handles a table of symbols"""
def __init__(self,
context: 'interfaces.context.ContextInterface',
context: 'interfaces_context.ContextInterface',
config_path: str,
name: str,
native_types: 'NativeTableInterface' = None) -> None:
configuration.ConfigurableInterface.__init__(self, context, config_path)
BaseSymbolTableInterface.__init__(self, name, native_types)
def build_configuration(self) -> 'interfaces.configuration.HierarchicalDict':
def build_configuration(self) -> 'configuration.HierarchicalDict':
config = super().build_configuration()
# Translation Layers are constructable, and therefore require a class configuration variable
@@ -1,10 +1,11 @@
"""The official list of format hints that text renderers and plugins can rely upon existing within the framework
These hints allow a plugin to indicate how they'd like a particular column's data to be represented.
These hints allow a plugin to indicate how they would like data from a particular column to be represented.
Text renderers should attempt to honour all hints provided in this module where possible
"""
class Bin(int):
"""A class to indicate that the integer value should be represented as a binary value"""