Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PyCQA/flake8
/ functions
Functions
526 in github.com/PyCQA/flake8
⨍
Functions
526
◇
Types & classes
51
↳
Endpoints
7
Function
test_styleguide_init_report_does_nothing
Verify if we use None that we don't call anything.
tests/unit/test_legacy_api.py:53
Function
test_styleguide_init_report_with_non_subclass
Verify we raise a ValueError with non BaseFormatter subclasses.
tests/unit/test_legacy_api.py:62
Function
test_styleguide_input_file
Verify we call StyleGuide.check_files with the filename.
tests/unit/test_legacy_api.py:87
Function
test_styleguide_options
Show that we proxy the StyleGuide.options attribute.
tests/unit/test_legacy_api.py:12
Function
test_styleguide_paths
Show that we proxy the StyleGuide.paths attribute.
tests/unit/test_legacy_api.py:20
Function
test_to_argparse
Test conversion to an argparse arguments.
tests/unit/test_option.py:12
Function
test_to_argparse_creates_an_option_as_we_expect
Show that we pass all keyword args to argparse.
tests/unit/test_option.py:30
Function
test_tokenization_error_but_not_syntax_error
Test that flake8 does not crash on tokenization errors.
tests/integration/test_main.py:164
Function
test_tokenization_error_is_a_syntax_error
Test when tokenize raises a SyntaxError.
tests/integration/test_main.py:181
Function
test_tstring_logical_line
(tmpdir, capsys)
tests/integration/test_plugins.py:302
Function
test_undefined_local_code
In pyflakes 2.1.0 this code's string formatting was changed.
tests/unit/test_pyflakes_codes.py:31
Function
test_up_to_date
Validate that the generated pycodestyle plugin is up to date. We generate two "meta" plugins for pycodestyle to avoid calling overhead. To r
tests/unit/plugins/pycodestyle_test.py:12
Function
test_user_can_extend_select_to_enable_plugin_default_ignored
()
tests/unit/test_decision_engine.py:214
Function
test_valid_plugin_prefixes
(s)
tests/unit/test_defaults.py:19
Function
test_visited_new_blank_line
Verify we update the number of blank lines seen.
tests/unit/test_file_processor.py:315
Function
test_was_ignored_ignores_errors
Verify we detect users explicitly ignoring an error.
tests/unit/test_decision_engine.py:35
Function
test_was_ignored_implicitly_selects_errors
Verify we detect users does not explicitly ignore an error.
tests/unit/test_decision_engine.py:55
Function
test_was_selected_excludes_errors
Verify we detect users implicitly excludes an error.
tests/unit/test_decision_engine.py:115
Function
test_was_selected_implicitly_selects_errors
Verify we detect users implicitly selecting an error.
tests/unit/test_decision_engine.py:92
Function
test_was_selected_selects_errors
Verify we detect users explicitly selecting an error.
tests/unit/test_decision_engine.py:80
Function
test_write_produces_stdout
Verify that we write to stdout without an output file.
tests/unit/test_base_formatter.py:131
Function
test_write_uses_an_output_file
Verify that we use the output file when it's present.
tests/unit/test_base_formatter.py:108
Function
token_is_newline
Check if the token type is a newline token type.
src/flake8/processor.py:401
Method
total_errors
Return the total number of errors.
src/flake8/api/legacy.py:50
Function
yields_logical_line
(logical_line)
tests/integration/test_plugins.py:236
Function
yields_physical_line
(physical_line)
tests/integration/test_plugins.py:170
← previous
501–526 of 526, ranked by callers