mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Move black to YAML, not pytest
This commit is contained in:
parent
1289eb0589
commit
53e6a72a95
2 changed files with 2 additions and 11 deletions
|
|
@ -1,11 +0,0 @@
|
|||
import black
|
||||
from click.testing import CliRunner
|
||||
from pathlib import Path
|
||||
|
||||
code_root = Path(__file__).parent.parent
|
||||
|
||||
|
||||
def test_black():
|
||||
runner = CliRunner()
|
||||
result = runner.invoke(black.main, [str(code_root), "--check"])
|
||||
assert result.exit_code == 0, result.output
|
||||
Loading…
Add table
Add a link
Reference in a new issue