MCPcopy Create free account

hub / github.com/psf/black / functions

Functions1,067 in github.com/psf/black

Functiontest
(self, othr)
tests/data/simple_cases/torture.py:20
Methodtest
(self)
tests/data/simple_cases/composition.py:2
Methodtest
(self)
tests/data/simple_cases/composition_no_trailing_comma.py:2
Methodtest_assertFormatEqual
(self)
tests/test_black.py:1089
Methodtest_assert_equivalent_different_asts
(self)
tests/test_black.py:1497
Methodtest_async_as_identifier
(self)
tests/test_black.py:428
Functiontest_async_for
()
tests/data/simple_cases/fmtskip8.py:43
Functiontest_async_with
()
tests/data/simple_cases/fmtskip8.py:60
Functiontest_automagic
()
tests/test_ipynb.py:224
Methodtest_blackd_diff
(self)
tests/test_blackd.py:115
Methodtest_blackd_invalid_line_length
(self)
tests/test_blackd.py:172
Methodtest_blackd_invalid_python_variant
(self)
tests/test_blackd.py:83
Methodtest_blackd_line_length
(self)
tests/test_blackd.py:165
Methodtest_blackd_main
(self)
tests/test_blackd.py:35
Methodtest_blackd_preview
(self)
tests/test_blackd.py:195
Methodtest_blackd_pyi
(self)
tests/test_blackd.py:106
Methodtest_blackd_python_variant
(self)
tests/test_blackd.py:133
Methodtest_blackd_request_needs_formatting
(self)
tests/test_blackd.py:46
Methodtest_blackd_request_no_change
(self)
tests/test_blackd.py:53
Methodtest_blackd_request_syntax_error
(self)
tests/test_blackd.py:59
Methodtest_blackd_response_black_version_header
(self)
tests/test_blackd.py:202
Methodtest_blackd_skip_first_source_line
(self)
tests/test_blackd.py:181
Methodtest_blackd_supported_version
(self)
tests/test_blackd.py:76
Methodtest_blackd_unsupported_version
(self)
tests/test_blackd.py:69
Methodtest_bpo_2142_workaround
(self)
tests/test_black.py:1763
Methodtest_bpo_33660_workaround
(self)
tests/test_black.py:1727
Methodtest_broken_symlink
(self)
tests/test_black.py:1139
Methodtest_cache_broken_file
(self)
tests/test_black.py:1970
Functiontest_cache_isnt_written_if_no_jupyter_deps_dir
( monkeypatch: MonkeyPatch, tmp_path: pathlib.Path )
tests/test_ipynb.py:461
Functiontest_cache_isnt_written_if_no_jupyter_deps_single
( monkeypatch: MonkeyPatch, tmp_path: pathlib.Path )
tests/test_ipynb.py:435
Methodtest_cache_multiple_files
(self)
tests/test_black.py:1992
Methodtest_cache_single_file_already_cached
(self)
tests/test_black.py:1982
Functiontest_calculate_fades
()
tests/data/simple_cases/fmtonoff2.py:33
Functiontest_cell_magic
(mode: Mode)
tests/test_ipynb.py:85
Functiontest_cell_magic_nested
()
tests/test_ipynb.py:211
Functiontest_cell_magic_noop
()
tests/test_ipynb.py:92
Functiontest_cell_magic_with_custom_python_magic
( mode: Mode, expected_output: str, expectation: ContextManager[object] )
tests/test_ipynb.py:199
Functiontest_cell_magic_with_invalid_body
()
tests/test_ipynb.py:243
Functiontest_cell_magic_with_magic
()
tests/test_ipynb.py:169
Functiontest_cell_magic_with_magic_noop
()
tests/test_ipynb.py:218
Methodtest_check_diff_use_together
(self)
tests/test_black.py:1120
Methodtest_code_option
Test the code option with no changes.
tests/test_black.py:1794
Methodtest_code_option_changed
Test the code option when changes are required.
tests/test_black.py:1802
Methodtest_code_option_check
Test the code option when check is passed.
tests/test_black.py:1812
Methodtest_code_option_check_changed
Test the code option when changes are required, and check is passed.
tests/test_black.py:1818
Methodtest_code_option_color_diff
Test the code option when color and diff are passed.
tests/test_black.py:1839
Methodtest_code_option_config
Test that the code option finds the pyproject.toml in the current directory.
tests/test_black.py:1882
Methodtest_code_option_diff
Test the code option when diff is passed.
tests/test_black.py:1824
Methodtest_code_option_fast
Test that the code option ignores errors when the sanity checks fail.
tests/test_black.py:1869
Methodtest_code_option_parent_config
Test that the code option finds the pyproject.toml in the parent directory.
tests/test_black.py:1903
Methodtest_code_option_safe
Test that the code option throws an error when the sanity checks fail.
tests/test_black.py:1857
Methodtest_cors_headers_present
(self)
tests/test_blackd.py:222
Methodtest_cors_preflight
(self)
tests/test_blackd.py:207
Methodtest_debug_visitor
(self)
tests/test_black.py:1026
Methodtest_detect_debug_f_strings
(self)
tests/test_black.py:342
Methodtest_detect_pos_only_arguments
(self)
tests/test_black.py:334
Functiontest_docstring_line_length_6
Like test_docstring but with line length set to 6.
tests/test_format.py:157
Functiontest_docstring_no_string_normalization
Like test_docstring but with string normalization off.
tests/test_format.py:150
Functiontest_empty
()
tests/test_format.py:74
Functiontest_empty_cell
()
tests/test_ipynb.py:249
Methodtest_empty_ff
(self)
tests/test_black.py:146
Methodtest_empty_include
(self)
tests/test_black.py:2335
Functiontest_empty_string
()
tests/test_ipynb.py:397
Methodtest_endmarker
(self)
tests/test_black.py:1081
Functiontest_entire_notebook_empty_metadata
()
tests/test_ipynb.py:255
Functiontest_entire_notebook_no_trailing_newline
()
tests/test_ipynb.py:337
Functiontest_entire_notebook_trailing_newline
()
tests/test_ipynb.py:290
Functiontest_entire_notebook_without_changes
()
tests/test_ipynb.py:384
Methodtest_equivalency_ast_parse_failure_includes_error
(self)
tests/test_black.py:1931
Methodtest_exclude_for_issue_1572
(self)
tests/test_black.py:2210
Methodtest_experimental_string_processing_warns
(self)
tests/test_black.py:185
Methodtest_expression_diff
(self)
tests/test_black.py:288
Methodtest_expression_diff_with_color
(self)
tests/test_black.py:314
Methodtest_expression_ff
(self)
tests/test_black.py:274
Methodtest_extend_exclude
(self)
tests/test_black.py:2354
Functiontest_fader
(test)
tests/data/simple_cases/fmtonoff2.py:18
Methodtest_failed_formatting_does_not_get_cached
(self)
tests/test_black.py:2103
Methodtest_fails_invalid_post_data
( self, pyramid_config, db_request, post_data, message )
tests/data/simple_cases/comments4.py:52
Methodtest_fails_invalid_post_data
( self, pyramid_config, db_request, post_data, message )
tests/data/preview/comments7.py:127
Methodtest_false_positive_symlink_output_issue_3384
(self)
tests/test_black.py:479
Functiontest_fast_cases
(filename: str)
tests/test_format.py:138
Functiontest_fexpr_spans
()
tests/test_trans.py:6
Methodtest_filter_cached
(self)
tests/test_black.py:2076
Methodtest_find_project_root
(self)
tests/test_black.py:1644
Methodtest_find_pyproject_toml
(self, find_user_pyproject_toml: MagicMock)
tests/test_black.py:1682
Methodtest_find_user_pyproject_toml_linux
(self)
tests/test_black.py:1698
Methodtest_find_user_pyproject_toml_windows
(self)
tests/test_black.py:1718
Methodtest_for_handled_unexpected_eof_error
Test that an unexpected EOF SyntaxError is nicely presented.
tests/test_black.py:1922
Methodtest_format_file_contents
(self)
tests/test_black.py:1050
Functiontest_func
()
tests/data/simple_cases/fmtonoff5.py:28
Methodtest_func
(self)
tests/data/simple_cases/class_blank_parentheses.py:6
Methodtest_get_cache_dir
( self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
tests/test_black.py:1943
Methodtest_get_features_used
(self)
tests/test_black.py:910
Methodtest_get_features_used_decorator
(self)
tests/test_black.py:877
Methodtest_get_features_used_for_future_flags
(self)
tests/test_black.py:977
Methodtest_get_future_imports
(self)
tests/test_black.py:995
Methodtest_get_sources_with_stdin
(self)
tests/test_black.py:2400
Methodtest_get_sources_with_stdin_filename
(self)
tests/test_black.py:2406
Methodtest_get_sources_with_stdin_filename_and_exclude
(self)
tests/test_black.py:2418
Methodtest_get_sources_with_stdin_filename_and_extend_exclude
(self)
tests/test_black.py:2434
← previousnext →801–900 of 1,067, ranked by callers