Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Commit

Permalink
build(autopretty): self-update template
Browse files Browse the repository at this point in the history
  • Loading branch information
yajo committed Apr 26, 2022
1 parent 1f9e4bb commit 051b231
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .copier-answers.autopretty.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier; do NOT edit manually
_commit: v0.4.1-4-g1c1b32a
_commit: v0.4.2-1-geb45972
_src_path: .
ansible: false
biggest_kbs: 1000
Expand Down
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ profile = black

[*.{code-snippets,code-workspace,json,nix,tf,yaml,yml}{,.jinja}]
indent_size = 2

# HACK https://github.com/commitizen-tools/commitizen/issues/502
[CHANGELOG.md]
indent_size = 2
16 changes: 6 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
default_language_version:
python: python3
node: "14.14.0"
node: "16.14.2"
exclude: |
(?x)
# Files that fail if changed manually
Expand All @@ -15,31 +15,27 @@ repos:
language: fail
files: "\\.rej$"
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.5.1
rev: v2.6.2
hooks:
- id: prettier
stages: [commit]
additional_dependencies:
- prettier@2.5.1
- "@prettier/plugin-xml@1.2.0"
- prettier@2.6.2
- "@prettier/plugin-xml@2.1.0"
args:
- --plugin=@prettier/plugin-xml
# TODO Drop when fixed https://github.com/prettier/prettier/issues/12143
exclude: "%"
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
rev: v4.2.0
hooks:
- id: check-added-large-files
args:
- --maxkb=1000
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
- id: check-symlinks
- id: check-toml
- id: check-xml
- id: check-yaml
exclude: gitlab-ci
- id: detect-private-key
- id: end-of-file-fixer
Expand All @@ -48,7 +44,7 @@ repos:
- --fix=lf
- id: trailing-whitespace
- repo: https://github.com/commitizen-tools/commitizen
rev: v2.21.2
rev: v2.24.0
hooks:
- id: commitizen
stages: [commit-msg]

0 comments on commit 051b231

Please sign in to comment.