Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyCQA/flake8
/ types & classes
Types & classes
51 in github.com/PyCQA/flake8
⨍
Functions
525
◇
Types & classes
51
↳
Endpoints
7
↓ 14 callers
Class
Violation
Class representing a violation reported by Flake8.
src/flake8/violation.py:22
↓ 6 callers
Class
JobsArgument
Type callback for the --jobs argument.
src/flake8/main/options.py:81
↓ 3 callers
Class
Plugin
A plugin before loading.
src/flake8/plugins/finder.py:30
↓ 2 callers
Class
DecisionEngine
A class for managing the decision process around violations. This contains the logic for whether a violation should be reported or ignored.
src/flake8/style_guide.py:69
↓ 2 callers
Class
ExecutionError
Exception raised during execution of Flake8.
src/flake8/exceptions.py:13
↓ 2 callers
Class
FileChecker
Manage running checks for a file and aggregate the results.
src/flake8/checker.py:264
↓ 2 callers
Class
OptionManager
Manage Options and OptionParser while adding post-processing.
src/flake8/options/manager.py:207
↓ 2 callers
Class
StyleGuide
Manage a Flake8 user's style guide.
src/flake8/style_guide.py:295
↓ 1 callers
Class
AfterInitFormatter
Subclass for testing after_init.
tests/unit/test_base_formatter.py:185
↓ 1 callers
Class
Checkers
Classified plugins needed for checking.
src/flake8/plugins/finder.py:56
↓ 1 callers
Class
FailedToLoadPlugin
Exception raised when a plugin fails to load.
src/flake8/exceptions.py:17
↓ 1 callers
Class
FormatFormatter
Subclass for testing format.
tests/unit/test_base_formatter.py:199
↓ 1 callers
Class
LoadedPlugin
Represents a plugin after being imported.
src/flake8/plugins/finder.py:38
↓ 1 callers
Class
Option
Our wrapper around an argparse argument parsers to add features.
src/flake8/options/manager.py:41
↓ 1 callers
Class
PluginOptions
Options related to plugin loading.
src/flake8/plugins/finder.py:91
↓ 1 callers
Class
Plugins
Classified plugins.
src/flake8/plugins/finder.py:64
↓ 1 callers
Class
Report
Public facing object that mimic's Flake8 2.0's API. .. note:: There are important changes in how this object behaves compared to
src/flake8/api/legacy.py:24
↓ 1 callers
Class
StyleGuide
Public facing object that mimic's Flake8 2.0's StyleGuide. .. note:: There are important changes in how this object behaves compared to
src/flake8/api/legacy.py:68
↓ 1 callers
Class
_Token
src/flake8/utils.py:45
Class
AlwaysErrors
tests/integration/test_plugins.py:116
Class
AlwaysErrorsDisabled
tests/integration/test_plugins.py:124
Class
Application
Abstract our application into a class.
src/flake8/main/application.py:25
Class
BaseFormatter
Class defining the formatter interface. .. attribute:: options The options parsed from both configuration files and the command-line.
src/flake8/formatting/base.py:14
Class
Decision
Enum representing whether a code should be ignored or selected.
src/flake8/style_guide.py:38
Class
Default
Default formatter for Flake8. This also handles backwards compatibility for people specifying a custom format string.
src/flake8/formatting/default.py:56
Class
EarlyQuit
Except raised when encountering a KeyboardInterrupt.
src/flake8/exceptions.py:9
Class
ExampleOne
First Example Plugin.
example-plugin/src/flake8_example_plugin/on_by_default.py:5
Class
ExampleTwo
Second Example Plugin.
example-plugin/src/flake8_example_plugin/off_by_default.py:5
Class
ExtensionTestPlugin
Extension test plugin.
tests/integration/test_plugins.py:17
Class
ExtensionTestPlugin2
Extension test plugin in its own directory.
tests/integration/subdir/aplugin.py:5
Class
FakeCheck
tests/unit/plugins/finder_test.py:642
Class
FakeFormatter
tests/unit/test_legacy_api.py:77
Class
FileProcessor
Processes a file and holds state. This processes a file by generating tokens, logical and physical lines, and AST trees. This also provides a
src/flake8/processor.py:31
Class
FilenameOnly
Only print filenames, e.g., flake8 -q.
src/flake8/formatting/default.py:81
Class
Flake8Exception
Plain Flake8 exception.
src/flake8/exceptions.py:5
Class
FlakesChecker
Subclass the Pyflakes checker to conform with the flake8 API.
src/flake8/plugins/pyflakes.py:70
Class
Ignored
Enum representing an explicitly or implicitly ignored code.
src/flake8/style_guide.py:31
Class
Key
Simple key structure for the Statistics dictionary. To make things clearer, easier to read, and more understandable, we use a namedtuple here
src/flake8/statistics.py:69
Class
Manager
Manage the parallelism and checker instances for each plugin and file. This class will be responsible for the following: - Determining the p
src/flake8/checker.py:84
Class
Nothing
Print absolutely nothing.
src/flake8/formatting/default.py:102
Class
PluginClass
Simple file plugin class yielding the expected report.
tests/integration/test_checker.py:20
Class
PluginExecutionFailed
The plugin failed during execution.
src/flake8/exceptions.py:55
Class
PluginRequestedUnknownParameters
The plugin requested unknown parameters.
src/flake8/exceptions.py:36
Class
Pylint
Pylint formatter for Flake8.
src/flake8/formatting/default.py:75
Class
ReportTestPlugin
Report test plugin.
tests/integration/test_plugins.py:32
Class
Selected
Enum representing an explicitly or implicitly selected code.
src/flake8/style_guide.py:24
Class
SimpleFormatter
Simple abstraction for Default and Pylint formatter commonality. Sub-classes of this need to define an ``error_format`` attribute in order to
src/flake8/formatting/default.py:22
Class
State
src/flake8/utils.py:98
Class
Statistic
Simple wrapper around the logic of each statistic. Instead of maintaining a simple but potentially hard to reason about tuple, we create a cl
src/flake8/statistics.py:102
Class
Statistics
Manager of aggregated statistics for a run of Flake8.
src/flake8/statistics.py:10
Class
StyleGuideManager
Manage multiple style guides for a single run.
src/flake8/style_guide.py:202