black/tests
Justin Prieto 1d8b4d766d
Correctly handle inline tabs in docstrings (#1810)
The `fix_docstring` function expanded all tabs, which caused a
difference in the AST representation when those tabs were inline and not
leading. This changes the function to only expand leading tabs so inline
tabs are preserved.

Fixes #1601.
2020-11-09 11:58:23 -08:00
..
data Correctly handle inline tabs in docstrings (#1810) 2020-11-09 11:58:23 -08:00
__init__.py Remove deprecated use of 'setup.py test' (#1275) 2020-05-08 06:23:50 -07:00
empty.toml Add --target-version option to allow users to choose targeted Python versions (#618) 2019-02-06 18:43:50 -08:00
test_black.py Extract formatting tests (#1785) 2020-10-30 08:12:04 -07:00
test_blackd.py Switch to pytest and tox (#1763) 2020-10-19 10:35:26 -07:00
test_format.py Extract formatting tests (#1785) 2020-10-30 08:12:04 -07:00
test_primer.py Capture CalledProcessError for any postitive returncode (#1450) 2020-05-22 12:16:31 -07:00
test.toml Fix toml parsing and bump toml from 0.10.0 to 0.10.1 (#1501) 2020-06-16 11:58:33 -07:00
util.py Extract formatting tests (#1785) 2020-10-30 08:12:04 -07:00