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
8a029400
Commit
8a029400
authored
1 year ago
by
Moul
Browse files
Options
Downloads
Patches
Plain Diff
Bump pre-commit hooks
Specially for Ruff v0.0.292
parent
7eac8369
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
+6
-6
6 additions, 6 deletions
.pre-commit-config.yaml
silkaj/money/transfer.py
+1
-1
1 addition, 1 deletion
silkaj/money/transfer.py
with
7 additions
and
7 deletions
.pre-commit-config.yaml
+
6
−
6
View file @
8a029400
...
@@ -11,27 +11,27 @@ repos:
...
@@ -11,27 +11,27 @@ repos:
-
id
:
mixed-line-ending
-
id
:
mixed-line-ending
-
id
:
trailing-whitespace
-
id
:
trailing-whitespace
-
repo
:
https://github.com/astral-sh/ruff-pre-commit
-
repo
:
https://github.com/astral-sh/ruff-pre-commit
rev
:
v0.0.2
76
rev
:
v0.0.2
92
hooks
:
hooks
:
-
id
:
ruff
-
id
:
ruff
args
:
[
--fix
,
--exit-non-zero-on-fix
]
args
:
[
--fix
,
--exit-non-zero-on-fix
]
-
repo
:
https://github.com/psf/black
-
repo
:
https://github.com/psf/black
rev
:
23.
3.0
rev
:
23.
9.1
hooks
:
hooks
:
-
id
:
black
-
id
:
black
-
repo
:
https://github.com/pre-commit/mirrors-mypy
-
repo
:
https://github.com/pre-commit/mirrors-mypy
rev
:
v1.
4
.1
rev
:
v1.
5
.1
hooks
:
hooks
:
-
id
:
mypy
-
id
:
mypy
-
repo
:
https://gitlab.com/devopshq/gitlab-ci-linter
-
repo
:
https://gitlab.com/devopshq/gitlab-ci-linter
rev
:
v1.0.
3
rev
:
v1.0.
6
hooks
:
hooks
:
-
id
:
gitlab-ci-linter
-
id
:
gitlab-ci-linter
args
:
args
:
-
"
--server"
-
"
--server"
-
"
https://git.duniter.org"
-
"
https://git.duniter.org"
-
repo
:
https://github.com/Lucas-C/pre-commit-hooks
-
repo
:
https://github.com/Lucas-C/pre-commit-hooks
rev
:
v1.5.
1
rev
:
v1.5.
4
hooks
:
hooks
:
-
id
:
insert-license
-
id
:
insert-license
files
:
\.py$
files
:
\.py$
...
@@ -39,6 +39,6 @@ repos:
...
@@ -39,6 +39,6 @@ repos:
-
--license-filepath
-
--license-filepath
-
license_header.txt
-
license_header.txt
-
repo
:
https://github.com/executablebooks/mdformat
-
repo
:
https://github.com/executablebooks/mdformat
rev
:
0.7.1
6
rev
:
0.7.1
7
hooks
:
hooks
:
-
id
:
mdformat
-
id
:
mdformat
This diff is collapsed.
Click to expand it.
silkaj/money/transfer.py
+
1
−
1
View file @
8a029400
...
@@ -557,7 +557,7 @@ def generate_transaction_document(
...
@@ -557,7 +557,7 @@ def generate_transaction_document(
def
generate_unlocks
(
listinput
:
List
[
InputSource
])
->
List
[
Unlock
]:
def
generate_unlocks
(
listinput
:
List
[
InputSource
])
->
List
[
Unlock
]:
unlocks
=
[]
unlocks
=
[]
for
i
in
range
(
0
,
len
(
listinput
)):
for
i
in
range
(
len
(
listinput
)):
unlocks
.
append
(
Unlock
(
index
=
i
,
parameters
=
[
SIGParameter
(
0
)]))
unlocks
.
append
(
Unlock
(
index
=
i
,
parameters
=
[
SIGParameter
(
0
)]))
return
unlocks
return
unlocks
...
...
This diff is collapsed.
Click to expand it.
Moul
@moul
mentioned in commit
83297b3f
·
1 year ago
mentioned in commit
83297b3f
mentioned in commit 83297b3f1ec2a9f1f66a498bfe78e5a0dc3cdf09
Toggle commit list
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