Skip to content

Commit bf602bb

Browse files
Merge branch 'main' into fix/hostport-url-scheme-valueerror-24348
2 parents ac81679 + 84ed278 commit bf602bb

1,699 files changed

Lines changed: 474539 additions & 43532 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/py-tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ jobs:
9999
install-server: 'false'
100100

101101
- name: Run Static Checks
102+
# basedpyright is configured with `pythonVersion = "3.10"` (the lowest
103+
# supported version) so type-checking results are identical across the
104+
# 3.10/3.11/3.12 matrix. Run on the lowest version only to avoid
105+
# redundant work and keep the baseline file deterministic.
106+
if: matrix.py-version == '3.10'
102107
run: |
103108
source env/bin/activate
104109
cd ingestion

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,4 +202,7 @@ ingestion/.claude/agents
202202
.claude/scheduled_tasks.lock
203203
.claude/plans/
204204

205+
# Serena MCP language-server cache — local tooling, not committed
206+
.serena/
207+
205208
test-results/

.pre-commit-config.yaml

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,30 @@ default_language_version:
22
python: python3
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v2.3.0
5+
rev: v5.0.0
66
hooks:
77
- id: check-json
8-
exclude: vscode
9-
- repo: https://github.com/hadialqattan/pycln
10-
rev: v2.5.0
8+
# TODO: investigate and fix or remove the excluded files. The first
9+
# three carry real JSON issues (duplicate keys, malformed/empty
10+
# content) that pre-commit-hooks v2.3.0 didn't catch; v5.0.0 does.
11+
# The last is an intentionally malformed test fixture.
12+
exclude: |
13+
(?x)^(
14+
.*vscode.*|
15+
openmetadata-spec/src/main/resources/rdf/contexts/dataAsset\.jsonld|
16+
ingestion/examples/sample_data/pipelines/tasks\.json|
17+
openmetadata-service/src/main/resources/dataInsights/opensearch/indexSettingsTemplate\.json|
18+
openmetadata-ui/src/main/resources/ui/playwright/test-data/odcs-examples/invalid-malformed\.json
19+
)$
20+
- repo: https://github.com/astral-sh/ruff-pre-commit
21+
rev: v0.15.12
1122
hooks:
12-
- id: pycln
23+
- id: ruff-check
1324
files: ^(ingestion|openmetadata-airflow-apis)/
14-
args: [ "--config", "ingestion/pyproject.toml" ]
15-
- repo: https://github.com/timothycrosley/isort
16-
rev: 5.12.0
17-
hooks:
18-
- id: isort
19-
files: ^(ingestion|openmetadata-airflow-apis)/
20-
args: [ "--settings-file", "ingestion/pyproject.toml" ]
21-
- repo: https://github.com/ambv/black
22-
rev: 22.3.0
23-
hooks:
24-
- id: black
25+
args: ["--fix", "--config", "ingestion/pyproject.toml"]
26+
- id: ruff-format
2527
files: ^(ingestion|openmetadata-airflow-apis)/
26-
args: [ "--config", "ingestion/pyproject.toml" ]
28+
args: ["--config", "ingestion/pyproject.toml"]
2729
- repo: https://github.com/pre-commit/mirrors-prettier
2830
rev: v2.5.1
2931
hooks:

0 commit comments

Comments
 (0)