Skip to content

Commit 185afb6

Browse files
committed
remove extra spotless
1 parent f52d55e commit 185afb6

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

.github/scripts/generate_pre_commit.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def _find_java_projects(self) -> set[str]:
8888
return {
8989
p
9090
for p in java_projects
91-
if "buildSrc" not in p and "spark-smoke-test" not in p
91+
if "buildSrc" not in p and "spark-smoke-test" not in p and p != "."
9292
}
9393

9494
def _find_python_projects(self) -> set[str]:

.pre-commit-config.yaml

-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
repos:
22
- repo: local
33
hooks:
4-
- id: --spotless
5-
name: . Spotless Apply
6-
entry: ./gradlew :.:spotlessApply
7-
language: system
8-
files: ^./.*\.java$
9-
104
- id: datahub-graphql-core-spotless
115
name: datahub-graphql-core Spotless Apply
126
entry: ./gradlew :datahub-graphql-core:spotlessApply

0 commit comments

Comments
 (0)