MCPcopy Create free account

hub / github.com/psf/black / functions

Functions1,067 in github.com/psf/black

Methodtest_get_sources_with_stdin_filename_and_force_exclude
(self)
tests/test_black.py:2450
Methodtest_gitignore_exclude
(self)
tests/test_black.py:2219
Methodtest_gitignore_that_ignores_subfolders
(self)
tests/test_black.py:2309
Methodtest_gitignore_used_as_default
(self)
tests/test_black.py:2187
Methodtest_gitignore_used_on_multiple_sources
(self)
tests/test_black.py:2198
Methodtest_include_exclude
(self)
tests/test_black.py:2173
Methodtest_infer_target_version
(self)
tests/test_black.py:1574
Functiontest_input_already_contains_transformed_magic
()
tests/test_ipynb.py:157
Methodtest_invalid_cli_regex
(self)
tests/test_black.py:1428
Methodtest_invalid_config_return_code
(self)
tests/test_black.py:1540
Methodtest_invalid_gitignore
(self)
tests/test_black.py:2285
Methodtest_invalid_nested_gitignore
(self)
tests/test_black.py:2297
Functiontest_ipynb_and_pyi_flags
()
tests/test_ipynb.py:501
Functiontest_ipynb_diff_with_change
()
tests/test_ipynb.py:409
Functiontest_ipynb_diff_with_no_change
()
tests/test_ipynb.py:422
Functiontest_ipynb_diff_with_no_change_dir
(tmp_path: pathlib.Path)
tests/test_no_ipynb.py:25
Functiontest_ipynb_diff_with_no_change_single
()
tests/test_no_ipynb.py:14
Functiontest_ipynb_flag
(tmp_path: pathlib.Path)
tests/test_ipynb.py:483
Methodtest_lib2to3_parse
(self)
tests/test_black.py:861
Functiontest_long_strings_flag_disabled
Tests for turning off the string processing logic.
tests/test_format.py:176
Functiontest_magic
(src: str, expected: str, mode: Mode)
tests/test_ipynb.py:128
Functiontest_magic_noop
()
tests/test_ipynb.py:163
Methodtest_multi_file_force_py36
(self)
tests/test_black.py:1220
Methodtest_multi_file_force_pyi
(self)
tests/test_black.py:1168
Functiontest_multiline_magic
()
tests/test_ipynb.py:230
Functiontest_multiline_no_magic
()
tests/test_ipynb.py:236
Functiontest_nested_class_stub
()
tests/test_format.py:189
Methodtest_nested_gitignore
(self)
tests/test_black.py:2249
Methodtest_nested_gitignore_directly_in_source_directory
(self)
tests/test_black.py:2278
Methodtest_newline_comment_interaction
(self)
tests/test_black.py:1758
Methodtest_no_cache_when_stdin
(self)
tests/test_black.py:2051
Methodtest_no_cache_when_writeback_diff
(self, color: bool)
tests/test_black.py:2014
Methodtest_no_src_fails
(self)
tests/test_black.py:1131
Functiontest_non_python_magics
(src: str)
tests/test_ipynb.py:141
Functiontest_non_python_notebook
()
tests/test_ipynb.py:390
Functiontest_noop
()
tests/test_ipynb.py:36
Methodtest_normalize_line_endings
(self)
tests/test_black.py:1486
Methodtest_normalize_path_ignore_windows_junctions_outside_of_root
(self)
tests/test_black.py:1739
Methodtest_normalizes_line_endings
(self)
tests/test_blackd.py:238
Methodtest_one_empty_line
(self)
tests/test_black.py:158
Methodtest_one_empty_line_ff
(self)
tests/test_black.py:164
Methodtest_output_locking_when_writeback_diff
(self, color: bool)
tests/test_black.py:2034
Methodtest_parse_pyproject_toml
(self)
tests/test_black.py:1550
Methodtest_parse_pyproject_toml_project_metadata
(self)
tests/test_black.py:1563
Functiontest_patma_139
(self)
tests/data/py_310/pattern_matching_generic.py:46
Functiontest_patma_155
(self)
tests/data/py_310/pattern_matching_generic.py:72
Functiontest_patma_invalid
()
tests/test_format.py:121
Methodtest_pep_572_version_detection
(self)
tests/test_black.py:266
Methodtest_pipe_force_py36
(self)
tests/test_black.py:1244
Methodtest_pipe_force_pyi
(self)
tests/test_black.py:1192
Methodtest_piping
(self)
tests/test_black.py:190
Methodtest_piping_diff
(self)
tests/test_black.py:208
Methodtest_piping_diff_with_color
(self)
tests/test_black.py:230
Functiontest_power_op_newline
()
tests/test_format.py:195
Methodtest_preserves_line_endings
(self)
tests/test_black.py:1461
Methodtest_preserves_line_endings
(self)
tests/test_blackd.py:228
Methodtest_preserves_line_endings_via_stdin
(self)
tests/test_black.py:1473
Functiontest_preview_context_managers_auto_detect
(filename: str)
tests/test_format.py:61
Functiontest_preview_context_managers_targeting_py38
()
tests/test_format.py:46
Functiontest_preview_context_managers_targeting_py39
()
tests/test_format.py:52
Functiontest_preview_docstring_no_string_normalization
Like test_docstring but with string normalization off *and* the preview style enabled.
tests/test_format.py:164
Functiontest_preview_format
(filename: str)
tests/test_format.py:42
Methodtest_python37
(self)
tests/test_black.py:443
Functiontest_python_2_hint
()
tests/test_format.py:143
Functiontest_python_310
(filename: str)
tests/test_format.py:108
Functiontest_python_310_without_target_version
(filename: str)
tests/test_format.py:115
Functiontest_python_311
(filename: str)
tests/test_format.py:131
Functiontest_python_36
(filename: str)
tests/test_format.py:80
Functiontest_python_37
(filename: str)
tests/test_format.py:87
Functiontest_python_38
(filename: str)
tests/test_format.py:94
Functiontest_python_39
(filename: str)
tests/test_format.py:101
Methodtest_read_cache_line_lengths
(self)
tests/test_black.py:2125
Methodtest_read_cache_no_cachefile
(self)
tests/test_black.py:2061
Methodtest_read_pyproject_toml
(self)
tests/test_black.py:1629
Methodtest_reformat_one_with_stdin
(self)
tests/test_black.py:1256
Methodtest_reformat_one_with_stdin_and_existing_path
(self)
tests/test_black.py:1347
Methodtest_reformat_one_with_stdin_empty
(self)
tests/test_black.py:1371
Methodtest_reformat_one_with_stdin_filename
(self)
tests/test_black.py:1274
Methodtest_reformat_one_with_stdin_filename_ipynb
(self)
tests/test_black.py:1322
Methodtest_reformat_one_with_stdin_filename_pyi
(self)
tests/test_black.py:1297
Methodtest_report_normal
(self)
tests/test_black.py:750
Methodtest_report_quiet
(self)
tests/test_black.py:642
Methodtest_report_verbose
(self)
tests/test_black.py:526
Methodtest_required_version_does_not_match_on_minor_version
(self)
tests/test_black.py:1446
Methodtest_required_version_does_not_match_version
(self)
tests/test_black.py:1453
Methodtest_required_version_matches_partial_version
(self)
tests/test_black.py:1439
Methodtest_required_version_matches_version
(self)
tests/test_black.py:1432
Methodtest_root_logger_not_used_directly
(self)
tests/test_black.py:1525
Functiontest_set_input
()
tests/test_ipynb.py:150
Methodtest_shhh_click
(self)
tests/test_black.py:1501
Functiontest_simple_format
(filename: str)
tests/test_format.py:34
Methodtest_single_file_force_py36
(self)
tests/test_black.py:1201
Methodtest_single_file_force_pyi
(self)
tests/test_black.py:1148
Methodtest_skip_magic_trailing_comma
(self)
tests/test_black.py:397
Methodtest_skip_source_first_line
(self)
tests/test_black.py:373
Methodtest_skip_source_first_line_when_mixing_newlines
(self)
tests/test_black.py:387
Methodtest_src_and_code_fails
(self)
tests/test_black.py:1135
Methodtest_string_quotes
(self)
tests/test_black.py:363
Functiontest_stub
()
tests/test_format.py:183
Methodtest_symlink_out_of_root_directory
(self)
tests/test_black.py:2366
← previousnext →901–1,000 of 1,067, ranked by callers