Simon Willison
|
9683aeb239
|
Do not attempt 'import black' for Python 3.5
|
2019-05-03 22:05:42 -04:00 |
|
Simon Willison
|
b968df2033
|
Only run black on Python 3.6 or higher
|
2019-05-03 21:43:30 -04:00 |
|
Simon Willison
|
ade6bae472
|
Ensure test_black.py executes first under pytest
Otherwise it throws an exception because it gets disrupted by the
asyncio activity in the other tests.
|
2019-05-03 21:25:49 -04:00 |
|
Simon Willison
|
f9193e7a18
|
Unit test enforcing black formatting
Only runs for Python 3.6 at the moment.
See https://github.com/python/black/issues/425
|
2019-05-03 21:06:47 -04:00 |
|