-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into cicd_initial
- Loading branch information
Showing
707 changed files
with
90,230 additions
and
108 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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Deployment | ||
deployment/**/bin/ | ||
deployment/*.out | ||
**/charts/*.tgz | ||
deployment/*.key | ||
deployment/*.crt | ||
|
||
# Telemetry | ||
/deployment/telemetry/helm/example/pcm/ | ||
|
||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# Distribution / packaging | ||
dist/ | ||
build/ | ||
*.egg-info/ | ||
|
||
# Compiled Python files | ||
*.pyc | ||
|
||
# Test output files | ||
.coverage | ||
.pytest_cache/ | ||
.benchmarks/ | ||
|
||
# Ignore the .vscode directory | ||
.vscode/ | ||
|
||
# Super-Linter output directory | ||
super-linter-output/ | ||
|
||
# Tox filex | ||
.tox |
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 |
---|---|---|
@@ -0,0 +1,121 @@ | ||
# Copyright (C) 2024 Intel Corporation | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
ci: | ||
autofix_prs: true | ||
autoupdate_schedule: quarterly | ||
|
||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: end-of-file-fixer | ||
files: (.*\.(py|md|rst|yaml|yml|json|ts|js|html|svelte|sh))$ | ||
- id: check-json | ||
- id: check-yaml | ||
- id: debug-statements | ||
- id: requirements-txt-fixer | ||
- id: trailing-whitespace | ||
files: (.*\.(py|rst|cmake|yaml|yml|json|ts|js|html|svelte|sh))$ | ||
|
||
- repo: https://github.com/Lucas-C/pre-commit-hooks | ||
rev: v1.5.5 | ||
hooks: | ||
- id: insert-license | ||
files: (Dockerfile)$ | ||
args: | ||
[ | ||
--license-filepath=.github/license_template.txt, | ||
--use-current-year, | ||
--detect-license-in-X-top-lines=5, | ||
--skip-license-insertion-comment=Copyright, | ||
] | ||
- id: insert-license | ||
files: (.*\.(py|yaml|yml|sh))$ | ||
args: | ||
[ | ||
--license-filepath=.github/license_template.txt, | ||
--use-current-year, | ||
--detect-license-in-X-top-lines=5, | ||
--skip-license-insertion-comment=Copyright, | ||
] | ||
- id: insert-license | ||
files: (.*\.(ts|js))$ | ||
args: | ||
[ | ||
--license-filepath=.github/license_template.txt, | ||
--use-current-year, | ||
--detect-license-in-X-top-lines=5, | ||
--skip-license-insertion-comment=Copyright, | ||
--comment-style=//, | ||
] | ||
- id: insert-license | ||
files: (.*\.(html|svelte))$ | ||
args: | ||
[ | ||
--license-filepath=.github/license_template.txt, | ||
--use-current-year, | ||
--detect-license-in-X-top-lines=5, | ||
--skip-license-insertion-comment=Copyright, | ||
--comment-style=<!--| |-->, | ||
] | ||
|
||
- repo: https://github.com/asottile/yesqa | ||
rev: v1.5.0 | ||
hooks: | ||
- id: yesqa | ||
name: Unused noqa | ||
|
||
- repo: https://github.com/pycqa/isort | ||
rev: 5.13.2 | ||
hooks: | ||
- id: isort | ||
|
||
- repo: https://github.com/PyCQA/docformatter | ||
rev: v1.7.5 | ||
hooks: | ||
- id: docformatter | ||
args: [ | ||
--in-place, | ||
--wrap-summaries=0, # 0 means disable wrap | ||
--wrap-descriptions=0, # 0 means disable wrap | ||
--black, | ||
--style=google, | ||
] | ||
|
||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: "v4.0.0-alpha.8" # Use the sha / tag you want to point at | ||
hooks: | ||
- id: prettier | ||
args: [--print-width=120] | ||
types_or: [yaml, markdown, html, css, scss, javascript, json, ts, shell, sh] | ||
additional_dependencies: | ||
- [email protected] | ||
|
||
- repo: https://github.com/psf/black.git | ||
rev: 24.4.2 | ||
hooks: | ||
- id: black | ||
files: (.*\.py)$ | ||
|
||
- repo: https://github.com/asottile/blacken-docs | ||
rev: 1.18.0 | ||
hooks: | ||
- id: blacken-docs | ||
args: [--line-length=120, --skip-errors] | ||
additional_dependencies: | ||
- black==24.3.0 | ||
|
||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.3.0 | ||
hooks: | ||
- id: codespell | ||
args: [-w] | ||
additional_dependencies: | ||
- tomli | ||
|
||
- repo: https://github.com/astral-sh/ruff-pre-commit | ||
rev: v0.5.0 | ||
hooks: | ||
- id: ruff | ||
args: [--fix, --exit-non-zero-on-fix, --no-cache] |
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
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
Oops, something went wrong.