From 06e98f8b5561cca01451ae4669b71cb83086439e Mon Sep 17 00:00:00 2001 From: Mark Paronyan Date: Wed, 30 Sep 2026 20:45:43 +0300 Subject: [PATCH] style: drop redundant utf-8 coding declarations --- gns3server/controller/appliance_to_template.py | 1 - scripts/welcome.py | 1 - tests/api/routes/compute/test_capabilities.py | 1 - tests/api/routes/compute/test_cloud_nodes.py | 1 - tests/api/routes/compute/test_compute.py | 1 - tests/api/routes/compute/test_docker_nodes.py | 1 - tests/api/routes/compute/test_dynamips_nodes.py | 1 - tests/api/routes/compute/test_ethernet_switch_nodes.py | 1 - tests/api/routes/compute/test_iou_nodes.py | 1 - tests/api/routes/compute/test_nat_nodes.py | 1 - tests/api/routes/compute/test_projects.py | 1 - tests/api/routes/compute/test_qemu_nodes.py | 1 - tests/api/routes/compute/test_virtualbox_nodes.py | 1 - tests/api/routes/compute/test_vmware_nodes.py | 1 - tests/api/routes/compute/test_vpcs_nodes.py | 1 - tests/api/routes/controller/test_drawings.py | 1 - tests/api/routes/controller/test_gns3vm.py | 1 - tests/api/routes/controller/test_links.py | 1 - tests/api/routes/controller/test_markers.py | 1 - tests/api/routes/controller/test_nodes.py | 1 - tests/api/routes/controller/test_projects.py | 1 - tests/api/routes/controller/test_settings.py | 1 - tests/api/routes/controller/test_symbols.py | 1 - tests/api/routes/controller/test_version.py | 1 - tests/api/routes/test_index.py | 1 - tests/api/routes/test_routes.py | 1 - tests/compute/docker/test_docker_vm.py | 1 - tests/compute/dynamips/test_dynamips_manager.py | 1 - tests/compute/dynamips/test_dynamips_router.py | 1 - tests/compute/iou/test_iou_vm.py | 1 - tests/compute/qemu/test_qemu_manager.py | 1 - tests/compute/qemu/test_qemu_vm.py | 1 - tests/compute/test_base_node.py | 1 - tests/compute/test_manager.py | 1 - tests/compute/test_port_manager.py | 1 - tests/compute/test_project.py | 1 - tests/compute/test_project_manager.py | 1 - tests/compute/virtualbox/test_virtualbox_manager.py | 1 - tests/compute/virtualbox/test_virtualbox_vm.py | 1 - tests/compute/vmware/test_vmware_manager.py | 1 - tests/compute/vmware/test_vmware_vm.py | 1 - tests/compute/vpcs/test_vpcs_manager.py | 1 - tests/compute/vpcs/test_vpcs_vm.py | 1 - tests/controller/test_project.py | 1 - tests/test_config.py | 1 - tests/test_server.py | 1 - tests/utils.py | 1 - tests/utils/test_asyncio.py | 1 - tests/utils/test_hostname.py | 1 - tests/utils/test_images.py | 1 - tests/utils/test_interfaces.py | 1 - 51 files changed, 51 deletions(-) diff --git a/gns3server/controller/appliance_to_template.py b/gns3server/controller/appliance_to_template.py index b848e56d8..e78eaf56f 100644 --- a/gns3server/controller/appliance_to_template.py +++ b/gns3server/controller/appliance_to_template.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- # # Copyright (C) 2021 GNS3 Technologies Inc. # diff --git a/scripts/welcome.py b/scripts/welcome.py index dc3d5907f..277a35138 100644 --- a/scripts/welcome.py +++ b/scripts/welcome.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- # # Copyright (C) 2015 GNS3 Technologies Inc. # diff --git a/tests/api/routes/compute/test_capabilities.py b/tests/api/routes/compute/test_capabilities.py index 09d4186eb..9a285c7bc 100644 --- a/tests/api/routes/compute/test_capabilities.py +++ b/tests/api/routes/compute/test_capabilities.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/api/routes/compute/test_cloud_nodes.py b/tests/api/routes/compute/test_cloud_nodes.py index 05949e5e6..01a32ec36 100644 --- a/tests/api/routes/compute/test_cloud_nodes.py +++ b/tests/api/routes/compute/test_cloud_nodes.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/api/routes/compute/test_compute.py b/tests/api/routes/compute/test_compute.py index 0edb27aa6..1a9579b77 100644 --- a/tests/api/routes/compute/test_compute.py +++ b/tests/api/routes/compute/test_compute.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/api/routes/compute/test_docker_nodes.py b/tests/api/routes/compute/test_docker_nodes.py index fecc0ef56..e16fb422c 100644 --- a/tests/api/routes/compute/test_docker_nodes.py +++ b/tests/api/routes/compute/test_docker_nodes.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/api/routes/compute/test_dynamips_nodes.py b/tests/api/routes/compute/test_dynamips_nodes.py index a586aa508..c5d014ea6 100644 --- a/tests/api/routes/compute/test_dynamips_nodes.py +++ b/tests/api/routes/compute/test_dynamips_nodes.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/api/routes/compute/test_ethernet_switch_nodes.py b/tests/api/routes/compute/test_ethernet_switch_nodes.py index f552b8c21..cc046e3ef 100644 --- a/tests/api/routes/compute/test_ethernet_switch_nodes.py +++ b/tests/api/routes/compute/test_ethernet_switch_nodes.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2022 GNS3 Technologies Inc. # diff --git a/tests/api/routes/compute/test_iou_nodes.py b/tests/api/routes/compute/test_iou_nodes.py index 565ed3070..65c2e56db 100644 --- a/tests/api/routes/compute/test_iou_nodes.py +++ b/tests/api/routes/compute/test_iou_nodes.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/api/routes/compute/test_nat_nodes.py b/tests/api/routes/compute/test_nat_nodes.py index aafa427aa..0d40cd487 100644 --- a/tests/api/routes/compute/test_nat_nodes.py +++ b/tests/api/routes/compute/test_nat_nodes.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/api/routes/compute/test_projects.py b/tests/api/routes/compute/test_projects.py index 88c4b463a..2b8637d5b 100644 --- a/tests/api/routes/compute/test_projects.py +++ b/tests/api/routes/compute/test_projects.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/api/routes/compute/test_qemu_nodes.py b/tests/api/routes/compute/test_qemu_nodes.py index 3f53d3538..304f330a4 100644 --- a/tests/api/routes/compute/test_qemu_nodes.py +++ b/tests/api/routes/compute/test_qemu_nodes.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/api/routes/compute/test_virtualbox_nodes.py b/tests/api/routes/compute/test_virtualbox_nodes.py index e50420518..2de646193 100644 --- a/tests/api/routes/compute/test_virtualbox_nodes.py +++ b/tests/api/routes/compute/test_virtualbox_nodes.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/api/routes/compute/test_vmware_nodes.py b/tests/api/routes/compute/test_vmware_nodes.py index 6b42eb61a..df485774a 100644 --- a/tests/api/routes/compute/test_vmware_nodes.py +++ b/tests/api/routes/compute/test_vmware_nodes.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/api/routes/compute/test_vpcs_nodes.py b/tests/api/routes/compute/test_vpcs_nodes.py index 5b9073332..fd558d9a9 100644 --- a/tests/api/routes/compute/test_vpcs_nodes.py +++ b/tests/api/routes/compute/test_vpcs_nodes.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/api/routes/controller/test_drawings.py b/tests/api/routes/controller/test_drawings.py index 2d491f863..2096df27a 100644 --- a/tests/api/routes/controller/test_drawings.py +++ b/tests/api/routes/controller/test_drawings.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/api/routes/controller/test_gns3vm.py b/tests/api/routes/controller/test_gns3vm.py index 27a8b9184..bf5db4141 100644 --- a/tests/api/routes/controller/test_gns3vm.py +++ b/tests/api/routes/controller/test_gns3vm.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/api/routes/controller/test_links.py b/tests/api/routes/controller/test_links.py index a81ca094b..d6af89d70 100644 --- a/tests/api/routes/controller/test_links.py +++ b/tests/api/routes/controller/test_links.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/api/routes/controller/test_markers.py b/tests/api/routes/controller/test_markers.py index 2e088ed3c..54e4dc8f0 100644 --- a/tests/api/routes/controller/test_markers.py +++ b/tests/api/routes/controller/test_markers.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2025 GNS3 Technologies Inc. # diff --git a/tests/api/routes/controller/test_nodes.py b/tests/api/routes/controller/test_nodes.py index d86e13fe0..017e65783 100644 --- a/tests/api/routes/controller/test_nodes.py +++ b/tests/api/routes/controller/test_nodes.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/api/routes/controller/test_projects.py b/tests/api/routes/controller/test_projects.py index e94b7e273..0d840a41c 100644 --- a/tests/api/routes/controller/test_projects.py +++ b/tests/api/routes/controller/test_projects.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/api/routes/controller/test_settings.py b/tests/api/routes/controller/test_settings.py index 200ca9c6d..e23d0606c 100644 --- a/tests/api/routes/controller/test_settings.py +++ b/tests/api/routes/controller/test_settings.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2026 GNS3 Technologies Inc. # diff --git a/tests/api/routes/controller/test_symbols.py b/tests/api/routes/controller/test_symbols.py index 7c28bff26..97f80889e 100644 --- a/tests/api/routes/controller/test_symbols.py +++ b/tests/api/routes/controller/test_symbols.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/api/routes/controller/test_version.py b/tests/api/routes/controller/test_version.py index f8c205744..c7220ed62 100644 --- a/tests/api/routes/controller/test_version.py +++ b/tests/api/routes/controller/test_version.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/api/routes/test_index.py b/tests/api/routes/test_index.py index 9cdb09851..df3c242b1 100644 --- a/tests/api/routes/test_index.py +++ b/tests/api/routes/test_index.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/api/routes/test_routes.py b/tests/api/routes/test_routes.py index 8628e427d..e43a8c557 100644 --- a/tests/api/routes/test_routes.py +++ b/tests/api/routes/test_routes.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/compute/docker/test_docker_vm.py b/tests/compute/docker/test_docker_vm.py index 6e340b21d..eccf438c2 100644 --- a/tests/compute/docker/test_docker_vm.py +++ b/tests/compute/docker/test_docker_vm.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/compute/dynamips/test_dynamips_manager.py b/tests/compute/dynamips/test_dynamips_manager.py index d08a10271..0d62c014b 100644 --- a/tests/compute/dynamips/test_dynamips_manager.py +++ b/tests/compute/dynamips/test_dynamips_manager.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/compute/dynamips/test_dynamips_router.py b/tests/compute/dynamips/test_dynamips_router.py index 5ececc901..068bb5e9e 100644 --- a/tests/compute/dynamips/test_dynamips_router.py +++ b/tests/compute/dynamips/test_dynamips_router.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/compute/iou/test_iou_vm.py b/tests/compute/iou/test_iou_vm.py index 05ee7de4b..d80cc4356 100644 --- a/tests/compute/iou/test_iou_vm.py +++ b/tests/compute/iou/test_iou_vm.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/compute/qemu/test_qemu_manager.py b/tests/compute/qemu/test_qemu_manager.py index a75bfceaf..9f3c2afac 100644 --- a/tests/compute/qemu/test_qemu_manager.py +++ b/tests/compute/qemu/test_qemu_manager.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2015 GNS3 Technologies Inc. # diff --git a/tests/compute/qemu/test_qemu_vm.py b/tests/compute/qemu/test_qemu_vm.py index d5f0842d3..e20eddcd6 100644 --- a/tests/compute/qemu/test_qemu_vm.py +++ b/tests/compute/qemu/test_qemu_vm.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/compute/test_base_node.py b/tests/compute/test_base_node.py index db2418d76..850db6325 100644 --- a/tests/compute/test_base_node.py +++ b/tests/compute/test_base_node.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/compute/test_manager.py b/tests/compute/test_manager.py index 304fa972d..f0f5bbc46 100644 --- a/tests/compute/test_manager.py +++ b/tests/compute/test_manager.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/compute/test_port_manager.py b/tests/compute/test_port_manager.py index ede2cea7a..f28418563 100644 --- a/tests/compute/test_port_manager.py +++ b/tests/compute/test_port_manager.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/compute/test_project.py b/tests/compute/test_project.py index 7380df23f..d46abe4e9 100644 --- a/tests/compute/test_project.py +++ b/tests/compute/test_project.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/compute/test_project_manager.py b/tests/compute/test_project_manager.py index fe52e8e22..d2a325fe4 100644 --- a/tests/compute/test_project_manager.py +++ b/tests/compute/test_project_manager.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/compute/virtualbox/test_virtualbox_manager.py b/tests/compute/virtualbox/test_virtualbox_manager.py index 48315245c..8a23b41df 100644 --- a/tests/compute/virtualbox/test_virtualbox_manager.py +++ b/tests/compute/virtualbox/test_virtualbox_manager.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/compute/virtualbox/test_virtualbox_vm.py b/tests/compute/virtualbox/test_virtualbox_vm.py index 8bf127be0..ead5c72fe 100644 --- a/tests/compute/virtualbox/test_virtualbox_vm.py +++ b/tests/compute/virtualbox/test_virtualbox_vm.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/compute/vmware/test_vmware_manager.py b/tests/compute/vmware/test_vmware_manager.py index 7f2c2e0bc..46faff20c 100644 --- a/tests/compute/vmware/test_vmware_manager.py +++ b/tests/compute/vmware/test_vmware_manager.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/compute/vmware/test_vmware_vm.py b/tests/compute/vmware/test_vmware_vm.py index 61b53b843..f2badff9c 100644 --- a/tests/compute/vmware/test_vmware_vm.py +++ b/tests/compute/vmware/test_vmware_vm.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/compute/vpcs/test_vpcs_manager.py b/tests/compute/vpcs/test_vpcs_manager.py index 9929a1224..d567b8674 100644 --- a/tests/compute/vpcs/test_vpcs_manager.py +++ b/tests/compute/vpcs/test_vpcs_manager.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/compute/vpcs/test_vpcs_vm.py b/tests/compute/vpcs/test_vpcs_vm.py index 65761cbd7..1d74fdf95 100644 --- a/tests/compute/vpcs/test_vpcs_vm.py +++ b/tests/compute/vpcs/test_vpcs_vm.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/controller/test_project.py b/tests/controller/test_project.py index 6b8d2651e..8256dd450 100644 --- a/tests/controller/test_project.py +++ b/tests/controller/test_project.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/test_config.py b/tests/test_config.py index 64cf66d7a..fb2b08dc0 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/test_server.py b/tests/test_server.py index da4abd306..7cdb2cb12 100644 --- a/tests/test_server.py +++ b/tests/test_server.py @@ -1,5 +1,4 @@ #!/usr/bin/env python -# -*- coding: utf-8 -*- # # Copyright (C) 2015 GNS3 Technologies Inc. # diff --git a/tests/utils.py b/tests/utils.py index 5e640e478..d7212a666 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2020 GNS3 Technologies Inc. # diff --git a/tests/utils/test_asyncio.py b/tests/utils/test_asyncio.py index f196d65c5..87def33c4 100644 --- a/tests/utils/test_asyncio.py +++ b/tests/utils/test_asyncio.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2015 GNS3 Technologies Inc. # diff --git a/tests/utils/test_hostname.py b/tests/utils/test_hostname.py index 66904e066..e802a40a5 100644 --- a/tests/utils/test_hostname.py +++ b/tests/utils/test_hostname.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2024 GNS3 Technologies Inc. # diff --git a/tests/utils/test_images.py b/tests/utils/test_images.py index 7fa9a86c1..e7d8248b0 100644 --- a/tests/utils/test_images.py +++ b/tests/utils/test_images.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2014 GNS3 Technologies Inc. # diff --git a/tests/utils/test_interfaces.py b/tests/utils/test_interfaces.py index 3d912a09c..84ac5f7c3 100644 --- a/tests/utils/test_interfaces.py +++ b/tests/utils/test_interfaces.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # # Copyright (C) 2014 GNS3 Technologies Inc. #