-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated with latest prettified files
- Loading branch information
Showing
118 changed files
with
4,043 additions
and
3,556 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
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 |
---|---|---|
@@ -1,31 +1,31 @@ | ||
name: Run pre-commit checks | ||
|
||
on: | ||
push: | ||
pull_request: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
run-linters: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
run-linters: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ^3.10 | ||
- name: Setup Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: ^3.10 | ||
|
||
- name: Configure caching | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.cache/pre-commit | ||
key: precommit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }} | ||
- name: Configure caching | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.cache/pre-commit | ||
key: precommit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }} | ||
|
||
- name: Install requirements | ||
run: | | ||
pip install -r test-requirements.txt | ||
- name: Install requirements | ||
run: | | ||
pip install -r test-requirements.txt | ||
- name: Run linters | ||
run: | | ||
pre-commit run --all-files | ||
- name: Run linters | ||
run: | | ||
pre-commit run --all-files |
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 |
---|---|---|
|
@@ -27,3 +27,6 @@ ENV/ | |
|
||
# Others | ||
.DS_Store | ||
|
||
# Node | ||
node_modules/ |
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,19 @@ | ||
{ | ||
"aliveStatusCodes": [200, 206, 403], | ||
"ignorePatterns": [ | ||
{ | ||
"pattern": "^https://www\\.autosar\\.org/*" | ||
}, | ||
{ | ||
"pattern": "^http://localhost" | ||
}, | ||
{ | ||
"pattern": "^http://127\\.0\\.0\\.1" | ||
}, | ||
{ | ||
"pattern": "^https://github.com/.*/discussions/new" | ||
} | ||
], | ||
"retryOn429": true, | ||
"retryCount": 10 | ||
} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,13 @@ | ||
# See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md for all rules. | ||
default: true | ||
MD013: | ||
code_blocks: false | ||
tables: false | ||
headings: false | ||
code_blocks: false | ||
tables: false | ||
headings: false | ||
MD029: | ||
style: ordered | ||
MD030: false | ||
MD033: false | ||
MD041: false | ||
MD046: false | ||
MD049: false |
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,6 @@ | ||
repos: | ||
- repo: https://github.com/tcort/markdown-link-check | ||
rev: v3.12.2 | ||
hooks: | ||
- id: markdown-link-check | ||
args: [--quiet, --config=.markdown-link-check.json] |
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 |
---|---|---|
@@ -1,63 +1,73 @@ | ||
ci: | ||
autofix_commit_msg: "style(pre-commit): autofix" | ||
autoupdate_commit_msg: "ci(pre-commit): autoupdate" | ||
autofix_commit_msg: "style(pre-commit): autofix" | ||
autoupdate_commit_msg: "ci(pre-commit): autoupdate" | ||
|
||
repos: | ||
- repo: https://github.com/Lucas-C/pre-commit-hooks | ||
rev: v1.5.5 | ||
hooks: | ||
- id: forbid-crlf | ||
- id: remove-crlf | ||
- id: forbid-tabs | ||
- id: remove-tabs | ||
|
||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
args: [--markdown-linebreak-ext=md] | ||
- id: check-merge-conflict | ||
- id: end-of-file-fixer | ||
- id: mixed-line-ending | ||
- id: check-added-large-files | ||
- id: check-case-conflict | ||
- id: check-json | ||
- id: check-yaml | ||
args: [--unsafe, --allow-multiple-documents] | ||
- id: check-symlinks | ||
- id: detect-private-key | ||
|
||
- repo: https://github.com/adrienverge/yamllint | ||
rev: v1.35.1 | ||
hooks: | ||
- id: yamllint | ||
files: \.(yaml|yml)$ | ||
types: [file, yaml] | ||
entry: yamllint --strict | ||
exclude: .*.param.yaml | ||
|
||
- repo: https://github.com/igorshubovych/markdownlint-cli | ||
rev: v0.40.0 | ||
hooks: | ||
- id: markdownlint | ||
args: [-c, .markdownlint.yaml, --fix] | ||
|
||
- repo: https://github.com/Yelp/detect-secrets | ||
rev: v1.5.0 | ||
hooks: | ||
- id: detect-secrets | ||
args: [--baseline, .secrets.baseline] | ||
exclude: .*/tests/.* | ||
|
||
- repo: https://github.com/pycqa/flake8 | ||
rev: 7.0.0 | ||
hooks: | ||
- id: flake8 | ||
args: | ||
# these are errors that will be ignored by flake8 | ||
# check out their meaning here | ||
# https://flake8.pycqa.org/en/latest/user/error-codes.html | ||
- --ignore=E501,F401 | ||
exclude: ^testing/(data|examples)/ | ||
- repo: https://github.com/Lucas-C/pre-commit-hooks | ||
rev: v1.5.5 | ||
hooks: | ||
- id: forbid-crlf | ||
- id: remove-crlf | ||
- id: forbid-tabs | ||
- id: remove-tabs | ||
|
||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
args: [--markdown-linebreak-ext=md] | ||
- id: check-merge-conflict | ||
- id: end-of-file-fixer | ||
- id: mixed-line-ending | ||
- id: check-added-large-files | ||
- id: check-case-conflict | ||
- id: check-json | ||
- id: check-yaml | ||
args: [--unsafe, --allow-multiple-documents] | ||
- id: check-symlinks | ||
- id: detect-private-key | ||
|
||
- repo: https://github.com/adrienverge/yamllint | ||
rev: v1.35.1 | ||
hooks: | ||
- id: yamllint | ||
files: \.(yaml|yml)$ | ||
types: [file, yaml] | ||
entry: yamllint --strict | ||
exclude: .*.param.yaml | ||
|
||
- repo: https://github.com/igorshubovych/markdownlint-cli | ||
rev: v0.41.0 | ||
hooks: | ||
- id: markdownlint | ||
args: [-c, .markdownlint.yaml, --fix] | ||
|
||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: v4.0.0-alpha.8 | ||
hooks: | ||
- id: prettier | ||
args: | ||
- --ignore-path | ||
- .prettierignore | ||
- --config | ||
- .prettierrc.yaml | ||
|
||
- repo: https://github.com/Yelp/detect-secrets | ||
rev: v1.5.0 | ||
hooks: | ||
- id: detect-secrets | ||
args: [--baseline, .secrets.baseline] | ||
exclude: .*/tests/.* | ||
|
||
- repo: https://github.com/pycqa/flake8 | ||
rev: 7.1.1 | ||
hooks: | ||
- id: flake8 | ||
args: | ||
# these are errors that will be ignored by flake8 | ||
# check out their meaning here | ||
# https://flake8.pycqa.org/en/latest/user/error-codes.html | ||
- --ignore=E501,F401 | ||
exclude: ^testing/(data|examples)/ | ||
|
||
exclude: .svg |
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 @@ | ||
*.param.yaml |
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,2 @@ | ||
printWidth: 100 | ||
tabWidth: 4 |
Oops, something went wrong.