chore: import upstream snapshot with attribution
Integration Tests - MySQL + Elasticsearch / Detect Changes (push) Has been cancelled
Integration Tests - MySQL + Elasticsearch / integration-tests-mysql-elasticsearch (push) Has been cancelled
Integration Tests - PostgreSQL + Elasticsearch + Redis / Detect Changes (push) Has been cancelled
Integration Tests - PostgreSQL + Elasticsearch + Redis / integration-tests-postgres-elasticsearch-redis (push) Has been cancelled
Integration Tests - PostgreSQL + OpenSearch / Detect Changes (push) Has been cancelled
Integration Tests - PostgreSQL + OpenSearch / integration-tests-postgres-opensearch (push) Has been cancelled
Java Checkstyle / java-checkstyle (push) Has been cancelled
Maven Collate Tests / maven-collate-ci (push) Has been cancelled
OpenMetadata Service Unit Tests / openmetadata-service-unit-tests-status (push) Has been cancelled
Publish Package to Maven Central Repository / publish-maven-packages (push) Has been cancelled
OpenMetadata Service Unit Tests / Detect Changes (push) Has been cancelled
OpenMetadata Service Unit Tests / openmetadata-service-unit-tests (push) Has been cancelled
OpenMetadata Service Unit Tests / k8s_operator-unit-tests (push) Has been cancelled
Integration Tests - MySQL + Elasticsearch / Detect Changes (push) Has been cancelled
Integration Tests - MySQL + Elasticsearch / integration-tests-mysql-elasticsearch (push) Has been cancelled
Integration Tests - PostgreSQL + Elasticsearch + Redis / Detect Changes (push) Has been cancelled
Integration Tests - PostgreSQL + Elasticsearch + Redis / integration-tests-postgres-elasticsearch-redis (push) Has been cancelled
Integration Tests - PostgreSQL + OpenSearch / Detect Changes (push) Has been cancelled
Integration Tests - PostgreSQL + OpenSearch / integration-tests-postgres-opensearch (push) Has been cancelled
Java Checkstyle / java-checkstyle (push) Has been cancelled
Maven Collate Tests / maven-collate-ci (push) Has been cancelled
OpenMetadata Service Unit Tests / openmetadata-service-unit-tests-status (push) Has been cancelled
Publish Package to Maven Central Repository / publish-maven-packages (push) Has been cancelled
OpenMetadata Service Unit Tests / Detect Changes (push) Has been cancelled
OpenMetadata Service Unit Tests / openmetadata-service-unit-tests (push) Has been cancelled
OpenMetadata Service Unit Tests / k8s_operator-unit-tests (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
default_language_version:
|
||||
python: python3
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v5.0.0
|
||||
hooks:
|
||||
- id: check-json
|
||||
# TODO: investigate and fix or remove the excluded files. The first
|
||||
# three carry real JSON issues (duplicate keys, malformed/empty
|
||||
# content) that pre-commit-hooks v2.3.0 didn't catch; v5.0.0 does.
|
||||
# The last is an intentionally malformed test fixture.
|
||||
exclude: |
|
||||
(?x)^(
|
||||
.*vscode.*|
|
||||
openmetadata-spec/src/main/resources/rdf/contexts/dataAsset\.jsonld|
|
||||
ingestion/examples/sample_data/pipelines/tasks\.json|
|
||||
openmetadata-service/src/main/resources/dataInsights/opensearch/indexSettingsTemplate\.json|
|
||||
openmetadata-ui/src/main/resources/ui/playwright/test-data/odcs-examples/invalid-malformed\.json
|
||||
)$
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.15.12
|
||||
hooks:
|
||||
- id: ruff-check
|
||||
files: ^(ingestion|openmetadata-airflow-apis)/
|
||||
args: ["--fix", "--config", "ingestion/pyproject.toml"]
|
||||
- id: ruff-format
|
||||
files: ^(ingestion|openmetadata-airflow-apis)/
|
||||
args: ["--config", "ingestion/pyproject.toml"]
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
rev: v2.5.1
|
||||
hooks:
|
||||
- id: prettier
|
||||
files: ^openmetadata-service/src/main/resources/json/schema/
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: google-style-java
|
||||
name: Google Java Code Style for Java
|
||||
description: Formats code in Google's Java codestyle with 120 line length.
|
||||
entry: scripts/format-code.sh
|
||||
language: script
|
||||
files: \.java$
|
||||
require_serial: true
|
||||
Reference in New Issue
Block a user