Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
silkaj
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
silkaj
Commits
0c3af7cc
Commit
0c3af7cc
authored
3 years ago
by
Moul
Browse files
Options
Downloads
Patches
Plain Diff
[enh]
#364
: Introduce insert-license pre-commit-hook
license-header.txt sample
parent
dcd372b3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide 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 @
0c3af7cc
...
@@ -15,3 +15,11 @@ repos:
...
@@ -15,3 +15,11 @@ repos:
args
:
args
:
-
"
--server"
-
"
--server"
-
"
https://git.duniter.org"
-
"
https://git.duniter.org"
-
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 @
0c3af7cc
Copyright 2016-2021 Maël Azimi <m.a@moul.re>
Silkaj is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Silkaj 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 Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with Silkaj. If not, see <https://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