You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should expose a format command like to format the connector code: airbyte-ci connectors format
Local execution behavior:
The formatted code is exported back the local airbyte repo
CI execution behavior:
The formatted code is committed and pushed to the current branch
The formatting job should run in the same GHA workflow as tests but in a different and upstream step.
If tests locally have the formatted code commit the commit message can skip CI by using the [skip ci] commit message prefix.
For Python connectors the code will be formatted with black and isort
For Java connectors the code will be formatted with ./gradlew format
We also add the copyright header to the connector code if missing.
Code formatting happens at the connector level.
The modified files should only belong to the connector code, not to other project.
The text was updated successfully, but these errors were encountered:
We should expose a
format
command like to format the connector code:airbyte-ci connectors format
Local execution behavior:
CI execution behavior:
[skip ci]
commit message prefix.For Python connectors the code will be formatted with
black
andisort
For Java connectors the code will be formatted with
./gradlew format
We also add the copyright header to the connector code if missing.
Code formatting happens at the connector level.
The modified files should only belong to the connector code, not to other project.
The text was updated successfully, but these errors were encountered: