Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DuniterPy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
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
clients
python
DuniterPy
Commits
3679e1cd
Commit
3679e1cd
authored
4 years ago
by
Moul
Browse files
Options
Downloads
Patches
Plain Diff
[enh]
#134
: Introduce insert-license pre-commit-hook
parent
06346cde
No related branches found
No related tags found
2 merge requests
!157
v1.0.0rc0: merge dev into master
,
!141
#134: Introduce insert-license hook and fixup license headers
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.pre-commit-config.yaml
+8
-0
8 additions, 0 deletions
.pre-commit-config.yaml
license_header.txt
+14
-0
14 additions, 0 deletions
license_header.txt
with
22 additions
and
0 deletions
.pre-commit-config.yaml
+
8
−
0
View file @
3679e1cd
...
@@ -3,3 +3,11 @@ repos:
...
@@ -3,3 +3,11 @@ repos:
rev
:
21.5b0
rev
:
21.5b0
hooks
:
hooks
:
-
id
:
black
-
id
:
black
-
repo
:
https://github.com/Lucas-C/pre-commit-hooks
rev
:
v1.1.10
hooks
:
-
id
:
insert-license
files
:
\.py$
args
:
-
--license-filepath
-
license_header.txt
This diff is collapsed.
Click to expand it.
license_header.txt
0 → 100644
+
14
−
0
View file @
3679e1cd
Copyright 2014-2021 Vincent Texier <vit@free.fr>
DuniterPy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
DuniterPy is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
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