chore: upgrade black (#19410)

This commit is contained in:
Ville Brofeldt
2022-03-29 20:03:09 +03:00
committed by Ville Brofeldt
parent 1edd5f1343
commit a70f4dc52f
204 changed files with 2161 additions and 604 deletions

View File

@@ -366,7 +366,9 @@ def test_import_datasets_sync_argument_columns_metrics(
assert response.exit_code == 0
expected_contents = {"dataset.yaml": "hello: world"}
import_datasets_command.assert_called_with(
expected_contents, sync_columns=True, sync_metrics=True,
expected_contents,
sync_columns=True,
sync_metrics=True,
)
@@ -401,7 +403,9 @@ def test_import_datasets_sync_argument_columns(
assert response.exit_code == 0
expected_contents = {"dataset.yaml": "hello: world"}
import_datasets_command.assert_called_with(
expected_contents, sync_columns=True, sync_metrics=False,
expected_contents,
sync_columns=True,
sync_metrics=False,
)
@@ -436,7 +440,9 @@ def test_import_datasets_sync_argument_metrics(
assert response.exit_code == 0
expected_contents = {"dataset.yaml": "hello: world"}
import_datasets_command.assert_called_with(
expected_contents, sync_columns=False, sync_metrics=True,
expected_contents,
sync_columns=False,
sync_metrics=True,
)