Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-gdt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
ag-ohlberger
dune-community
dune-gdt
Commits
61e69433
Commit
61e69433
authored
3 years ago
by
Tobias Leibner
Browse files
Options
Downloads
Patches
Plain Diff
Add pre-commit-config.yaml
parent
d6a519e8
No related branches found
No related tags found
1 merge request
!3
Add pre-commit hooks, general CI improvements
Pipeline
#107039
failed
3 years ago
Stage: sanity
Stage: images
Stage: cpp
Stage: headercheck
Stage: python
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.pre-commit-config.yaml
+26
-0
26 additions, 0 deletions
.pre-commit-config.yaml
with
26 additions
and
0 deletions
.pre-commit-config.yaml
0 → 100644
+
26
−
0
View file @
61e69433
# 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
:
v3.2.0
hooks
:
-
id
:
trailing-whitespace
-
id
:
check-yaml
-
id
:
check-added-large-files
-
id
:
debug-statements
-
repo
:
https://github.com/pycqa/flake8
rev
:
3.9.2
hooks
:
-
id
:
flake8
exclude
:
"
^pybind11"
args
:
[
"
--config=./python/setup.cfg"
]
-
repo
:
https://github.com/pre-commit/mirrors-clang-format
rev
:
'
v8.0.1'
hooks
:
-
id
:
clang-format
exclude
:
"
^(dune/xt/test/gtest/|pybind11)"
-
repo
:
https://github.com/pre-commit/mirrors-yapf
rev
:
'
v0.25.0'
hooks
:
-
id
:
yapf
args
:
[
"
--style=.vcsetup/.style.yapf"
]
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