-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf38398
commit d6e0f14
Showing
1 changed file
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,12 +5,10 @@ exclude: | | |
^.*?/\.venv/.*$| | ||
^.*?/node_modules/.*$| | ||
# Specific directories | ||
^.*?/charts/.*$| | ||
^airbyte-integrations/bases/base-normalization/.*$| | ||
^.*?/normalization_test_output/.*$| | ||
# Specific files | ||
^.*?/pnpm-lock\.yaml$| | ||
^.*?/source-amplitude/unit_tests/api_data/zipped\.json$| | ||
|
@@ -54,9 +52,9 @@ repos: | |
additional_dependencies: [github.com/google/[email protected]] | ||
files: \.(java|kt|py)$ | ||
|
||
# - id: spotless | ||
# name: Format Java files with Spotless | ||
# entry: mvn -f spotless-maven-pom.xml spotless:apply | ||
# language: system | ||
# files: \.(java|kt|gradle)$ | ||
# pass_filenames: false | ||
- id: spotless | ||
name: Format Java files with Spotless | ||
entry: bash -c 'command -v mvn >/dev/null 2>&1 || { echo "Maven not installed, skipping spotless" >&2; exit 0; }; mvn -f spotless-maven-pom.xml spotless:apply' | ||
language: system | ||
files: \.(java|kt|gradle)$ | ||
pass_filenames: false |