kopia lustrzana https://github.com/simonw/datasette
Run black against everything, not just tests and datasette dirs
rodzic
b38a792ef0
commit
cf5f4386ef
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue