Skip to content

Commit

Permalink
disable some rules instead of skipping yamllint hook
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikerRUS authored Dec 19, 2024
1 parent 14051cf commit 4adf207
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .ci/lint-python-bash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -e -E -u -o pipefail

echo "running pre-commit checks"
SKIP=yamllint pre-commit run --all-files || exit 1
pre-commit run --all-files || exit 1
echo "done running pre-commit checks"

echo "running mypy"
Expand Down
6 changes: 5 additions & 1 deletion .yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ extends: default
rules:
document-start: disable
line-length:
max: 120
max: 999 # temporarily increase allowed line length
truthy:
# prevent treating GitHub Workflow "on" key as boolean value
check-keys: false

# temporarily disabled rules
indentation: disable
comments-indentation: disable

0 comments on commit 4adf207

Please sign in to comment.