Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#8)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/codespell-project/codespell: v2.2.5 → v2.2.6](codespell-project/codespell@v2.2.5...v2.2.6)
- https://github.com/pre-commit/mirrors-autopep8https://github.com/hhatto/autopep8
- [github.com/hhatto/autopep8: v2.0.2 → v2.0.4](hhatto/autopep8@v2.0.2...v2.0.4)

* Missing .yamllint.yaml

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: David V. Lu <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and DLu authored Oct 3, 2023
1 parent 64d5f99 commit 7e244ec
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ repos:
- id: codespell
args:
- --write-changes
rev: v2.2.5
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v2.2.6
- repo: https://github.com/hhatto/autopep8
hooks:
- id: autopep8
rev: v2.0.2
rev: v2.0.4
- repo: https://github.com/PyCQA/flake8
hooks:
- id: flake8
Expand Down
31 changes: 31 additions & 0 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
yaml-files:
- '*.yaml'
- '*.yml'
rules:
anchors: enable
braces: enable
brackets: enable
colons: enable
commas: enable
comments:
level: warning
comments-indentation:
level: warning
document-end: disable
document-start: disable
empty-lines: enable
empty-values: disable
float-values: disable
hyphens: enable
indentation: disable
key-duplicates: enable
key-ordering: disable
line-length:
max: 120
new-line-at-end-of-file: enable
new-lines: enable
octal-values: disable
quoted-strings: disable
trailing-spaces: enable
truthy:
level: warning

0 comments on commit 7e244ec

Please sign in to comment.