Skip to content

Commit a26b94e

Browse files
style: Fix formatting in manifest CLI module
Co-Authored-By: AJ Steers <[email protected]>
1 parent 8b4aff5 commit a26b94e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

airbyte_cdk/cli/airbyte_cdk/_manifest.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ def validate_manifest(manifest_path: Path) -> None:
4343
4444
This command validates the manifest file and checks version compatibility.
4545
If validation fails, it will suggest running the migrate command if needed.
46-
46+
4747
Exit codes:
4848
\\b
4949
0: Manifest is valid and up to date
50-
1: Manifest is valid but needs migration, or general errors
50+
1: Manifest is valid but needs migration, or general errors
5151
2: Manifest has validation errors that are fixable via migration
5252
3: Manifest has validation errors that are NOT fixable via migration
5353
"""
@@ -74,7 +74,7 @@ def validate_manifest(manifest_path: Path) -> None:
7474

7575
migration_handler = ManifestMigrationHandler(copy.deepcopy(manifest_dict))
7676
migrated_manifest = migration_handler.apply_migrations()
77-
77+
7878
migration_available = migrated_manifest != manifest_dict
7979

8080
if original_is_valid:
@@ -96,7 +96,10 @@ def validate_manifest(manifest_path: Path) -> None:
9696
validate(migrated_manifest, schema)
9797
click.echo(f"❌ Validation failed for {manifest_path}:", err=True)
9898
click.echo(f" {validation_error.message}", err=True)
99-
click.echo("✅ Issues are fixable via migration. Run 'airbyte-cdk manifest migrate' to fix these issues.", err=True)
99+
click.echo(
100+
"✅ Issues are fixable via migration. Run 'airbyte-cdk manifest migrate' to fix these issues.",
101+
err=True,
102+
)
100103
sys.exit(2) # Fixable issues
101104
except ValidationError:
102105
click.echo(f"❌ Validation failed for {manifest_path}:", err=True)

0 commit comments

Comments
 (0)