From d01a3e5194d40450e3f83a106046284b9380ffd9 Mon Sep 17 00:00:00 2001 From: Moul <moul@moul.re> Date: Thu, 10 Feb 2022 21:28:06 +0100 Subject: [PATCH] [mod] #145: Bump copyright to 2022 Had a bug: https://github.com/Lucas-C/pre-commit-hooks/issues/25 Update doc date --- docs/conf.py | 2 +- duniterpy/__init__.py | 3 ++- duniterpy/api/__init__.py | 3 ++- duniterpy/api/bma/__init__.py | 3 ++- duniterpy/api/bma/blockchain.py | 3 ++- duniterpy/api/bma/network.py | 3 ++- duniterpy/api/bma/node.py | 3 ++- duniterpy/api/bma/tx.py | 3 ++- duniterpy/api/bma/ud.py | 3 ++- duniterpy/api/bma/wot.py | 2 +- duniterpy/api/bma/ws.py | 3 ++- duniterpy/api/client.py | 2 +- duniterpy/api/endpoint.py | 2 +- duniterpy/api/errors.py | 5 +++-- duniterpy/api/ws2p/__init__.py | 2 +- duniterpy/api/ws2p/network.py | 2 +- duniterpy/api/ws2p/requests.py | 3 ++- duniterpy/constants.py | 3 ++- duniterpy/documents/__init__.py | 3 ++- duniterpy/documents/block.py | 2 +- duniterpy/documents/block_id.py | 2 +- duniterpy/documents/certification.py | 3 ++- duniterpy/documents/document.py | 3 ++- duniterpy/documents/identity.py | 2 +- duniterpy/documents/membership.py | 2 +- duniterpy/documents/peer.py | 2 +- duniterpy/documents/revocation.py | 3 ++- duniterpy/documents/transaction.py | 3 ++- duniterpy/documents/ws2p/__init__.py | 3 ++- duniterpy/documents/ws2p/heads.py | 3 ++- duniterpy/documents/ws2p/messages.py | 2 +- duniterpy/grammars/__init__.py | 3 ++- duniterpy/grammars/output.py | 3 ++- duniterpy/helpers/__init__.py | 3 ++- duniterpy/helpers/blockchain.py | 2 +- duniterpy/helpers/money.py | 3 ++- duniterpy/helpers/network.py | 3 ++- duniterpy/helpers/ws2p.py | 3 ++- duniterpy/key/__init__.py | 3 ++- duniterpy/key/ascii_armor.py | 2 +- duniterpy/key/base58.py | 2 +- duniterpy/key/constants.py | 3 ++- duniterpy/key/crc_pubkey.py | 2 +- duniterpy/key/encryption_key.py | 3 ++- duniterpy/key/scrypt_params.py | 2 +- duniterpy/key/signing_key.py | 2 +- duniterpy/key/verifying_key.py | 3 ++- duniterpy/tools.py | 3 ++- examples/__init__.py | 2 +- examples/create_mnemonic_wallet.py | 3 ++- examples/create_public_key.py | 3 ++- examples/listen_ws2p.py | 2 +- examples/load_binary_encrypted_message.py | 2 +- examples/load_binary_signed_message.py | 2 +- examples/load_cleartext_ascii_armor_message.py | 3 ++- examples/load_credentials_file.py | 2 +- examples/load_encrypted_ascii_armor_message.py | 2 +- examples/load_local_blockchain.py | 4 ++-- examples/load_scuttlebutt_file.py | 3 ++- examples/request_available_nodes.py | 2 +- examples/request_data.py | 3 ++- examples/request_data_async.py | 3 ++- examples/request_data_elasticsearch.py | 3 ++- examples/request_data_graphql.py | 3 ++- examples/request_web_socket_block.py | 3 ++- examples/request_ws2p.py | 2 +- examples/save_and_load_private_key_file.py | 3 ++- examples/save_and_load_private_key_file_ewif.py | 3 ++- examples/save_and_load_private_key_file_pubsec.py | 2 +- examples/save_and_load_private_key_file_wif.py | 3 ++- examples/save_binary_encrypted_message.py | 3 ++- examples/save_binary_signed_message.py | 2 +- examples/save_cleartext_ascii_armor_message.py | 3 ++- examples/save_encrypted_ascii_armor_message.py | 2 +- examples/save_revoke_document.py | 3 ++- examples/send_certification.py | 2 +- examples/send_identity.py | 2 +- examples/send_membership.py | 2 +- examples/send_transaction.py | 3 ++- license_header.txt | 2 +- tests/__init__.py | 3 ++- tests/api/__init__.py | 3 ++- tests/api/bma/__init__.py | 3 ++- tests/api/bma/test_blockchain.py | 3 ++- tests/api/bma/test_bma.py | 3 ++- tests/api/bma/test_network.py | 3 ++- tests/api/bma/test_tx.py | 2 +- tests/api/bma/test_wot.py | 3 ++- tests/api/bma/test_ws.py | 2 +- tests/api/test_endpoints.py | 2 +- tests/api/ws2p/test_ws2p.py | 3 ++- tests/documents/__init__.py | 3 ++- tests/documents/test_block.py | 3 ++- tests/documents/test_certification.py | 2 +- tests/documents/test_document.py | 2 +- tests/documents/test_identity.py | 2 +- tests/documents/test_membership.py | 3 ++- tests/documents/test_peer.py | 2 +- tests/documents/test_revocation.py | 2 +- tests/documents/test_transaction.py | 3 ++- tests/documents/test_ws2p_heads.py | 2 +- tests/grammars/__init__.py | 3 ++- tests/grammars/test_output.py | 3 ++- tests/helpers/__init__.py | 3 ++- tests/helpers/test_money.py | 2 +- tests/helpers/test_ws2p.py | 3 ++- tests/key/__init__.py | 3 ++- tests/key/test_ascii_armor.py | 3 ++- tests/key/test_crc_pubkey.py | 3 ++- tests/key/test_encryption_key.py | 2 +- tests/key/test_public_key.py | 3 ++- tests/key/test_signing_key.py | 3 ++- tests/key/test_verifying_key.py | 2 +- 113 files changed, 182 insertions(+), 115 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index cdd2497a..a7a72c98 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -66,7 +66,7 @@ master_doc = "index" # General information about the project. project = "duniterpy" -copyright = "2019, caner & inso & vit" +copyright = "2022, caner & inso & vit" author = "caner & inso & vit" # The version info for the project you're documenting, acts as replacement for diff --git a/duniterpy/__init__.py b/duniterpy/__init__.py index 6337b2e3..149de412 100644 --- a/duniterpy/__init__.py +++ b/duniterpy/__init__.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/api/__init__.py b/duniterpy/api/__init__.py index 98d40594..94539fba 100644 --- a/duniterpy/api/__init__.py +++ b/duniterpy/api/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 @@ -12,3 +12,4 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. + diff --git a/duniterpy/api/bma/__init__.py b/duniterpy/api/bma/__init__.py index 80ff0629..6c65f755 100644 --- a/duniterpy/api/bma/__init__.py +++ b/duniterpy/api/bma/__init__.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/api/bma/blockchain.py b/duniterpy/api/bma/blockchain.py index 047a254d..6ad9c788 100644 --- a/duniterpy/api/bma/blockchain.py +++ b/duniterpy/api/bma/blockchain.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/api/bma/network.py b/duniterpy/api/bma/network.py index c6476efa..d7815821 100644 --- a/duniterpy/api/bma/network.py +++ b/duniterpy/api/bma/network.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/api/bma/node.py b/duniterpy/api/bma/node.py index 0f0cecbf..a3fc4ca3 100644 --- a/duniterpy/api/bma/node.py +++ b/duniterpy/api/bma/node.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/api/bma/tx.py b/duniterpy/api/bma/tx.py index 83e539d6..d978717c 100644 --- a/duniterpy/api/bma/tx.py +++ b/duniterpy/api/bma/tx.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/api/bma/ud.py b/duniterpy/api/bma/ud.py index 1980218a..844efd8a 100644 --- a/duniterpy/api/bma/ud.py +++ b/duniterpy/api/bma/ud.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/api/bma/wot.py b/duniterpy/api/bma/wot.py index f43334fb..b837e3ef 100644 --- a/duniterpy/api/bma/wot.py +++ b/duniterpy/api/bma/wot.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/duniterpy/api/bma/ws.py b/duniterpy/api/bma/ws.py index 54af6dec..b3eb4a47 100644 --- a/duniterpy/api/bma/ws.py +++ b/duniterpy/api/bma/ws.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/api/client.py b/duniterpy/api/client.py index a6831179..4d64f9b1 100644 --- a/duniterpy/api/client.py +++ b/duniterpy/api/client.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/duniterpy/api/endpoint.py b/duniterpy/api/endpoint.py index 02ae3560..fd28e9c0 100644 --- a/duniterpy/api/endpoint.py +++ b/duniterpy/api/endpoint.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/duniterpy/api/errors.py b/duniterpy/api/errors.py index f5ee16d0..17508574 100644 --- a/duniterpy/api/errors.py +++ b/duniterpy/api/errors.py @@ -1,4 +1,6 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + + +# Copyright 2014-2022 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 @@ -13,7 +15,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. - class DuniterError(Exception): """ Handle duniter error diff --git a/duniterpy/api/ws2p/__init__.py b/duniterpy/api/ws2p/__init__.py index 3557948d..963eda09 100644 --- a/duniterpy/api/ws2p/__init__.py +++ b/duniterpy/api/ws2p/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/duniterpy/api/ws2p/network.py b/duniterpy/api/ws2p/network.py index 693c454b..02523c33 100644 --- a/duniterpy/api/ws2p/network.py +++ b/duniterpy/api/ws2p/network.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/duniterpy/api/ws2p/requests.py b/duniterpy/api/ws2p/requests.py index 8c406f70..1b37466f 100644 --- a/duniterpy/api/ws2p/requests.py +++ b/duniterpy/api/ws2p/requests.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/constants.py b/duniterpy/constants.py index e0f8b022..dba9bda4 100644 --- a/duniterpy/constants.py +++ b/duniterpy/constants.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/documents/__init__.py b/duniterpy/documents/__init__.py index e60ff1c3..12aab917 100644 --- a/duniterpy/documents/__init__.py +++ b/duniterpy/documents/__init__.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/documents/block.py b/duniterpy/documents/block.py index 18db3284..b6ee4362 100644 --- a/duniterpy/documents/block.py +++ b/duniterpy/documents/block.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/duniterpy/documents/block_id.py b/duniterpy/documents/block_id.py index 0cc28060..bea50835 100644 --- a/duniterpy/documents/block_id.py +++ b/duniterpy/documents/block_id.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/duniterpy/documents/certification.py b/duniterpy/documents/certification.py index 0ee90038..9e53379a 100644 --- a/duniterpy/documents/certification.py +++ b/duniterpy/documents/certification.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/documents/document.py b/duniterpy/documents/document.py index 72aeee75..95baa4e1 100644 --- a/duniterpy/documents/document.py +++ b/duniterpy/documents/document.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/documents/identity.py b/duniterpy/documents/identity.py index 493183cf..2b5eeb56 100644 --- a/duniterpy/documents/identity.py +++ b/duniterpy/documents/identity.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/duniterpy/documents/membership.py b/duniterpy/documents/membership.py index 86e4056b..56501392 100644 --- a/duniterpy/documents/membership.py +++ b/duniterpy/documents/membership.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/duniterpy/documents/peer.py b/duniterpy/documents/peer.py index e1d00a1c..bb5bcfcc 100644 --- a/duniterpy/documents/peer.py +++ b/duniterpy/documents/peer.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/duniterpy/documents/revocation.py b/duniterpy/documents/revocation.py index 7664a708..07dcc4f7 100644 --- a/duniterpy/documents/revocation.py +++ b/duniterpy/documents/revocation.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/documents/transaction.py b/duniterpy/documents/transaction.py index edae5941..0407b25f 100644 --- a/duniterpy/documents/transaction.py +++ b/duniterpy/documents/transaction.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 @@ -12,6 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. + import base64 import logging import re diff --git a/duniterpy/documents/ws2p/__init__.py b/duniterpy/documents/ws2p/__init__.py index 98d40594..94539fba 100644 --- a/duniterpy/documents/ws2p/__init__.py +++ b/duniterpy/documents/ws2p/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 @@ -12,3 +12,4 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. + diff --git a/duniterpy/documents/ws2p/heads.py b/duniterpy/documents/ws2p/heads.py index 2bca5429..dabd7618 100644 --- a/duniterpy/documents/ws2p/heads.py +++ b/duniterpy/documents/ws2p/heads.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 @@ -12,6 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. + import re import attr diff --git a/duniterpy/documents/ws2p/messages.py b/duniterpy/documents/ws2p/messages.py index 665e90e7..6fb042f0 100644 --- a/duniterpy/documents/ws2p/messages.py +++ b/duniterpy/documents/ws2p/messages.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/duniterpy/grammars/__init__.py b/duniterpy/grammars/__init__.py index 98d40594..94539fba 100644 --- a/duniterpy/grammars/__init__.py +++ b/duniterpy/grammars/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 @@ -12,3 +12,4 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. + diff --git a/duniterpy/grammars/output.py b/duniterpy/grammars/output.py index e82e9685..0c572aa1 100644 --- a/duniterpy/grammars/output.py +++ b/duniterpy/grammars/output.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/helpers/__init__.py b/duniterpy/helpers/__init__.py index 98d40594..94539fba 100644 --- a/duniterpy/helpers/__init__.py +++ b/duniterpy/helpers/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 @@ -12,3 +12,4 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. + diff --git a/duniterpy/helpers/blockchain.py b/duniterpy/helpers/blockchain.py index 94b0ff06..eb95ea64 100644 --- a/duniterpy/helpers/blockchain.py +++ b/duniterpy/helpers/blockchain.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/duniterpy/helpers/money.py b/duniterpy/helpers/money.py index 7acf751a..fef3fc3a 100644 --- a/duniterpy/helpers/money.py +++ b/duniterpy/helpers/money.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/helpers/network.py b/duniterpy/helpers/network.py index 1586aaec..17ac32e2 100644 --- a/duniterpy/helpers/network.py +++ b/duniterpy/helpers/network.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/helpers/ws2p.py b/duniterpy/helpers/ws2p.py index 7bc59efe..a124620d 100644 --- a/duniterpy/helpers/ws2p.py +++ b/duniterpy/helpers/ws2p.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/key/__init__.py b/duniterpy/key/__init__.py index 59257a19..dc9bafdc 100644 --- a/duniterpy/key/__init__.py +++ b/duniterpy/key/__init__.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/key/ascii_armor.py b/duniterpy/key/ascii_armor.py index b959c875..882f23f6 100644 --- a/duniterpy/key/ascii_armor.py +++ b/duniterpy/key/ascii_armor.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/duniterpy/key/base58.py b/duniterpy/key/base58.py index 8e3be555..69440a38 100644 --- a/duniterpy/key/base58.py +++ b/duniterpy/key/base58.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/duniterpy/key/constants.py b/duniterpy/key/constants.py index ac074a42..0f424826 100644 --- a/duniterpy/key/constants.py +++ b/duniterpy/key/constants.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/key/crc_pubkey.py b/duniterpy/key/crc_pubkey.py index fdec9b40..e4f74668 100644 --- a/duniterpy/key/crc_pubkey.py +++ b/duniterpy/key/crc_pubkey.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/duniterpy/key/encryption_key.py b/duniterpy/key/encryption_key.py index c2abe1bf..bf564663 100644 --- a/duniterpy/key/encryption_key.py +++ b/duniterpy/key/encryption_key.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/duniterpy/key/scrypt_params.py b/duniterpy/key/scrypt_params.py index 2b1f4599..a3c04ffd 100644 --- a/duniterpy/key/scrypt_params.py +++ b/duniterpy/key/scrypt_params.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/duniterpy/key/signing_key.py b/duniterpy/key/signing_key.py index 3737d0d5..3593709a 100644 --- a/duniterpy/key/signing_key.py +++ b/duniterpy/key/signing_key.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/duniterpy/key/verifying_key.py b/duniterpy/key/verifying_key.py index c88680e5..8030eff2 100644 --- a/duniterpy/key/verifying_key.py +++ b/duniterpy/key/verifying_key.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 @@ -12,6 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. + import base64 import libnacl.encode diff --git a/duniterpy/tools.py b/duniterpy/tools.py index 711b42ac..5613256d 100644 --- a/duniterpy/tools.py +++ b/duniterpy/tools.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/examples/__init__.py b/examples/__init__.py index 555795c5..40be66b2 100644 --- a/examples/__init__.py +++ b/examples/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/examples/create_mnemonic_wallet.py b/examples/create_mnemonic_wallet.py index f18fd181..b567bf1d 100644 --- a/examples/create_mnemonic_wallet.py +++ b/examples/create_mnemonic_wallet.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 @@ -12,6 +12,7 @@ # # 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 pathlib import Path import mnemonic diff --git a/examples/create_public_key.py b/examples/create_public_key.py index 4283a847..bddaf3bd 100644 --- a/examples/create_public_key.py +++ b/examples/create_public_key.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/examples/listen_ws2p.py b/examples/listen_ws2p.py index e2f0135a..b3ce30cc 100644 --- a/examples/listen_ws2p.py +++ b/examples/listen_ws2p.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/examples/load_binary_encrypted_message.py b/examples/load_binary_encrypted_message.py index d16b2b2e..e1d5817d 100644 --- a/examples/load_binary_encrypted_message.py +++ b/examples/load_binary_encrypted_message.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/examples/load_binary_signed_message.py b/examples/load_binary_signed_message.py index c3186944..c89336d9 100644 --- a/examples/load_binary_signed_message.py +++ b/examples/load_binary_signed_message.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/examples/load_cleartext_ascii_armor_message.py b/examples/load_cleartext_ascii_armor_message.py index 9300b0ea..e130bcb1 100644 --- a/examples/load_cleartext_ascii_armor_message.py +++ b/examples/load_cleartext_ascii_armor_message.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/examples/load_credentials_file.py b/examples/load_credentials_file.py index b20ad93b..5096e0d6 100644 --- a/examples/load_credentials_file.py +++ b/examples/load_credentials_file.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/examples/load_encrypted_ascii_armor_message.py b/examples/load_encrypted_ascii_armor_message.py index f5182676..7e77e388 100644 --- a/examples/load_encrypted_ascii_armor_message.py +++ b/examples/load_encrypted_ascii_armor_message.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/examples/load_local_blockchain.py b/examples/load_local_blockchain.py index a5a563ea..1d5097ec 100644 --- a/examples/load_local_blockchain.py +++ b/examples/load_local_blockchain.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 @@ -13,7 +14,6 @@ # 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 duniterpy.helpers.blockchain import load diff --git a/examples/load_scuttlebutt_file.py b/examples/load_scuttlebutt_file.py index 43903adb..45e86afd 100644 --- a/examples/load_scuttlebutt_file.py +++ b/examples/load_scuttlebutt_file.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/examples/request_available_nodes.py b/examples/request_available_nodes.py index 0d908c2c..0a5bd819 100644 --- a/examples/request_available_nodes.py +++ b/examples/request_available_nodes.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/examples/request_data.py b/examples/request_data.py index a35f101a..88af88f6 100644 --- a/examples/request_data.py +++ b/examples/request_data.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/examples/request_data_async.py b/examples/request_data_async.py index b5c18ca7..e8923cdc 100644 --- a/examples/request_data_async.py +++ b/examples/request_data_async.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/examples/request_data_elasticsearch.py b/examples/request_data_elasticsearch.py index 5a9f254e..7919b26f 100644 --- a/examples/request_data_elasticsearch.py +++ b/examples/request_data_elasticsearch.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/examples/request_data_graphql.py b/examples/request_data_graphql.py index f9ca8e06..f17e45e8 100644 --- a/examples/request_data_graphql.py +++ b/examples/request_data_graphql.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/examples/request_web_socket_block.py b/examples/request_web_socket_block.py index 928e8343..3dddf17a 100644 --- a/examples/request_web_socket_block.py +++ b/examples/request_web_socket_block.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/examples/request_ws2p.py b/examples/request_ws2p.py index 6e32d688..2e94ff46 100644 --- a/examples/request_ws2p.py +++ b/examples/request_ws2p.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/examples/save_and_load_private_key_file.py b/examples/save_and_load_private_key_file.py index 4584f1ea..23801e55 100644 --- a/examples/save_and_load_private_key_file.py +++ b/examples/save_and_load_private_key_file.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/examples/save_and_load_private_key_file_ewif.py b/examples/save_and_load_private_key_file_ewif.py index 1e8bc497..04165c08 100644 --- a/examples/save_and_load_private_key_file_ewif.py +++ b/examples/save_and_load_private_key_file_ewif.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/examples/save_and_load_private_key_file_pubsec.py b/examples/save_and_load_private_key_file_pubsec.py index 98dd59e2..e02edad4 100644 --- a/examples/save_and_load_private_key_file_pubsec.py +++ b/examples/save_and_load_private_key_file_pubsec.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/examples/save_and_load_private_key_file_wif.py b/examples/save_and_load_private_key_file_wif.py index 30a0cd8f..590ea0b5 100644 --- a/examples/save_and_load_private_key_file_wif.py +++ b/examples/save_and_load_private_key_file_wif.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/examples/save_binary_encrypted_message.py b/examples/save_binary_encrypted_message.py index a1cc4b20..92d49039 100644 --- a/examples/save_binary_encrypted_message.py +++ b/examples/save_binary_encrypted_message.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/examples/save_binary_signed_message.py b/examples/save_binary_signed_message.py index f1f708ea..e3a1c6e6 100644 --- a/examples/save_binary_signed_message.py +++ b/examples/save_binary_signed_message.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/examples/save_cleartext_ascii_armor_message.py b/examples/save_cleartext_ascii_armor_message.py index 752d8dee..087d82f4 100644 --- a/examples/save_cleartext_ascii_armor_message.py +++ b/examples/save_cleartext_ascii_armor_message.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/examples/save_encrypted_ascii_armor_message.py b/examples/save_encrypted_ascii_armor_message.py index cf3347cc..65b3f2b1 100644 --- a/examples/save_encrypted_ascii_armor_message.py +++ b/examples/save_encrypted_ascii_armor_message.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/examples/save_revoke_document.py b/examples/save_revoke_document.py index 79bc7bab..bc96096c 100644 --- a/examples/save_revoke_document.py +++ b/examples/save_revoke_document.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/examples/send_certification.py b/examples/send_certification.py index c804028f..7c366053 100644 --- a/examples/send_certification.py +++ b/examples/send_certification.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/examples/send_identity.py b/examples/send_identity.py index 9c7b2d3b..59295065 100644 --- a/examples/send_identity.py +++ b/examples/send_identity.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/examples/send_membership.py b/examples/send_membership.py index b22076a8..f39883f9 100644 --- a/examples/send_membership.py +++ b/examples/send_membership.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/examples/send_transaction.py b/examples/send_transaction.py index e29d230f..7c051aac 100644 --- a/examples/send_transaction.py +++ b/examples/send_transaction.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/license_header.txt b/license_header.txt index 31d98e9a..84e9fc52 100644 --- a/license_header.txt +++ b/license_header.txt @@ -1,4 +1,4 @@ -Copyright 2014-2021 Vincent Texier <vit@free.fr> +Copyright 2014-2022 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 diff --git a/tests/__init__.py b/tests/__init__.py index 98d40594..94539fba 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 @@ -12,3 +12,4 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. + diff --git a/tests/api/__init__.py b/tests/api/__init__.py index 98d40594..94539fba 100644 --- a/tests/api/__init__.py +++ b/tests/api/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 @@ -12,3 +12,4 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. + diff --git a/tests/api/bma/__init__.py b/tests/api/bma/__init__.py index 98d40594..94539fba 100644 --- a/tests/api/bma/__init__.py +++ b/tests/api/bma/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 @@ -12,3 +12,4 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. + diff --git a/tests/api/bma/test_blockchain.py b/tests/api/bma/test_blockchain.py index 22e2dd84..6ea3c7ba 100644 --- a/tests/api/bma/test_blockchain.py +++ b/tests/api/bma/test_blockchain.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/tests/api/bma/test_bma.py b/tests/api/bma/test_bma.py index 06417780..1d9a40d7 100644 --- a/tests/api/bma/test_bma.py +++ b/tests/api/bma/test_bma.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/tests/api/bma/test_network.py b/tests/api/bma/test_network.py index 84892fb6..5175256a 100644 --- a/tests/api/bma/test_network.py +++ b/tests/api/bma/test_network.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/tests/api/bma/test_tx.py b/tests/api/bma/test_tx.py index 211787cf..5daef13f 100644 --- a/tests/api/bma/test_tx.py +++ b/tests/api/bma/test_tx.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/tests/api/bma/test_wot.py b/tests/api/bma/test_wot.py index 029ffdab..9931f16a 100644 --- a/tests/api/bma/test_wot.py +++ b/tests/api/bma/test_wot.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/tests/api/bma/test_ws.py b/tests/api/bma/test_ws.py index a05c45b9..f8f44605 100644 --- a/tests/api/bma/test_ws.py +++ b/tests/api/bma/test_ws.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/tests/api/test_endpoints.py b/tests/api/test_endpoints.py index c0924988..572ce8e5 100644 --- a/tests/api/test_endpoints.py +++ b/tests/api/test_endpoints.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/tests/api/ws2p/test_ws2p.py b/tests/api/ws2p/test_ws2p.py index 4bc5390a..958333d2 100644 --- a/tests/api/ws2p/test_ws2p.py +++ b/tests/api/ws2p/test_ws2p.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/tests/documents/__init__.py b/tests/documents/__init__.py index 98d40594..94539fba 100644 --- a/tests/documents/__init__.py +++ b/tests/documents/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 @@ -12,3 +12,4 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. + diff --git a/tests/documents/test_block.py b/tests/documents/test_block.py index e51bafee..091dddd3 100644 --- a/tests/documents/test_block.py +++ b/tests/documents/test_block.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/tests/documents/test_certification.py b/tests/documents/test_certification.py index dfee42c9..e8d78fd0 100644 --- a/tests/documents/test_certification.py +++ b/tests/documents/test_certification.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/tests/documents/test_document.py b/tests/documents/test_document.py index 0043226f..c1a21987 100644 --- a/tests/documents/test_document.py +++ b/tests/documents/test_document.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/tests/documents/test_identity.py b/tests/documents/test_identity.py index 46bb9145..82943746 100644 --- a/tests/documents/test_identity.py +++ b/tests/documents/test_identity.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/tests/documents/test_membership.py b/tests/documents/test_membership.py index bc49de15..ce937267 100644 --- a/tests/documents/test_membership.py +++ b/tests/documents/test_membership.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/tests/documents/test_peer.py b/tests/documents/test_peer.py index 00da8039..11b27a5c 100644 --- a/tests/documents/test_peer.py +++ b/tests/documents/test_peer.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/tests/documents/test_revocation.py b/tests/documents/test_revocation.py index b17398ab..a5746418 100644 --- a/tests/documents/test_revocation.py +++ b/tests/documents/test_revocation.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/tests/documents/test_transaction.py b/tests/documents/test_transaction.py index 58be4321..bf04d574 100644 --- a/tests/documents/test_transaction.py +++ b/tests/documents/test_transaction.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/tests/documents/test_ws2p_heads.py b/tests/documents/test_ws2p_heads.py index e517d065..41447ffa 100644 --- a/tests/documents/test_ws2p_heads.py +++ b/tests/documents/test_ws2p_heads.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/tests/grammars/__init__.py b/tests/grammars/__init__.py index 98d40594..94539fba 100644 --- a/tests/grammars/__init__.py +++ b/tests/grammars/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 @@ -12,3 +12,4 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. + diff --git a/tests/grammars/test_output.py b/tests/grammars/test_output.py index 9655e9fc..96a19b48 100644 --- a/tests/grammars/test_output.py +++ b/tests/grammars/test_output.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/tests/helpers/__init__.py b/tests/helpers/__init__.py index 98d40594..94539fba 100644 --- a/tests/helpers/__init__.py +++ b/tests/helpers/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 @@ -12,3 +12,4 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. + diff --git a/tests/helpers/test_money.py b/tests/helpers/test_money.py index 131cc12d..d06a1088 100644 --- a/tests/helpers/test_money.py +++ b/tests/helpers/test_money.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/tests/helpers/test_ws2p.py b/tests/helpers/test_ws2p.py index 8ad4a1ba..351aed0b 100644 --- a/tests/helpers/test_ws2p.py +++ b/tests/helpers/test_ws2p.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/tests/key/__init__.py b/tests/key/__init__.py index 98d40594..94539fba 100644 --- a/tests/key/__init__.py +++ b/tests/key/__init__.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 @@ -12,3 +12,4 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. + diff --git a/tests/key/test_ascii_armor.py b/tests/key/test_ascii_armor.py index ff74ef7f..94056122 100644 --- a/tests/key/test_ascii_armor.py +++ b/tests/key/test_ascii_armor.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/tests/key/test_crc_pubkey.py b/tests/key/test_crc_pubkey.py index b7f54d3a..4c287f58 100644 --- a/tests/key/test_crc_pubkey.py +++ b/tests/key/test_crc_pubkey.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/tests/key/test_encryption_key.py b/tests/key/test_encryption_key.py index 777cac61..c8bfe2c6 100644 --- a/tests/key/test_encryption_key.py +++ b/tests/key/test_encryption_key.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 diff --git a/tests/key/test_public_key.py b/tests/key/test_public_key.py index ffa451f9..372322a6 100644 --- a/tests/key/test_public_key.py +++ b/tests/key/test_public_key.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/tests/key/test_signing_key.py b/tests/key/test_signing_key.py index 256c5a66..9dd24b6d 100644 --- a/tests/key/test_signing_key.py +++ b/tests/key/test_signing_key.py @@ -1,4 +1,5 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> + +# Copyright 2014-2022 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 diff --git a/tests/key/test_verifying_key.py b/tests/key/test_verifying_key.py index 38016937..3b0b7f7f 100644 --- a/tests/key/test_verifying_key.py +++ b/tests/key/test_verifying_key.py @@ -1,4 +1,4 @@ -# Copyright 2014-2021 Vincent Texier <vit@free.fr> +# Copyright 2014-2022 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 -- GitLab