-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8cb70c2
commit 100c236
Showing
15 changed files
with
64 additions
and
48 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
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
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
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
1 change: 1 addition & 0 deletions
1
template/.github/workflows/{% if AddCopierCI %}Copier.yml{% endif %}.jinja
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
1 change: 1 addition & 0 deletions
1
template/.github/workflows/{% if AddPrecommit %}Lint.yml{% endif %}.jinja
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
1 change: 1 addition & 0 deletions
1
template/.github/workflows/{% if AddPrecommit %}PreCommitUpdate.yml{% endif %}.jinja
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
1 change: 1 addition & 0 deletions
1
template/.github/workflows/{% if SimplifiedPRTest %}TestOnPRs.yml{% endif %}.jinja
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
1 change: 1 addition & 0 deletions
1
template/.github/{% if AddGitHubTemplates %}PULL_REQUEST_TEMPLATE.md{% endif %}.jinja
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
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
98 changes: 50 additions & 48 deletions
98
template/{% if AddPrecommit %}.pre-commit-config.yaml{% endif %}.jinja
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,49 +1,51 @@ | ||
# This file was created by BestieTemplate.jl. Create issues there: | ||
https://github.com/abelsiqueira/BestieTemplate.jl/issues | ||
repos: | ||
- repo: local | ||
hooks: | ||
# Prevent committing .rej files | ||
- id: forbidden-files | ||
name: forbidden files | ||
entry: found Copier update rejection files; review them and remove them | ||
language: fail | ||
files: "\\.rej$" | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: check-json | ||
- id: check-toml | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- id: file-contents-sorter | ||
files: .JuliaFormatter.toml | ||
args: [--unique] | ||
- id: mixed-line-ending | ||
args: [--fix=lf] | ||
- id: no-commit-to-branch | ||
- id: pretty-format-json | ||
args: [--autofix, --indent={{ Indentation }}] | ||
- id: trailing-whitespace | ||
- id: check-merge-conflict | ||
args: [--assume-in-merge] | ||
- repo: https://github.com/igorshubovych/markdownlint-cli | ||
rev: v0.41.0 | ||
hooks: | ||
- id: markdownlint-fix | ||
- repo: https://github.com/citation-file-format/cffconvert | ||
rev: 054bda51dbe278b3e86f27c890e3f3ac877d616c | ||
hooks: | ||
- id: validate-cff | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: "v4.0.0-alpha.8" # Use the sha or tag you want to point at | ||
hooks: | ||
- id: prettier | ||
types_or: [yaml, json] | ||
exclude: ".copier-answers.yml" | ||
- repo: https://github.com/adrienverge/yamllint | ||
rev: v1.35.1 | ||
hooks: | ||
- id: yamllint | ||
- repo: https://github.com/domluna/JuliaFormatter.jl | ||
rev: v1.0.56 | ||
hooks: | ||
- id: julia-formatter | ||
- repo: local | ||
hooks: | ||
# Prevent committing .rej files | ||
- id: forbidden-files | ||
name: forbidden files | ||
entry: found Copier update rejection files; review them and remove them | ||
language: fail | ||
files: "\\.rej$" | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.6.0 | ||
hooks: | ||
- id: check-json | ||
- id: check-toml | ||
- id: check-yaml | ||
- id: end-of-file-fixer | ||
- id: file-contents-sorter | ||
files: .JuliaFormatter.toml | ||
args: [--unique] | ||
- id: mixed-line-ending | ||
args: [--fix=lf] | ||
- id: no-commit-to-branch | ||
- id: pretty-format-json | ||
args: [--autofix, --indent={{ Indentation }}] | ||
- id: trailing-whitespace | ||
- id: check-merge-conflict | ||
args: [--assume-in-merge] | ||
- repo: https://github.com/igorshubovych/markdownlint-cli | ||
rev: v0.41.0 | ||
hooks: | ||
- id: markdownlint-fix | ||
- repo: https://github.com/citation-file-format/cffconvert | ||
rev: 054bda51dbe278b3e86f27c890e3f3ac877d616c | ||
hooks: | ||
- id: validate-cff | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: "v4.0.0-alpha.8" # Use the sha or tag you want to point at | ||
hooks: | ||
- id: prettier | ||
types_or: [yaml, json] | ||
exclude: ".copier-answers.yml" | ||
- repo: https://github.com/adrienverge/yamllint | ||
rev: v1.35.1 | ||
hooks: | ||
- id: yamllint | ||
- repo: https://github.com/domluna/JuliaFormatter.jl | ||
rev: v1.0.56 | ||
hooks: | ||
- id: julia-formatter |