black/tests/data
Shantanu fe3376141c
Allow empty lines at beginnings of more blocks (#4130)
Fixes #4043, fixes #619

These include nested functions and methods.

I think the nested function case quite clearly improves readability. I
think the method case improves consistency, adherence to PEP 8 and
resolves a point of contention.
2024-01-01 15:46:09 -08:00
..
cases Allow empty lines at beginnings of more blocks (#4130) 2024-01-01 15:46:09 -08:00
gitignore_used_on_multiple_sources Apply .gitignore correctly in every source entry (#3336) 2022-11-04 22:09:59 -07:00
ignore_subfolders_gitignore_tests Compare each .gitignore found with an appropiate relative path (#3338) 2022-11-08 07:50:04 -08:00
include_exclude_tests Do not use gitignore if explicitly passing excludes (#2170) 2021-05-07 14:54:21 +02:00
invalid_gitignore_tests Present a more user-friendly error if .gitignore is invalid (#2414) 2021-08-20 19:54:53 -04:00
invalid_nested_gitignore_tests Present a more user-friendly error if .gitignore is invalid (#2414) 2021-08-20 19:54:53 -04:00
jupyter Remove hard coded test cases (#3062) 2022-05-18 12:11:37 -07:00
line_ranges_formatted Support formatting specified lines (#4020) 2023-11-06 18:05:25 -08:00
miscellaneous Standardise newlines after module-level docstrings (#3932) 2023-10-09 19:34:26 -07:00
nested_gitignore_tests Fix: black only respects the root gitignore. (#2225) 2021-05-16 13:51:27 -04:00
project_metadata Infer target version based on project metadata (#3219) 2023-01-31 18:00:17 -08:00
empty_pyproject.toml Support pyproject.toml 2018-06-06 17:02:10 -07:00
invalid_line_ranges.toml Support formatting specified lines (#4020) 2023-11-06 18:05:25 -08:00