Only run black on Python 3.6 or higher

This commit is contained in:
Simon Willison 2019-05-03 21:43:30 -04:00
commit b968df2033

View file

@ -7,6 +7,9 @@ import sys
code_root = Path(__file__).parent.parent
@pytest.mark.skipif(
sys.version_info[:2] < (3, 6), reason="Black requires Python 3.6 or later"
)
def test_black():
runner = CliRunner()
result = runner.invoke(