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
b3f277b3
Commit
b3f277b3
authored
3 years ago
by
Moul
Browse files
Options
Downloads
Patches
Plain Diff
[fix]
#134
: insert-license: ignore docs folder, fix example header
Fix pre-commit alignment
parent
baab6cd0
No related branches found
No related tags found
No related merge requests found
Pipeline
#12787
passed
3 years ago
Stage: checks
Stage: tests
Changes
2
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.pre-commit-config.yaml
+4
-3
4 additions, 3 deletions
.pre-commit-config.yaml
examples/__init__.py
+14
-16
14 additions, 16 deletions
examples/__init__.py
with
18 additions
and
19 deletions
.pre-commit-config.yaml
+
4
−
3
View file @
b3f277b3
...
...
@@ -23,6 +23,7 @@ repos:
rev
:
v1.1.10
hooks
:
-
id
:
insert-license
exclude
:
^docs/
files
:
\.py$
args
:
-
--license-filepath
...
...
This diff is collapsed.
Click to expand it.
examples/__init__.py
+
14
−
16
View file @
b3f277b3
"""
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/>.
"""
# 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/>.
from
.create_public_key
import
create_public_key
from
.listen_ws2p
import
listen_ws2p
...
...
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