From 5b103eb457e532b48fc898c44608bfef5f7219fc Mon Sep 17 00:00:00 2001 From: Mathieu Benoit Date: Mon, 26 Aug 2024 14:55:36 -0400 Subject: [PATCH] [UPD] script: format script and add licence technolibre --- docker/repo_manifest_gen_org_prefix_path.py | 4 +++- docker/wait-for-psql.py | 5 ++++- script/addons/check_addons_exist.py | 5 ++++- script/code_generator/create_from_existing_module.py | 5 ++++- script/code_generator/new_project.py | 5 ++++- script/code_generator/search_class_model.py | 5 ++++- .../transform_xml_data_website_page_to_controller.py | 5 ++++- script/code_generator/test_code_generator_update_module.py | 5 ++++- .../code_generator/test_transform_python_to_code_writer.py | 5 ++++- script/code_generator/transform_python_to_code_writer.py | 5 ++++- script/code_generator/transform_xml_to_code_writer.py | 5 ++++- script/database/compare_database_application.py | 5 ++++- script/database/db_drop_all.py | 5 ++++- script/database/db_restore.py | 5 ++++- script/database/fix_mariadb_sql_example_1.py | 4 +++- script/deployment/get_public_ip.py | 5 ++++- script/deployment/update_dns_cloudflare.py | 5 ++++- script/docker/docker_update_version.py | 5 ++++- script/git/fork_project.py | 5 ++++- script/git/fork_project_ERPLibre.py | 5 ++++- script/git/git_change_remote.py | 5 ++++- script/git/git_change_remote_https_to_git.py | 6 +++--- script/git/git_diff_repo_manifest.py | 5 ++++- script/git/git_merge_repo_manifest.py | 5 ++++- script/git/git_repo_manifest.py | 5 ++++- script/git/git_repo_update_group.py | 5 ++++- script/git/git_show_code_diff_repo_manifest.py | 5 ++++- script/git/git_tool.py | 7 ++++--- script/git/git_update_repo.py | 5 ++++- script/git/pull_request_ERPLibre.py | 5 ++++- script/git/remote_code_generation_git_compare.py | 6 +++--- script/git/repo_remove_auto_install.py | 5 ++++- .../git/repo_revert_git_diff_date_from_code_generator.py | 5 ++++- script/git/tag_push_all.py | 5 ++++- script/ide/pycharm_configuration.py | 5 ++++- script/lib_asyncio.py | 6 ++++-- script/manifest/compare_backup.py | 5 ++++- script/poetry/poetry_update.py | 5 ++++- script/restful/restful_example.py | 6 ++++-- script/selenium/selenium_devops.py | 3 +++ script/selenium/selenium_lib.py | 3 +++ script/selenium/web_login.py | 4 +++- script/statistic/show_evolution_module.py | 5 ++++- script/test/run_parallel_test.py | 5 ++++- 44 files changed, 169 insertions(+), 50 deletions(-) diff --git a/docker/repo_manifest_gen_org_prefix_path.py b/docker/repo_manifest_gen_org_prefix_path.py index e60054b..3a8124a 100755 --- a/docker/repo_manifest_gen_org_prefix_path.py +++ b/docker/repo_manifest_gen_org_prefix_path.py @@ -1,4 +1,6 @@ -#!./.venv/bin/python +#!/usr/bin/env python +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) import argparse diff --git a/docker/wait-for-psql.py b/docker/wait-for-psql.py index d42d263..a15b8f6 100755 --- a/docker/wait-for-psql.py +++ b/docker/wait-for-psql.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import psycopg2 import sys diff --git a/script/addons/check_addons_exist.py b/script/addons/check_addons_exist.py index 6de0543..aa1cd0c 100755 --- a/script/addons/check_addons_exist.py +++ b/script/addons/check_addons_exist.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import configparser import logging diff --git a/script/code_generator/create_from_existing_module.py b/script/code_generator/create_from_existing_module.py index a34b189..708d3f2 100755 --- a/script/code_generator/create_from_existing_module.py +++ b/script/code_generator/create_from_existing_module.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import logging import os diff --git a/script/code_generator/new_project.py b/script/code_generator/new_project.py index a26bdf9..d2ce269 100755 --- a/script/code_generator/new_project.py +++ b/script/code_generator/new_project.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import configparser import logging diff --git a/script/code_generator/search_class_model.py b/script/code_generator/search_class_model.py index b008eb4..f62eced 100755 --- a/script/code_generator/search_class_model.py +++ b/script/code_generator/search_class_model.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import astor diff --git a/script/code_generator/technical/transform_xml_data_website_page_to_controller.py b/script/code_generator/technical/transform_xml_data_website_page_to_controller.py index 50364f7..6d2fc41 100644 --- a/script/code_generator/technical/transform_xml_data_website_page_to_controller.py +++ b/script/code_generator/technical/transform_xml_data_website_page_to_controller.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import logging import os diff --git a/script/code_generator/test_code_generator_update_module.py b/script/code_generator/test_code_generator_update_module.py index e07f282..02c9be3 100755 --- a/script/code_generator/test_code_generator_update_module.py +++ b/script/code_generator/test_code_generator_update_module.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import logging import os diff --git a/script/code_generator/test_transform_python_to_code_writer.py b/script/code_generator/test_transform_python_to_code_writer.py index 90e1be5..c2e9472 100644 --- a/script/code_generator/test_transform_python_to_code_writer.py +++ b/script/code_generator/test_transform_python_to_code_writer.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import os import subprocess diff --git a/script/code_generator/transform_python_to_code_writer.py b/script/code_generator/transform_python_to_code_writer.py index b2fadd2..065f884 100755 --- a/script/code_generator/transform_python_to_code_writer.py +++ b/script/code_generator/transform_python_to_code_writer.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import uuid import subprocess diff --git a/script/code_generator/transform_xml_to_code_writer.py b/script/code_generator/transform_xml_to_code_writer.py index da4429c..c88f16b 100644 --- a/script/code_generator/transform_xml_to_code_writer.py +++ b/script/code_generator/transform_xml_to_code_writer.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import logging import os diff --git a/script/database/compare_database_application.py b/script/database/compare_database_application.py index 6304e52..90cb5b6 100755 --- a/script/database/compare_database_application.py +++ b/script/database/compare_database_application.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import csv import logging diff --git a/script/database/db_drop_all.py b/script/database/db_drop_all.py index b9987d0..d2863ab 100755 --- a/script/database/db_drop_all.py +++ b/script/database/db_drop_all.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import logging import subprocess diff --git a/script/database/db_restore.py b/script/database/db_restore.py index af3dce1..76390db 100755 --- a/script/database/db_restore.py +++ b/script/database/db_restore.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import configparser import getpass diff --git a/script/database/fix_mariadb_sql_example_1.py b/script/database/fix_mariadb_sql_example_1.py index 021395b..5a69f1f 100755 --- a/script/database/fix_mariadb_sql_example_1.py +++ b/script/database/fix_mariadb_sql_example_1.py @@ -1,4 +1,6 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) from collections import defaultdict import pymysql diff --git a/script/deployment/get_public_ip.py b/script/deployment/get_public_ip.py index dcc3232..e7f7405 100755 --- a/script/deployment/get_public_ip.py +++ b/script/deployment/get_public_ip.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import requests r = requests.get(r"https://api.ipify.org") diff --git a/script/deployment/update_dns_cloudflare.py b/script/deployment/update_dns_cloudflare.py index 9c40537..22dede5 100755 --- a/script/deployment/update_dns_cloudflare.py +++ b/script/deployment/update_dns_cloudflare.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import logging diff --git a/script/docker/docker_update_version.py b/script/docker/docker_update_version.py index 14d0e57..17c7f1f 100755 --- a/script/docker/docker_update_version.py +++ b/script/docker/docker_update_version.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import logging import os diff --git a/script/git/fork_project.py b/script/git/fork_project.py index 86fd746..31a84cf 100755 --- a/script/git/fork_project.py +++ b/script/git/fork_project.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import logging import os diff --git a/script/git/fork_project_ERPLibre.py b/script/git/fork_project_ERPLibre.py index 0a1913f..16c4e9e 100755 --- a/script/git/fork_project_ERPLibre.py +++ b/script/git/fork_project_ERPLibre.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import logging import os diff --git a/script/git/git_change_remote.py b/script/git/git_change_remote.py index 30de84e..1fadcef 100755 --- a/script/git/git_change_remote.py +++ b/script/git/git_change_remote.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import logging import os diff --git a/script/git/git_change_remote_https_to_git.py b/script/git/git_change_remote_https_to_git.py index 47c85aa..6e39ff3 100755 --- a/script/git/git_change_remote_https_to_git.py +++ b/script/git/git_change_remote_https_to_git.py @@ -1,6 +1,6 @@ -#!./.venv/bin/python -# © 2020 TechnoLibre (http://www.technolibre.ca) -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) import argparse import logging diff --git a/script/git/git_diff_repo_manifest.py b/script/git/git_diff_repo_manifest.py index 2144d91..e0cb3ec 100755 --- a/script/git/git_diff_repo_manifest.py +++ b/script/git/git_diff_repo_manifest.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import logging import os diff --git a/script/git/git_merge_repo_manifest.py b/script/git/git_merge_repo_manifest.py index 699fb80..7266181 100755 --- a/script/git/git_merge_repo_manifest.py +++ b/script/git/git_merge_repo_manifest.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import copy import logging diff --git a/script/git/git_repo_manifest.py b/script/git/git_repo_manifest.py index 180ddbf..0a5a391 100755 --- a/script/git/git_repo_manifest.py +++ b/script/git/git_repo_manifest.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import logging import os diff --git a/script/git/git_repo_update_group.py b/script/git/git_repo_update_group.py index 4347a35..2805679 100755 --- a/script/git/git_repo_update_group.py +++ b/script/git/git_repo_update_group.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import logging import os diff --git a/script/git/git_show_code_diff_repo_manifest.py b/script/git/git_show_code_diff_repo_manifest.py index cd2c871..16eb3c2 100755 --- a/script/git/git_show_code_diff_repo_manifest.py +++ b/script/git/git_show_code_diff_repo_manifest.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import logging import os diff --git a/script/git/git_tool.py b/script/git/git_tool.py index 1281805..ab42427 100644 --- a/script/git/git_tool.py +++ b/script/git/git_tool.py @@ -1,6 +1,7 @@ -#!./.venv/bin/python -# © 2020 TechnoLibre (http://www.technolibre.ca) -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import os import webbrowser from collections import OrderedDict diff --git a/script/git/git_update_repo.py b/script/git/git_update_repo.py index c2ef9d2..5106640 100755 --- a/script/git/git_update_repo.py +++ b/script/git/git_update_repo.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import logging import os diff --git a/script/git/pull_request_ERPLibre.py b/script/git/pull_request_ERPLibre.py index 5536764..1c98a74 100755 --- a/script/git/pull_request_ERPLibre.py +++ b/script/git/pull_request_ERPLibre.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import logging import os diff --git a/script/git/remote_code_generation_git_compare.py b/script/git/remote_code_generation_git_compare.py index 6f4e295..c88e8d7 100755 --- a/script/git/remote_code_generation_git_compare.py +++ b/script/git/remote_code_generation_git_compare.py @@ -1,6 +1,6 @@ -#!./.venv/bin/python -# © 2021 TechnoLibre (http://www.technolibre.ca) -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) import argparse import logging diff --git a/script/git/repo_remove_auto_install.py b/script/git/repo_remove_auto_install.py index dac6eda..af5ff44 100755 --- a/script/git/repo_remove_auto_install.py +++ b/script/git/repo_remove_auto_install.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import logging import os diff --git a/script/git/repo_revert_git_diff_date_from_code_generator.py b/script/git/repo_revert_git_diff_date_from_code_generator.py index 9d074e8..5071cc8 100755 --- a/script/git/repo_revert_git_diff_date_from_code_generator.py +++ b/script/git/repo_revert_git_diff_date_from_code_generator.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import logging import os diff --git a/script/git/tag_push_all.py b/script/git/tag_push_all.py index 462fada..d1e5d3c 100755 --- a/script/git/tag_push_all.py +++ b/script/git/tag_push_all.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import logging import os diff --git a/script/ide/pycharm_configuration.py b/script/ide/pycharm_configuration.py index 4df53c2..097e43b 100755 --- a/script/ide/pycharm_configuration.py +++ b/script/ide/pycharm_configuration.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import csv import logging diff --git a/script/lib_asyncio.py b/script/lib_asyncio.py index 09af557..1afe978 100644 --- a/script/lib_asyncio.py +++ b/script/lib_asyncio.py @@ -1,5 +1,7 @@ -#!./.venv/bin/python -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl) +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import asyncio from collections import deque diff --git a/script/manifest/compare_backup.py b/script/manifest/compare_backup.py index f125fbd..ddbf58a 100755 --- a/script/manifest/compare_backup.py +++ b/script/manifest/compare_backup.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import json import logging diff --git a/script/poetry/poetry_update.py b/script/poetry/poetry_update.py index 3bcb345..79d78ce 100755 --- a/script/poetry/poetry_update.py +++ b/script/poetry/poetry_update.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import ast import logging diff --git a/script/restful/restful_example.py b/script/restful/restful_example.py index bdf0e10..fa9cf4a 100755 --- a/script/restful/restful_example.py +++ b/script/restful/restful_example.py @@ -1,5 +1,7 @@ -#!./.venv/bin/python -# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import json import requests diff --git a/script/selenium/selenium_devops.py b/script/selenium/selenium_devops.py index 730eb9f..72d6a7c 100755 --- a/script/selenium/selenium_devops.py +++ b/script/selenium/selenium_devops.py @@ -1,4 +1,7 @@ #!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import sys import argparse import web_login diff --git a/script/selenium/selenium_lib.py b/script/selenium/selenium_lib.py index f366735..7fa7711 100644 --- a/script/selenium/selenium_lib.py +++ b/script/selenium/selenium_lib.py @@ -1,4 +1,7 @@ #!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + from randomwordfr import RandomWordFr import re import os diff --git a/script/selenium/web_login.py b/script/selenium/web_login.py index 9d013fe..81f5616 100755 --- a/script/selenium/web_login.py +++ b/script/selenium/web_login.py @@ -1,5 +1,7 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import os import sys diff --git a/script/statistic/show_evolution_module.py b/script/statistic/show_evolution_module.py index be743b4..7698cb6 100755 --- a/script/statistic/show_evolution_module.py +++ b/script/statistic/show_evolution_module.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import datetime import logging diff --git a/script/test/run_parallel_test.py b/script/test/run_parallel_test.py index f963b1c..5b0d89c 100755 --- a/script/test/run_parallel_test.py +++ b/script/test/run_parallel_test.py @@ -1,4 +1,7 @@ -#!./.venv/bin/python +#!/usr/bin/env python3 +# © 2021-2024 TechnoLibre (http://www.technolibre.ca) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl) + import argparse import asyncio import configparser