black/tests
Harish Rajagopal 9451c57d1c
Support for top-level user configuration (#1899)
* Added support for top-level user configuration

At the user level, a TOML config can be specified in the following locations:
* Windows: ~\.black
* Unix-like: $XDG_CONFIG_HOME/black (~/.config/black fallback)

Instead of changing env vars for the entire black-primer process, they
are now changed only for the black subprocess, using a tmpdir.
2021-04-01 18:39:18 +02:00
..
data Strip redundant parentheses from assignment exprs (#1906) 2021-02-27 17:20: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 Support for top-level user configuration (#1899) 2021-04-01 18:39:18 +02:00
test_blackd.py Switch to pytest and tox (#1763) 2020-10-19 10:35:26 -07:00
test_format.py Add "# fmt: skip" directive to black (#1800) 2021-02-15 08:02:48 -08: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