From ef217f31ff295668b2b05cd5217f183f1c6957fe Mon Sep 17 00:00:00 2001
From: Moul <moul@moul.re>
Date: Wed, 20 Apr 2022 08:46:13 +0200
Subject: [PATCH] [mod] #428: Apply pre-commit-hooks hooks

---
 CHANGELOG.md                                         | 12 ++++++------
 LICENSE                                              |  1 -
 doc/how-to_automate_transactions_and_multi-output.md | 10 +++++-----
 doc/test_and_coverage.md                             |  2 +-
 logo/silkaj_logo.svg                                 |  2 +-
 release_notes/images/poetry-logo.svg                 |  2 +-
 6 files changed, 14 insertions(+), 15 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 01bf105d..7e91bb55 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -225,7 +225,7 @@ since [its support from the Python project has been dropped September 30th of 20
 ### Documentation
 - #202: Document contribution process in `CONTRIBUTING.md`
 - #182: Document Poetry installation and usage
-- !109: Add Poetry installation on Debian Buster 
+- !109: Add Poetry installation on Debian Buster
 - !103: Add pip installation documentation for macOS
 - !131: Add packaging status badge from Repology
 - #244: Add `AUTHORS.md` listing the contributors
@@ -280,7 +280,7 @@ Thanks to @matograine for this bugfix and the release!
 - With `-p` option: when the port of the node is 443, it’s not necessary to specify the port
 
 #### Transaction
-- #22: Display transactions history in a table 
+- #22: Display transactions history in a table
 - #184: Rework transaction functions (Part 3)
 - #152: fix `--allSources` option which was not working
 - #165, !99: Display outputBackChange option in confirmation chart
@@ -302,7 +302,7 @@ Thanks to @matograine for this bugfix and the release!
 
 #### WoT
 - #141: Crash on membership status
-- Add legend to explain `✔` 
+- Add legend to explain `✔`
 - #189: Handle wot requests exceptions
 - #135 :is_member() requests all members to know if an identity is member will explose
 
@@ -445,7 +445,7 @@ v0.6.5 fork for Debian package without DuniterPy migration but with Click CLI mo
 - #61: sending certification document:
   - check that current identity is member
   - check that the certification has not already been sent
-  - prompt Ğ1’s license and ask for acceptance in web browser or in pager (a `less`-like) if no web browser is available 
+  - prompt Ğ1’s license and ask for acceptance in web browser or in pager (a `less`-like) if no web browser is available
 
 #### Wot
 - #84: display certifications’ expiration date
@@ -474,7 +474,7 @@ v0.6.5 fork for Debian package without DuniterPy migration but with Click CLI mo
 ### [Milestone v0.4.0](https://git.duniter.org/clients/python/silkaj/milestones/5)
 
 #### New `wot` command which displays received and sent certification of an identity
-- !50, !66 
+- !50, !66
 
 #### Transaction
 - #41: Rework/refactoring of transaction code (part 1)
@@ -536,7 +536,7 @@ Thanks to @Tortue95, @jytou, @mmuman, and @cuckooland
 - Change license from GNU GPLv3 to GNU AGPLv3
 - !31: Code formatting with `pep8`
 
-Thanks to @Tortue95 and @jytou 
+Thanks to @Tortue95 and @jytou
 
 ### [Forum post](https://forum.duniter.org/t/lets-send-your-money-silkaj-v0-3-0/2404/1)
 
diff --git a/LICENSE b/LICENSE
index a871fcfd..dba13ed2 100644
--- a/LICENSE
+++ b/LICENSE
@@ -659,4 +659,3 @@ specific requirements.
 if any, to sign a "copyright disclaimer" for the program, if necessary.
 For more information on this, and how to apply and follow the GNU AGPL, see
 <http://www.gnu.org/licenses/>.
-
diff --git a/doc/how-to_automate_transactions_and_multi-output.md b/doc/how-to_automate_transactions_and_multi-output.md
index 92ada23c..9459bd22 100644
--- a/doc/how-to_automate_transactions_and_multi-output.md
+++ b/doc/how-to_automate_transactions_and_multi-output.md
@@ -1,4 +1,4 @@
-# How-to: automate transactions and multi-output  
+# How-to: automate transactions and multi-output
 
 Once silkaj installed. We want to be able to send a transaction to many recipients and to automate that process.
 
@@ -11,7 +11,7 @@ You have to create a list of the public keys addresses to the recipients you wan
 
 Create a `recipients.txt` file containing the list of the recipients keys. You can gather them with `silkaj id <user_id>`.
 
-> Example: 
+> Example:
 >
 >```txt
 >2ny7YAdmzReQxAayyJZsyVYwYhVyax2thKcGknmQy5nQ
@@ -36,11 +36,11 @@ In order to create this file, with your wallet’s secret credentials, run follo
 
 ```bash
 silkaj authfile
-Please enter your Scrypt Salt (Secret identifier): 
-Please enter your Scrypt password (masked): 
+Please enter your Scrypt Salt (Secret identifier):
+Please enter your Scrypt password (masked):
 Using default values. Scrypt parameters not specified or wrong format
 Scrypt parameters used: N: 4096, r: 16, p: 1
-Authentication file 'authfile' generated and stored in current folder for following public key: 
+Authentication file 'authfile' generated and stored in current folder for following public key:
 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 ```
 
diff --git a/doc/test_and_coverage.md b/doc/test_and_coverage.md
index 7076bcc5..c8450786 100644
--- a/doc/test_and_coverage.md
+++ b/doc/test_and_coverage.md
@@ -19,7 +19,7 @@ To have a coverage report:
 pytest --cov silkaj --cov-report html:cov_html
 ```
 
-Where: 
+Where:
 * `--cov silkaj` option generates coverage data on the silkaj package
 * `--cov-report html:cov_html` generates a browsable report of coverage in cov\_html dir. You can omit this if you just want coverage data to be generated
 
diff --git a/logo/silkaj_logo.svg b/logo/silkaj_logo.svg
index a2043dbc..9e4dd468 100644
--- a/logo/silkaj_logo.svg
+++ b/logo/silkaj_logo.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="403" height="383" viewBox="0 0 402.7 382.7"><path d="M188.3 0.6c31.8-2.6 62.6 4 85.7 12.4 47.8 17.2 82.5 48.9 105.8 90.1 12 21.3 19.7 46.5 22.3 75.6 2.8 32.5-4.3 61-14 83.5 -10 23.2-22.8 42.6-39 58.8 -32.8 32.8-74.7 56.9-134.4 61.3 -31.7 2.3-61.8-4.1-85.5-12.6 -48-17.4-82.6-48-106.1-89.8 -12-21.4-19.9-46-22.5-75.3 -2.9-31.8 4.2-61.4 13.7-83.8 10.3-24.1 22.4-42.2 39-58.8C86.1 29.1 127.4 5.6 188.3 0.6zM114.7 32.7c-10.5 5.3-20.1 10.5-28.8 17C68.6 62.7 53.1 78.6 41 96.5c-5.9 8.7-11.2 19.1-15.7 30.2 -8.6 21.4-15.3 49-12.6 78.6 5 54.6 29.9 92.2 62.9 120.3 16.2 13.8 35.1 25.4 58.3 33.5 22.3 7.9 50.8 14 80.2 11.5 55.4-4.5 94.8-27.2 125.3-58 22-22.3 40-52.8 46.4-90.9 2.2-13.1 3.8-27.9 2.5-42.9C383.5 124.5 358.3 85.8 326 58c-15.9-13.7-35.8-25.7-58.2-33.5 -21.9-7.6-50.7-13.7-80.5-11.3C158.7 15.6 134.9 22.5 114.7 32.7z"/><path d="M197.1 28.3c25.6-1.2 51.1 5.4 69.8 13.2 38.6 16.1 67.3 43.6 85.2 80.2 13.3 27.3 20.3 67 12.1 104.4 -7.2 33.1-24.2 59.6-44.2 79.7 -28 28-65.9 46.2-116.8 48.6 -26.3 1.3-50.4-5.7-69.5-13.5 -19.9-8.1-36-19.3-50.3-32.4 -14.3-13.1-26.1-28.6-35.4-47.3 -13.3-26.6-21.3-68-12.4-104.7 8.1-33.2 23.7-58.6 44.5-79.4 13.6-13.5 29.9-24.9 48.9-33.8 18.5-8.6 41.4-15.1 67.6-15.1C196.7 28.3 196.9 28.3 197.1 28.3zM180.6 45.4c-40.2 5-67.3 23-90.1 45.9 -20.9 20.9-39.7 55.5-40.7 95.3 -1.1 44.7 14.6 76.4 34.6 100.8 17.3 21.2 41.9 38.4 72 47.3 4 1.2 10.4 3.8 13.7 3.3 2.9-0.4 6.1-5 8.8-7.7 14.5-14.3 27-27.8 40.9-41.8 6-6 11.2-11.5 16.5-16.8 11-11 22.2-22.4 26.9-39.3 2.6-9.4 3.3-20.1 1.4-29.7 -3-14.8-9.1-23.1-17.3-31.3 -1.8-1.8-5.6-6.9-8.5-6.9 -2.3 0.1-5.3 4.2-7.4 6.3 -7.2 7.2-13.6 14.2-20.3 20.9 -25.6 25.6-49.3 51-74.7 76.4 -2 2-5.2 6.1-7.7 6 -3.2-0.1-6.8-6.2-9.3-9.1 -9-10.3-16.4-22.1-21.7-34.3 -7.4-16.9-12.7-38.4-11-63.7 1.1-15.8 5.4-31.4 11-44 15.3-34.7 42.4-60.1 78.3-73.1 2.9-1.1 7.1-1.2 9.1-4.4C183 44.9 182 45.2 180.6 45.4zM283.4 316.6c17.8-11.9 32.9-26.4 44.2-44.8 14.7-24 26.9-56.7 22.3-95.1 -4.3-35.3-17.4-60-36.8-82.2 -13.4-15.3-31.1-28.6-51.4-37.6 -6.6-2.9-15.4-6.9-22.5-7.4 -2.5-0.2-8.2 6.5-10.7 9.1 -9.3 9.3-18.2 18.7-26.9 27.5 -11.2 11.3-25.8 25-36 36.8 -10.4 12.1-20 29.9-20.9 51.9 -0.7 17.7 4.1 32.2 11.8 42.6 1.7 2.3 6.6 8.7 9.9 8.5 2.7-0.1 5.6-4.8 7.4-6.6 2.7-2.7 4.4-4.3 7.1-7.1 30.8-31 61-63.2 92-94.2 2-2 4.9-5.5 7.1-5.5 3.5 0.1 9.5 7.4 11.5 9.3 23.9 22.7 44.8 57.5 39.3 105.8 -2.7 23.9-12.5 43.8-24.2 59.3 -10.5 14-23.8 25.6-38.2 34.9 -2.1 1.4-5.1 2.5-4.9 4.7C270.9 324.4 277.5 320.5 283.4 316.6z"/></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" width="403" height="383" viewBox="0 0 402.7 382.7"><path d="M188.3 0.6c31.8-2.6 62.6 4 85.7 12.4 47.8 17.2 82.5 48.9 105.8 90.1 12 21.3 19.7 46.5 22.3 75.6 2.8 32.5-4.3 61-14 83.5 -10 23.2-22.8 42.6-39 58.8 -32.8 32.8-74.7 56.9-134.4 61.3 -31.7 2.3-61.8-4.1-85.5-12.6 -48-17.4-82.6-48-106.1-89.8 -12-21.4-19.9-46-22.5-75.3 -2.9-31.8 4.2-61.4 13.7-83.8 10.3-24.1 22.4-42.2 39-58.8C86.1 29.1 127.4 5.6 188.3 0.6zM114.7 32.7c-10.5 5.3-20.1 10.5-28.8 17C68.6 62.7 53.1 78.6 41 96.5c-5.9 8.7-11.2 19.1-15.7 30.2 -8.6 21.4-15.3 49-12.6 78.6 5 54.6 29.9 92.2 62.9 120.3 16.2 13.8 35.1 25.4 58.3 33.5 22.3 7.9 50.8 14 80.2 11.5 55.4-4.5 94.8-27.2 125.3-58 22-22.3 40-52.8 46.4-90.9 2.2-13.1 3.8-27.9 2.5-42.9C383.5 124.5 358.3 85.8 326 58c-15.9-13.7-35.8-25.7-58.2-33.5 -21.9-7.6-50.7-13.7-80.5-11.3C158.7 15.6 134.9 22.5 114.7 32.7z"/><path d="M197.1 28.3c25.6-1.2 51.1 5.4 69.8 13.2 38.6 16.1 67.3 43.6 85.2 80.2 13.3 27.3 20.3 67 12.1 104.4 -7.2 33.1-24.2 59.6-44.2 79.7 -28 28-65.9 46.2-116.8 48.6 -26.3 1.3-50.4-5.7-69.5-13.5 -19.9-8.1-36-19.3-50.3-32.4 -14.3-13.1-26.1-28.6-35.4-47.3 -13.3-26.6-21.3-68-12.4-104.7 8.1-33.2 23.7-58.6 44.5-79.4 13.6-13.5 29.9-24.9 48.9-33.8 18.5-8.6 41.4-15.1 67.6-15.1C196.7 28.3 196.9 28.3 197.1 28.3zM180.6 45.4c-40.2 5-67.3 23-90.1 45.9 -20.9 20.9-39.7 55.5-40.7 95.3 -1.1 44.7 14.6 76.4 34.6 100.8 17.3 21.2 41.9 38.4 72 47.3 4 1.2 10.4 3.8 13.7 3.3 2.9-0.4 6.1-5 8.8-7.7 14.5-14.3 27-27.8 40.9-41.8 6-6 11.2-11.5 16.5-16.8 11-11 22.2-22.4 26.9-39.3 2.6-9.4 3.3-20.1 1.4-29.7 -3-14.8-9.1-23.1-17.3-31.3 -1.8-1.8-5.6-6.9-8.5-6.9 -2.3 0.1-5.3 4.2-7.4 6.3 -7.2 7.2-13.6 14.2-20.3 20.9 -25.6 25.6-49.3 51-74.7 76.4 -2 2-5.2 6.1-7.7 6 -3.2-0.1-6.8-6.2-9.3-9.1 -9-10.3-16.4-22.1-21.7-34.3 -7.4-16.9-12.7-38.4-11-63.7 1.1-15.8 5.4-31.4 11-44 15.3-34.7 42.4-60.1 78.3-73.1 2.9-1.1 7.1-1.2 9.1-4.4C183 44.9 182 45.2 180.6 45.4zM283.4 316.6c17.8-11.9 32.9-26.4 44.2-44.8 14.7-24 26.9-56.7 22.3-95.1 -4.3-35.3-17.4-60-36.8-82.2 -13.4-15.3-31.1-28.6-51.4-37.6 -6.6-2.9-15.4-6.9-22.5-7.4 -2.5-0.2-8.2 6.5-10.7 9.1 -9.3 9.3-18.2 18.7-26.9 27.5 -11.2 11.3-25.8 25-36 36.8 -10.4 12.1-20 29.9-20.9 51.9 -0.7 17.7 4.1 32.2 11.8 42.6 1.7 2.3 6.6 8.7 9.9 8.5 2.7-0.1 5.6-4.8 7.4-6.6 2.7-2.7 4.4-4.3 7.1-7.1 30.8-31 61-63.2 92-94.2 2-2 4.9-5.5 7.1-5.5 3.5 0.1 9.5 7.4 11.5 9.3 23.9 22.7 44.8 57.5 39.3 105.8 -2.7 23.9-12.5 43.8-24.2 59.3 -10.5 14-23.8 25.6-38.2 34.9 -2.1 1.4-5.1 2.5-4.9 4.7C270.9 324.4 277.5 320.5 283.4 316.6z"/></svg>
diff --git a/release_notes/images/poetry-logo.svg b/release_notes/images/poetry-logo.svg
index 89a5088e..23ac3a25 100644
--- a/release_notes/images/poetry-logo.svg
+++ b/release_notes/images/poetry-logo.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 448.17 560"><defs><style>.cls-1{isolation:isolate;}.cls-2{fill:url(#radial-gradient);}.cls-3{fill:url(#radial-gradient-2);}.cls-4,.cls-5,.cls-6{mix-blend-mode:multiply;}.cls-4{fill:url(#linear-gradient);}.cls-5{fill:url(#linear-gradient-2);}.cls-6{fill:url(#linear-gradient-3);}.cls-7{mix-blend-mode:screen;fill:url(#radial-gradient-3);}</style><radialGradient id="radial-gradient" cx="438.3" cy="639.01" r="569.94" gradientTransform="translate(0 0)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#6877ec"/><stop offset="0.6" stop-color="#5362cf"/><stop offset="1" stop-color="#4352b9"/></radialGradient><radialGradient id="radial-gradient-2" cx="65.64" cy="-16.21" r="746.46" gradientTransform="translate(0 0)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#00d5ff"/><stop offset="0.38" stop-color="#00b8eb"/><stop offset="1" stop-color="#0080c5"/></radialGradient><linearGradient id="linear-gradient" x1="74.77" y1="67.3" x2="277.23" y2="512.72" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#294ca7"/><stop offset="0.48" stop-color="#96a7d4"/><stop offset="0.84" stop-color="#e1e6f3"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="linear-gradient-2" x1="-228.74" y1="-144.29" x2="451" y2="651.89" gradientTransform="translate(0 0)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#6877ec"/><stop offset="0.29" stop-color="#97a1f2"/><stop offset="0.77" stop-color="#e2e4fb"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="linear-gradient-3" x1="-151.22" y1="-285.9" x2="450.08" y2="430.63" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#8397cc"/><stop offset="0.15" stop-color="#97a8d4"/><stop offset="0.73" stop-color="#e2e6f3"/><stop offset="1" stop-color="#fff"/></linearGradient><radialGradient id="radial-gradient-3" cx="259.68" cy="-34.71" r="431.37" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1"/></radialGradient></defs><title>logo-origami</title><g class="cls-1"><g id="Layer_1" data-name="Layer 1"><path class="cls-2" d="M168.08,560A570.54,570.54,0,0,0,459.84,403.59L56.25,0V448.17Z" transform="translate(-56.25)"/><path class="cls-3" d="M56.25,448.17C303.77,448.17,504.42,247.52,504.42,0H56.25Z" transform="translate(-56.25)"/><path class="cls-4" d="M56.25,448.17h0L73.5,465.42c121.57-4.45,231.4-55.68,312-136.23l-12.29-12.28A446.8,446.8,0,0,1,56.25,448.17Z" transform="translate(-56.25)"/><path class="cls-5" d="M168.08,560A570.54,570.54,0,0,0,459.84,403.59L56.25,0V448.17Z" transform="translate(-56.25)"/><path class="cls-6" d="M459.84,403.59,56.25,0,423.14,437.13C435.83,426.46,448.12,415.31,459.84,403.59Z" transform="translate(-56.25)"/><path class="cls-7" d="M56.25,0,373.16,316.91q4.23-4.25,8.35-8.6Z" transform="translate(-56.25)"/></g></g></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 448.17 560"><defs><style>.cls-1{isolation:isolate;}.cls-2{fill:url(#radial-gradient);}.cls-3{fill:url(#radial-gradient-2);}.cls-4,.cls-5,.cls-6{mix-blend-mode:multiply;}.cls-4{fill:url(#linear-gradient);}.cls-5{fill:url(#linear-gradient-2);}.cls-6{fill:url(#linear-gradient-3);}.cls-7{mix-blend-mode:screen;fill:url(#radial-gradient-3);}</style><radialGradient id="radial-gradient" cx="438.3" cy="639.01" r="569.94" gradientTransform="translate(0 0)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#6877ec"/><stop offset="0.6" stop-color="#5362cf"/><stop offset="1" stop-color="#4352b9"/></radialGradient><radialGradient id="radial-gradient-2" cx="65.64" cy="-16.21" r="746.46" gradientTransform="translate(0 0)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#00d5ff"/><stop offset="0.38" stop-color="#00b8eb"/><stop offset="1" stop-color="#0080c5"/></radialGradient><linearGradient id="linear-gradient" x1="74.77" y1="67.3" x2="277.23" y2="512.72" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#294ca7"/><stop offset="0.48" stop-color="#96a7d4"/><stop offset="0.84" stop-color="#e1e6f3"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="linear-gradient-2" x1="-228.74" y1="-144.29" x2="451" y2="651.89" gradientTransform="translate(0 0)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#6877ec"/><stop offset="0.29" stop-color="#97a1f2"/><stop offset="0.77" stop-color="#e2e4fb"/><stop offset="1" stop-color="#fff"/></linearGradient><linearGradient id="linear-gradient-3" x1="-151.22" y1="-285.9" x2="450.08" y2="430.63" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#8397cc"/><stop offset="0.15" stop-color="#97a8d4"/><stop offset="0.73" stop-color="#e2e6f3"/><stop offset="1" stop-color="#fff"/></linearGradient><radialGradient id="radial-gradient-3" cx="259.68" cy="-34.71" r="431.37" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#fff"/><stop offset="1"/></radialGradient></defs><title>logo-origami</title><g class="cls-1"><g id="Layer_1" data-name="Layer 1"><path class="cls-2" d="M168.08,560A570.54,570.54,0,0,0,459.84,403.59L56.25,0V448.17Z" transform="translate(-56.25)"/><path class="cls-3" d="M56.25,448.17C303.77,448.17,504.42,247.52,504.42,0H56.25Z" transform="translate(-56.25)"/><path class="cls-4" d="M56.25,448.17h0L73.5,465.42c121.57-4.45,231.4-55.68,312-136.23l-12.29-12.28A446.8,446.8,0,0,1,56.25,448.17Z" transform="translate(-56.25)"/><path class="cls-5" d="M168.08,560A570.54,570.54,0,0,0,459.84,403.59L56.25,0V448.17Z" transform="translate(-56.25)"/><path class="cls-6" d="M459.84,403.59,56.25,0,423.14,437.13C435.83,426.46,448.12,415.31,459.84,403.59Z" transform="translate(-56.25)"/><path class="cls-7" d="M56.25,0,373.16,316.91q4.23-4.25,8.35-8.6Z" transform="translate(-56.25)"/></g></g></svg>
-- 
GitLab