mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Only run black on Python 3.6 or higher
This commit is contained in:
parent
ade6bae472
commit
b968df2033
1 changed files with 3 additions and 0 deletions
|
|
@ -7,6 +7,9 @@ import sys
|
||||||
code_root = Path(__file__).parent.parent
|
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():
|
def test_black():
|
||||||
runner = CliRunner()
|
runner = CliRunner()
|
||||||
result = runner.invoke(
|
result = runner.invoke(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue