statick_tool package

Module Contents

Making code quality easier.

Subpackages

Submodules

statick_tool.args module

Custom argument handling.

Enable usage of user-paths argument before parsing other arguments.

class statick_tool.args.Args(name: str)[source]

Bases: object

Custom argument handling.

Enable usage of user-paths argument before parsing other arguments.

get_args(args: Optional[List[str]] = None) → argparse.Namespace[source]

Get parsed command-line arguments.

get_user_paths(args: Any = None) → List[str][source]

Get a list of user paths containing config or plugins.

statick_tool.config module

statick_tool.discovery_plugin module

statick_tool.exceptions module

statick_tool.issue module

Issue interface.

class statick_tool.issue.Issue(filename, line_number, tool, issue_type, severity, message, cert_reference)

Bases: tuple

cert_reference

Alias for field number 6

filename

Alias for field number 0

issue_type

Alias for field number 3

line_number

Alias for field number 1

message

Alias for field number 5

severity

Alias for field number 4

tool

Alias for field number 2

statick_tool.package module

Package interface.

class statick_tool.package.Package(name: str, path: str)[source]

Bases: dict

Default implementation of package interface.

statick_tool.plugin_context module

statick_tool.profile module

statick_tool.resources module

Manages plugin and file lookup chaining.

Handles chaining user directories and the default statick resource directory.

class statick_tool.resources.Resources(paths: List[str])[source]

Bases: object

Manages plugin and file lookup chaining.

Handles chaining user directories and the default statick resource directory.

get_file(filename: str) → Optional[str][source]

Get full path to file for default and user-defined resource paths.

get_plugin_paths() → List[str][source]

Get paths where plugins are located.

statick_tool.statick module

statick_tool.tool_plugin module