Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
ansible
Manage
Activity
Members
Labels
Plan
Issues
13
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
funkwhale
ansible
Commits
5594a195
Verified
Commit
5594a195
authored
2 years ago
by
jooola
Browse files
Options
Downloads
Patches
Plain Diff
chore: add basic pre-commit config
parent
70e4e468
No related branches found
Branches containing commit
No related tags found
1 merge request
!32
chore: add pre-commit tool
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.codespellignore
+0
-0
0 additions, 0 deletions
.codespellignore
.pre-commit-config.yaml
+34
-0
34 additions, 0 deletions
.pre-commit-config.yaml
with
34 additions
and
0 deletions
.codespellignore
0 → 100644
+
0
−
0
View file @
5594a195
This diff is collapsed.
Click to expand it.
.pre-commit-config.yaml
0 → 100644
+
34
−
0
View file @
5594a195
---
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos
:
-
repo
:
https://github.com/pre-commit/pre-commit-hooks
rev
:
v4.3.0
hooks
:
-
id
:
check-added-large-files
-
id
:
check-case-conflict
-
id
:
check-executables-have-shebangs
-
id
:
check-shebang-scripts-are-executable
-
id
:
check-symlinks
-
id
:
destroyed-symlinks
-
id
:
check-yaml
-
id
:
check-merge-conflict
-
id
:
end-of-file-fixer
-
id
:
mixed-line-ending
-
id
:
trailing-whitespace
-
id
:
requirements-txt-fixer
-
repo
:
https://github.com/pre-commit/mirrors-prettier
rev
:
v2.7.1
hooks
:
-
id
:
prettier
files
:
\.(md|yml|yaml|json)$
-
repo
:
https://github.com/codespell-project/codespell
rev
:
v2.2.1
hooks
:
-
id
:
codespell
args
:
[
--ignore-words=.codespellignore
]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment