mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Run black against everything, not just tests and datasette dirs
This commit is contained in:
parent
b38a792ef0
commit
cf5f4386ef
1 changed files with 1 additions and 3 deletions
|
|
@ -9,7 +9,5 @@ code_root = Path(__file__).parent.parent
|
|||
|
||||
def test_black():
|
||||
runner = CliRunner()
|
||||
result = runner.invoke(
|
||||
black.main, [str(code_root / "tests"), str(code_root / "datasette"), "--check"]
|
||||
)
|
||||
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