chore: import upstream snapshot with attribution
CodeQL / Analyze (python) (push) Has been cancelled
Update Platform Components Table / update (push) Has been cancelled
Docker image release / Build base image (push) Has been cancelled
Sync docs with Docusaurus / sync (push) Has been cancelled
Tests / Check if changed (push) Has been cancelled
Tests / format (push) Has been cancelled
Tests / check-imports (push) Has been cancelled
Tests / Unit / macos-latest (push) Has been cancelled
Tests / Unit / ubuntu-latest (push) Has been cancelled
Tests / Unit / windows-latest (push) Has been cancelled
Tests / mypy (push) Has been cancelled
Tests / Integration / ubuntu-latest (push) Has been cancelled
Tests / Integration / macos-latest (push) Has been cancelled
Tests / Integration / windows-latest (push) Has been cancelled
Tests / notify-slack-on-failure (push) Has been cancelled
Tests / Mark tests as completed (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
Update Platform Components Table / update (push) Has been cancelled
Docker image release / Build base image (push) Has been cancelled
Sync docs with Docusaurus / sync (push) Has been cancelled
Tests / Check if changed (push) Has been cancelled
Tests / format (push) Has been cancelled
Tests / check-imports (push) Has been cancelled
Tests / Unit / macos-latest (push) Has been cancelled
Tests / Unit / ubuntu-latest (push) Has been cancelled
Tests / Unit / windows-latest (push) Has been cancelled
Tests / mypy (push) Has been cancelled
Tests / Integration / ubuntu-latest (push) Has been cancelled
Tests / Integration / macos-latest (push) Has been cancelled
Tests / Integration / windows-latest (push) Has been cancelled
Tests / notify-slack-on-failure (push) Has been cancelled
Tests / Mark tests as completed (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
fail_fast: true
|
||||
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v6.0.0
|
||||
hooks:
|
||||
- id: check-ast # checks Python syntax
|
||||
- id: check-json # checks JSON syntax
|
||||
- id: check-merge-conflict # checks for no merge conflict strings
|
||||
- id: check-shebang-scripts-are-executable # checks all shell scripts have executable permissions
|
||||
- id: check-toml # checks TOML syntax
|
||||
- id: check-yaml # checks YAML syntax
|
||||
- id: end-of-file-fixer # checks there is a newline at the end of the file
|
||||
- id: mixed-line-ending # normalizes line endings
|
||||
- id: no-commit-to-branch # prevents committing to main
|
||||
- id: trailing-whitespace # trims trailing whitespace
|
||||
args: [--markdown-linebreak-ext=md, --markdown-linebreak-ext=mdx]
|
||||
|
||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||
rev: v0.15.2
|
||||
hooks:
|
||||
- id: ruff-check
|
||||
args: [ --fix ]
|
||||
- id: ruff-format
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: ruff-format-docs
|
||||
name: ruff-format-docs
|
||||
language: python
|
||||
entry: python scripts/ruff_format_docs.py --line-length=88
|
||||
files: ^docs-website/.*\.mdx$
|
||||
types: [text]
|
||||
additional_dependencies:
|
||||
- ruff
|
||||
- add-trailing-comma
|
||||
|
||||
- id: release-note-backticks
|
||||
name: release-note-backticks
|
||||
language: python
|
||||
entry: python scripts/release_note_backticks.py
|
||||
files: ^releasenotes/notes/.*\.yaml$
|
||||
types: [text]
|
||||
|
||||
- repo: https://github.com/codespell-project/codespell
|
||||
rev: v2.4.1
|
||||
hooks:
|
||||
- id: codespell
|
||||
args: ["--toml", "pyproject.toml"]
|
||||
additional_dependencies:
|
||||
- tomli
|
||||
|
||||
- repo: https://github.com/rhysd/actionlint
|
||||
rev: v1.7.10
|
||||
hooks:
|
||||
- id: actionlint-docker
|
||||
args: ["-ignore", "SC2102"]
|
||||
Reference in New Issue
Block a user