Skip to content

Commit 088a0ec

Browse files
committed
linting and formatting
1 parent 48e4160 commit 088a0ec

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ lint:
5959
@echo "🔍 Linting code..."
6060
$(PYTHON) ruff check .
6161

62+
lint-fix:
63+
@echo "🔍 Linting code..."
64+
$(PYTHON) ruff check . --fix
65+
6266
format:
6367
@echo "✨ Formatting code..."
6468
$(PYTHON) ruff format .

tests/unit/test_client.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,10 @@ def test_to_manifest_calls_schema_api(self):
182182
mock_client.schema.get_output_schema.assert_called_once_with(query, is_sql_dataset=True)
183183

184184
def test_to_manifest_matches_expected_format(self):
185-
"""Test that to_manifest generates a manifest matching tests/config/manifests/register_test_dataset__1_0_0.json"""
185+
"""
186+
Test that to_manifest generates a manifest matching reference manifest at
187+
tests/config/manifests/register_test_dataset__1_0_0.json
188+
"""
186189
# Load the expected manifest
187190
manifest_path = Path(__file__).parent.parent / 'config' / 'manifests' / 'register_test_dataset__1_0_0.json'
188191
with open(manifest_path) as f:

0 commit comments

Comments
 (0)