From 4e4310d6dc3c311c1c6e2db2d21b7df4053de2da Mon Sep 17 00:00:00 2001 From: Giovanni Squillero Date: Mon, 17 Jun 2024 15:18:00 +0200 Subject: [PATCH] style: remove encoding declaration Redundant as PEP 3120 makes UTF-8 the default encoding --- byron/__init__.py | 1 - byron/classes/__init__.py | 1 - byron/classes/_individual_as.py | 1 - byron/classes/byron.py | 1 - byron/classes/dump.py | 2 -- byron/classes/evaluator.py | 5 ++--- byron/classes/fitness.py | 1 - byron/classes/frame.py | 1 - byron/classes/identifiable.py | 1 - byron/classes/individual.py | 1 - byron/classes/macro.py | 1 - byron/classes/monitor.py | 1 - byron/classes/node.py | 1 - byron/classes/node_reference.py | 1 - byron/classes/node_view.py | 1 - byron/classes/parameter.py | 1 - byron/classes/paranoid.py | 1 - byron/classes/population.py | 1 - byron/classes/readymade_frames.py | 1 - byron/classes/readymade_macros.py | 1 - byron/classes/selement.py | 1 - byron/classes/shared.py | 1 - byron/classes/value_bag.py | 1 - byron/ea/__init__.py | 1 - byron/ea/adaptive.py | 1 - byron/ea/check.py | 1 - byron/ea/common.py | 1 - byron/ea/estimator.py | 1 - byron/ea/selection.py | 1 - byron/ea/vanilla.py | 1 - byron/evaluator_.py | 1 - byron/fitness/__init__.py | 1 - byron/fitness/basic.py | 1 - byron/fitness/reverse.py | 1 - byron/fitness_.py | 1 - byron/framework/__init__.py | 1 - byron/framework/bnf.py | 1 - byron/framework/defaults.py | 1 - byron/framework/framework.py | 1 - byron/framework/macro.py | 1 - byron/framework/parameter.py | 1 - byron/framework/parameter_structural_global.py | 1 - byron/framework/parameter_structural_local.py | 1 - byron/framework/shared.py | 1 - byron/framework/show_element.py | 1 - byron/framework/utilities.py | 1 - byron/global_symbols.py | 1 - byron/operators/__init__.py | 1 - byron/operators/ea_tools.py | 1 - byron/operators/graph_tools.py | 1 - byron/operators/initializers.py | 1 - byron/operators/mutations.py | 1 - byron/operators/parameter_crossovers.py | 1 - byron/operators/single_node_crossovers.py | 1 - byron/randy/__init__.py | 1 - byron/randy/main.py | 1 - byron/registry.py | 1 - byron/sys.py | 1 - byron/tools/entropy.py | 1 - byron/tools/graph.py | 1 - byron/tools/names.py | 1 - byron/user_messages/__init__.py | 1 - byron/user_messages/checks.py | 1 - byron/user_messages/exception.py | 1 - byron/user_messages/messaging.py | 1 - examples/demo-parameter.py | 1 - examples/dummy.py | 1 - examples/fitness-demo.py | 1 - examples/knapsack.py | 1 - examples/onemax/onemax-asm/library_arm64.py | 1 - examples/onemax/onemax-asm/library_x86_64.py | 1 - examples/onemax/onemax-asm/onemax-asm.py | 1 - examples/onemax/onemax-classic/onemax-classic.py | 2 -- examples/onemax/onemax-go/golang.py | 1 - examples/onemax/onemax-go/onemax-go.py | 1 - examples/onemax/onemax-mips/library_mips.py | 1 - examples/onemax/onemax-mips/onemax-mips.py | 1 - examples/onemax/onemax-riscv/library_riscv.py | 1 - examples/onemax/onemax-riscv/onemax-riscv.py | 1 - examples/parameters-playground.py | 1 - examples/tutorials/evolution/golang.py | 1 - examples/twomax.py | 1 - experiments/arcade-test.py | 1 - experiments/concurrency.py | 1 - experiments/dimitri.py | 1 - experiments/exp_adaptive.py | 1 - experiments/exp_bnf.py | 1 - experiments/exp_parameters.py | 1 - experiments/i.py | 1 - experiments/k42.py | 1 - experiments/mut1.py | 1 - experiments/randy.py | 1 - experiments/t.py | 1 - experiments/t2.py | 1 - experiments/t3.py | 1 - experiments/tf.py | 1 - experiments/tr.py | 1 - experiments/vb.py | 1 - test/byron/classes/test_byron.py | 1 - test/byron/classes/test_evaluator.py | 1 - test/byron/classes/test_fittnes.py | 1 - test/byron/classes/test_frame.py | 1 - test/byron/classes/test_identifiable.py | 1 - test/byron/classes/test_identifiable_alt.py | 1 - test/byron/classes/test_macro.py | 1 - test/byron/classes/test_monitor.py | 1 - test/byron/classes/test_node.py | 1 - test/byron/classes/test_node_reference.py | 1 - test/byron/classes/test_node_view.py | 1 - test/byron/classes/test_parameter.py | 1 - test/byron/classes/test_paranoid.py | 1 - test/byron/classes/test_population.py | 1 - test/byron/classes/test_selement.py | 1 - test/byron/classes/test_value_bag.py | 1 - test/byron/classes/test_value_bag_alt.py | 1 - test/byron/ea/_test_graph.py | 1 - test/byron/ea/test_parameters.py | 1 - test/byron/fitness/test_class_fitness.py | 1 - test/byron/fitness/test_fitness.py | 1 - test/byron/framework/_test_framework.py | 1 - test/byron/framework/_test_parameter.py | 1 - test/byron/framework/_test_parameter_structural_global.py | 1 - test/byron/framework/_test_shared.py | 1 - test/byron/framework/_test_utilities.py | 1 - test/byron/framework/test_bnf.py | 1 - test/byron/tools/_test_dump.py | 2 -- test/byron/tools/_test_tools_graph.py | 1 - test/byron/tools/test_names.py | 1 - test/byron/tools/test_parameter_structure_local.py | 1 - test/byron/user_messages/_test_checks.py | 1 - test/byron/user_messages/test_messaging.py | 1 - test/byron/user_messages/test_modes.py | 1 - test/conftest.py | 1 - test/paranoia/test_reproducibility.py | 1 - test/randy/test_randy.py | 1 - test/runs/test_evaluators.py | 1 - test/runs/test_onemax.py | 1 - test/stress/test_large_individuals.py | 1 - test/test_000_test_me_first.py | 1 - test/test_global_symbols.py | 1 - test_old/byron/_test_decorators.py | 1 - test_old/byron/_test_random_individual.py | 1 - test_old/byron/classes/_test_class_macro.py | 1 - test_old/byron/classes/_test_classes_parameter.py | 1 - test_old/byron/classes/_test_evaluator.py | 1 - test_old/byron/classes/_test_frame.py | 1 - test_old/byron/classes/_test_individual.py | 1 - test_old/byron/classes/_test_node_view.py | 1 - test_old/byron/classes/_test_population.py | 1 - test_old/byron/classes/_test_readymade_macros.py | 1 - test_old/byron/classes/test_macro_old.py | 1 - test_old/byron/classes/test_monitor_old.py | 1 - test_old/byron/classes/test_node_reference_old.py | 1 - test_old/byron/classes/test_paranoid_old.py | 1 - utils/default-script.py | 1 - 155 files changed, 2 insertions(+), 160 deletions(-) diff --git a/byron/__init__.py b/byron/__init__.py index a2288e3..5dc6692 100644 --- a/byron/__init__.py +++ b/byron/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/classes/__init__.py b/byron/classes/__init__.py index 1230067..2cf3324 100644 --- a/byron/classes/__init__.py +++ b/byron/classes/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/classes/_individual_as.py b/byron/classes/_individual_as.py index 8b20c48..9cf5ed9 100644 --- a/byron/classes/_individual_as.py +++ b/byron/classes/_individual_as.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/classes/byron.py b/byron/classes/byron.py index 08fd6bc..3f43086 100644 --- a/byron/classes/byron.py +++ b/byron/classes/byron.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/classes/dump.py b/byron/classes/dump.py index 6e30fe0..9df4444 100644 --- a/byron/classes/dump.py +++ b/byron/classes/dump.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # @@ -26,5 +25,4 @@ # v1 / August 2023 / Squillero (GX) - # @dataclass(frozen=True, slots=True) diff --git a/byron/classes/evaluator.py b/byron/classes/evaluator.py index 08fe783..9166656 100644 --- a/byron/classes/evaluator.py +++ b/byron/classes/evaluator.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # @@ -518,8 +517,8 @@ def evaluate_population(self, population: Population) -> None: raise RuntimeError(f"Process returned empty stdout (stderr: '{result.stderr}')") else: results = list(filter(lambda s: bool(s), result.stdout.split("\n"))) - assert ( - len(results) == len(individuals) + assert len(results) == len( + individuals ), f"{PARANOIA_VALUE_ERROR}: Number of results and number of individual mismatch: found {len(results)} expected {len(individuals)}" for ind, line in zip_longest(individuals, results): value = [float(r) for r in line.split()] diff --git a/byron/classes/fitness.py b/byron/classes/fitness.py index 381c29e..8069ce5 100644 --- a/byron/classes/fitness.py +++ b/byron/classes/fitness.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/classes/frame.py b/byron/classes/frame.py index 2c9de36..125a7a9 100644 --- a/byron/classes/frame.py +++ b/byron/classes/frame.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/classes/identifiable.py b/byron/classes/identifiable.py index 6729022..dd4014d 100644 --- a/byron/classes/identifiable.py +++ b/byron/classes/identifiable.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/classes/individual.py b/byron/classes/individual.py index c646610..aa6bf39 100644 --- a/byron/classes/individual.py +++ b/byron/classes/individual.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/classes/macro.py b/byron/classes/macro.py index cb851e8..9a8bed5 100644 --- a/byron/classes/macro.py +++ b/byron/classes/macro.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/classes/monitor.py b/byron/classes/monitor.py index 0d9a54e..bc1a902 100644 --- a/byron/classes/monitor.py +++ b/byron/classes/monitor.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/classes/node.py b/byron/classes/node.py index 86af95c..d1a7706 100644 --- a/byron/classes/node.py +++ b/byron/classes/node.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/classes/node_reference.py b/byron/classes/node_reference.py index 8995259..1df475d 100644 --- a/byron/classes/node_reference.py +++ b/byron/classes/node_reference.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/classes/node_view.py b/byron/classes/node_view.py index 3aad119..2703944 100644 --- a/byron/classes/node_view.py +++ b/byron/classes/node_view.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/classes/parameter.py b/byron/classes/parameter.py index 76fcc1c..db99a89 100644 --- a/byron/classes/parameter.py +++ b/byron/classes/parameter.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/classes/paranoid.py b/byron/classes/paranoid.py index a36dca8..ba732cd 100644 --- a/byron/classes/paranoid.py +++ b/byron/classes/paranoid.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/classes/population.py b/byron/classes/population.py index ebff26f..f61f390 100644 --- a/byron/classes/population.py +++ b/byron/classes/population.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/classes/readymade_frames.py b/byron/classes/readymade_frames.py index 8d8c446..dafecd8 100644 --- a/byron/classes/readymade_frames.py +++ b/byron/classes/readymade_frames.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/classes/readymade_macros.py b/byron/classes/readymade_macros.py index 85be2b1..91b13a0 100644 --- a/byron/classes/readymade_macros.py +++ b/byron/classes/readymade_macros.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/classes/selement.py b/byron/classes/selement.py index 2346a39..df872bb 100644 --- a/byron/classes/selement.py +++ b/byron/classes/selement.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/classes/shared.py b/byron/classes/shared.py index c98c26e..4b38c4a 100644 --- a/byron/classes/shared.py +++ b/byron/classes/shared.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/classes/value_bag.py b/byron/classes/value_bag.py index d787ccc..94a10e8 100644 --- a/byron/classes/value_bag.py +++ b/byron/classes/value_bag.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/ea/__init__.py b/byron/ea/__init__.py index b7fb473..f9be903 100644 --- a/byron/ea/__init__.py +++ b/byron/ea/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/ea/adaptive.py b/byron/ea/adaptive.py index bf33373..a10f69b 100644 --- a/byron/ea/adaptive.py +++ b/byron/ea/adaptive.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/ea/check.py b/byron/ea/check.py index 87c6e78..ec54cd1 100644 --- a/byron/ea/check.py +++ b/byron/ea/check.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/ea/common.py b/byron/ea/common.py index ebf2678..c43a5a4 100644 --- a/byron/ea/common.py +++ b/byron/ea/common.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/ea/estimator.py b/byron/ea/estimator.py index 227d0bf..29af221 100644 --- a/byron/ea/estimator.py +++ b/byron/ea/estimator.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/ea/selection.py b/byron/ea/selection.py index 2c1fb64..2b5a04e 100644 --- a/byron/ea/selection.py +++ b/byron/ea/selection.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/ea/vanilla.py b/byron/ea/vanilla.py index e47762f..c2dee62 100644 --- a/byron/ea/vanilla.py +++ b/byron/ea/vanilla.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/evaluator_.py b/byron/evaluator_.py index ec0cc65..b22d4e2 100644 --- a/byron/evaluator_.py +++ b/byron/evaluator_.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/fitness/__init__.py b/byron/fitness/__init__.py index 5b91a57..f3ab13b 100644 --- a/byron/fitness/__init__.py +++ b/byron/fitness/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/fitness/basic.py b/byron/fitness/basic.py index 620aed6..d6554b8 100644 --- a/byron/fitness/basic.py +++ b/byron/fitness/basic.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/fitness/reverse.py b/byron/fitness/reverse.py index c6d0b5f..f81d0bf 100644 --- a/byron/fitness/reverse.py +++ b/byron/fitness/reverse.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/fitness_.py b/byron/fitness_.py index 4e08cca..ebba133 100644 --- a/byron/fitness_.py +++ b/byron/fitness_.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/framework/__init__.py b/byron/framework/__init__.py index 9b8d206..165e566 100644 --- a/byron/framework/__init__.py +++ b/byron/framework/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/framework/bnf.py b/byron/framework/bnf.py index a97d876..2991d13 100644 --- a/byron/framework/bnf.py +++ b/byron/framework/bnf.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/framework/defaults.py b/byron/framework/defaults.py index 1421b33..6491d86 100644 --- a/byron/framework/defaults.py +++ b/byron/framework/defaults.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/framework/framework.py b/byron/framework/framework.py index 02777a7..c8ea5cf 100644 --- a/byron/framework/framework.py +++ b/byron/framework/framework.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/framework/macro.py b/byron/framework/macro.py index 1594bb3..13889e3 100644 --- a/byron/framework/macro.py +++ b/byron/framework/macro.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/framework/parameter.py b/byron/framework/parameter.py index ff76c35..b83cb0c 100644 --- a/byron/framework/parameter.py +++ b/byron/framework/parameter.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/framework/parameter_structural_global.py b/byron/framework/parameter_structural_global.py index 9d1d822..66bab96 100644 --- a/byron/framework/parameter_structural_global.py +++ b/byron/framework/parameter_structural_global.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/framework/parameter_structural_local.py b/byron/framework/parameter_structural_local.py index 54d007f..6e6382b 100644 --- a/byron/framework/parameter_structural_local.py +++ b/byron/framework/parameter_structural_local.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/framework/shared.py b/byron/framework/shared.py index 738f534..0a179ad 100644 --- a/byron/framework/shared.py +++ b/byron/framework/shared.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/framework/show_element.py b/byron/framework/show_element.py index 4f03423..35afb33 100644 --- a/byron/framework/show_element.py +++ b/byron/framework/show_element.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/framework/utilities.py b/byron/framework/utilities.py index f32bc26..def2a6e 100644 --- a/byron/framework/utilities.py +++ b/byron/framework/utilities.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/global_symbols.py b/byron/global_symbols.py index caa13d2..a6dcb0f 100644 --- a/byron/global_symbols.py +++ b/byron/global_symbols.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/operators/__init__.py b/byron/operators/__init__.py index 2e1adc2..235dd90 100644 --- a/byron/operators/__init__.py +++ b/byron/operators/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/operators/ea_tools.py b/byron/operators/ea_tools.py index ecc2a02..56e3f1e 100644 --- a/byron/operators/ea_tools.py +++ b/byron/operators/ea_tools.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/operators/graph_tools.py b/byron/operators/graph_tools.py index 6e91600..784b8ad 100644 --- a/byron/operators/graph_tools.py +++ b/byron/operators/graph_tools.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/operators/initializers.py b/byron/operators/initializers.py index 290a921..49aba89 100644 --- a/byron/operators/initializers.py +++ b/byron/operators/initializers.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/operators/mutations.py b/byron/operators/mutations.py index f2b77bc..0a771c4 100644 --- a/byron/operators/mutations.py +++ b/byron/operators/mutations.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/operators/parameter_crossovers.py b/byron/operators/parameter_crossovers.py index 84aaeb4..ee23152 100644 --- a/byron/operators/parameter_crossovers.py +++ b/byron/operators/parameter_crossovers.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/operators/single_node_crossovers.py b/byron/operators/single_node_crossovers.py index e4cf2f5..873d48a 100644 --- a/byron/operators/single_node_crossovers.py +++ b/byron/operators/single_node_crossovers.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- #################################|###|##################################### # __ | | # # | |--.--.--.----.-----.-----. |===| This file is part of Byron v0.8 # diff --git a/byron/randy/__init__.py b/byron/randy/__init__.py index faf7d83..6deb0d1 100644 --- a/byron/randy/__init__.py +++ b/byron/randy/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/randy/main.py b/byron/randy/main.py index b5c6162..6979762 100644 --- a/byron/randy/main.py +++ b/byron/randy/main.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- # ______________ ______ __ # |____/|____|| \ || \\_/ # |R \_|A ||N \_||D__/ |Y diff --git a/byron/registry.py b/byron/registry.py index d2de6e9..b02501b 100644 --- a/byron/registry.py +++ b/byron/registry.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/sys.py b/byron/sys.py index 8a6b6e2..c62913c 100644 --- a/byron/sys.py +++ b/byron/sys.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/tools/entropy.py b/byron/tools/entropy.py index 7ce8232..ee08359 100644 --- a/byron/tools/entropy.py +++ b/byron/tools/entropy.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/tools/graph.py b/byron/tools/graph.py index c471714..9841993 100644 --- a/byron/tools/graph.py +++ b/byron/tools/graph.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/tools/names.py b/byron/tools/names.py index 96afed1..b7ba4e1 100644 --- a/byron/tools/names.py +++ b/byron/tools/names.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/user_messages/__init__.py b/byron/user_messages/__init__.py index a2ea93b..17eea7e 100644 --- a/byron/user_messages/__init__.py +++ b/byron/user_messages/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/user_messages/checks.py b/byron/user_messages/checks.py index 2774198..062d4fe 100644 --- a/byron/user_messages/checks.py +++ b/byron/user_messages/checks.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/user_messages/exception.py b/byron/user_messages/exception.py index b73a4be..9950887 100644 --- a/byron/user_messages/exception.py +++ b/byron/user_messages/exception.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/byron/user_messages/messaging.py b/byron/user_messages/messaging.py index 0820a24..7e8176a 100644 --- a/byron/user_messages/messaging.py +++ b/byron/user_messages/messaging.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/examples/demo-parameter.py b/examples/demo-parameter.py index 16c6b1a..76940f7 100644 --- a/examples/demo-parameter.py +++ b/examples/demo-parameter.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- #################################|###|##################################### # __ | | # # | |--.--.--.----.-----.-----. |===| This file is part of Byron v0.8 # diff --git a/examples/dummy.py b/examples/dummy.py index 612eaa1..a68bfca 100644 --- a/examples/dummy.py +++ b/examples/dummy.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/examples/fitness-demo.py b/examples/fitness-demo.py index ea0fcc5..376d027 100644 --- a/examples/fitness-demo.py +++ b/examples/fitness-demo.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/examples/knapsack.py b/examples/knapsack.py index a267848..8bd3930 100644 --- a/examples/knapsack.py +++ b/examples/knapsack.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- #################################|###|##################################### # __ | | # # | |--.--.--.----.-----.-----. |===| This file is part of Byron v0.8 # diff --git a/examples/onemax/onemax-asm/library_arm64.py b/examples/onemax/onemax-asm/library_arm64.py index 57182c0..d1abd61 100755 --- a/examples/onemax/onemax-asm/library_arm64.py +++ b/examples/onemax/onemax-asm/library_arm64.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/examples/onemax/onemax-asm/library_x86_64.py b/examples/onemax/onemax-asm/library_x86_64.py index 9d12e2a..4b64f00 100644 --- a/examples/onemax/onemax-asm/library_x86_64.py +++ b/examples/onemax/onemax-asm/library_x86_64.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/examples/onemax/onemax-asm/onemax-asm.py b/examples/onemax/onemax-asm/onemax-asm.py index f047c34..d2f3728 100755 --- a/examples/onemax/onemax-asm/onemax-asm.py +++ b/examples/onemax/onemax-asm/onemax-asm.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/examples/onemax/onemax-classic/onemax-classic.py b/examples/onemax/onemax-classic/onemax-classic.py index 041842c..9d804f1 100644 --- a/examples/onemax/onemax-classic/onemax-classic.py +++ b/examples/onemax/onemax-classic/onemax-classic.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # @@ -18,7 +17,6 @@ NUM_BITS = 50 - @byron.fitness_function def fitness(genotype): """Vanilla 1-max""" diff --git a/examples/onemax/onemax-go/golang.py b/examples/onemax/onemax-go/golang.py index 5249716..8d0ba20 100755 --- a/examples/onemax/onemax-go/golang.py +++ b/examples/onemax/onemax-go/golang.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/examples/onemax/onemax-go/onemax-go.py b/examples/onemax/onemax-go/onemax-go.py index 6710e0e..6566c30 100755 --- a/examples/onemax/onemax-go/onemax-go.py +++ b/examples/onemax/onemax-go/onemax-go.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/examples/onemax/onemax-mips/library_mips.py b/examples/onemax/onemax-mips/library_mips.py index ad9bcec..cba58db 100644 --- a/examples/onemax/onemax-mips/library_mips.py +++ b/examples/onemax/onemax-mips/library_mips.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- #################################|###|##################################### # __ | | # # | |--.--.--.----.-----.-----. |===| This file is part of Byron v0.8 # diff --git a/examples/onemax/onemax-mips/onemax-mips.py b/examples/onemax/onemax-mips/onemax-mips.py index 14c5b5e..c0ed814 100644 --- a/examples/onemax/onemax-mips/onemax-mips.py +++ b/examples/onemax/onemax-mips/onemax-mips.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- #################################|###|##################################### # __ | | # # | |--.--.--.----.-----.-----. |===| This file is part of Byron v0.8 # diff --git a/examples/onemax/onemax-riscv/library_riscv.py b/examples/onemax/onemax-riscv/library_riscv.py index 4f08144..e5a3b93 100644 --- a/examples/onemax/onemax-riscv/library_riscv.py +++ b/examples/onemax/onemax-riscv/library_riscv.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- #################################|###|##################################### # __ | | # # | |--.--.--.----.-----.-----. |===| This file is part of Byron v0.8 # diff --git a/examples/onemax/onemax-riscv/onemax-riscv.py b/examples/onemax/onemax-riscv/onemax-riscv.py index 1f05df4..f6e8e6d 100644 --- a/examples/onemax/onemax-riscv/onemax-riscv.py +++ b/examples/onemax/onemax-riscv/onemax-riscv.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- #################################|###|##################################### # __ | | # # | |--.--.--.----.-----.-----. |===| This file is part of Byron v0.8 # diff --git a/examples/parameters-playground.py b/examples/parameters-playground.py index e94794f..911b7d3 100644 --- a/examples/parameters-playground.py +++ b/examples/parameters-playground.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/examples/tutorials/evolution/golang.py b/examples/tutorials/evolution/golang.py index 6c48e9f..3da0843 100755 --- a/examples/tutorials/evolution/golang.py +++ b/examples/tutorials/evolution/golang.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/examples/twomax.py b/examples/twomax.py index 009a58b..77ce961 100644 --- a/examples/twomax.py +++ b/examples/twomax.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/experiments/arcade-test.py b/experiments/arcade-test.py index 1784b29..42e0e72 100644 --- a/experiments/arcade-test.py +++ b/experiments/arcade-test.py @@ -1,5 +1,4 @@ # !/usr/bin/env python3 -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/experiments/concurrency.py b/experiments/concurrency.py index 22ba561..faed04b 100644 --- a/experiments/concurrency.py +++ b/experiments/concurrency.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/experiments/dimitri.py b/experiments/dimitri.py index 26e0fb2..8e3cc5b 100644 --- a/experiments/dimitri.py +++ b/experiments/dimitri.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- #################################|###|##################################### # __ | | # # | |--.--.--.----.-----.-----. |===| This file is part of Byron v0.8 # diff --git a/experiments/exp_adaptive.py b/experiments/exp_adaptive.py index 07c0b56..709d679 100644 --- a/experiments/exp_adaptive.py +++ b/experiments/exp_adaptive.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- #################################|###|##################################### # __ | | # # | |--.--.--.----.-----.-----. |===| This file is part of Byron v0.8 # diff --git a/experiments/exp_bnf.py b/experiments/exp_bnf.py index da7ea04..f5b7c42 100644 --- a/experiments/exp_bnf.py +++ b/experiments/exp_bnf.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/experiments/exp_parameters.py b/experiments/exp_parameters.py index 76cb9b4..47391dc 100644 --- a/experiments/exp_parameters.py +++ b/experiments/exp_parameters.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/experiments/i.py b/experiments/i.py index a393bc1..9e78126 100644 --- a/experiments/i.py +++ b/experiments/i.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/experiments/k42.py b/experiments/k42.py index 31070b6..fcc4c8d 100644 --- a/experiments/k42.py +++ b/experiments/k42.py @@ -1,5 +1,4 @@ # !/usr/bin/env python3 -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/experiments/mut1.py b/experiments/mut1.py index cf465d6..481bb0b 100644 --- a/experiments/mut1.py +++ b/experiments/mut1.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/experiments/randy.py b/experiments/randy.py index b88121f..81b3837 100644 --- a/experiments/randy.py +++ b/experiments/randy.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- ##################################@|###|##################################@# # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/experiments/t.py b/experiments/t.py index ece81b4..fa93011 100644 --- a/experiments/t.py +++ b/experiments/t.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/experiments/t2.py b/experiments/t2.py index 461467c..a08bae4 100644 --- a/experiments/t2.py +++ b/experiments/t2.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/experiments/t3.py b/experiments/t3.py index 46f0a8e..fc0b08d 100644 --- a/experiments/t3.py +++ b/experiments/t3.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/experiments/tf.py b/experiments/tf.py index 5963eab..7bda371 100644 --- a/experiments/tf.py +++ b/experiments/tf.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/experiments/tr.py b/experiments/tr.py index 102574a..3b2e7b4 100644 --- a/experiments/tr.py +++ b/experiments/tr.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/experiments/vb.py b/experiments/vb.py index 27fe6ce..82b1546 100644 --- a/experiments/vb.py +++ b/experiments/vb.py @@ -1,5 +1,4 @@ # !/usr/bin/env python3 -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/classes/test_byron.py b/test/byron/classes/test_byron.py index 935b051..dc8e91c 100644 --- a/test/byron/classes/test_byron.py +++ b/test/byron/classes/test_byron.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/classes/test_evaluator.py b/test/byron/classes/test_evaluator.py index 0c09349..873ea35 100644 --- a/test/byron/classes/test_evaluator.py +++ b/test/byron/classes/test_evaluator.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/classes/test_fittnes.py b/test/byron/classes/test_fittnes.py index fa6231b..848b88f 100644 --- a/test/byron/classes/test_fittnes.py +++ b/test/byron/classes/test_fittnes.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/classes/test_frame.py b/test/byron/classes/test_frame.py index b259cfb..0adee73 100644 --- a/test/byron/classes/test_frame.py +++ b/test/byron/classes/test_frame.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/classes/test_identifiable.py b/test/byron/classes/test_identifiable.py index dc82725..29ff73a 100644 --- a/test/byron/classes/test_identifiable.py +++ b/test/byron/classes/test_identifiable.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/classes/test_identifiable_alt.py b/test/byron/classes/test_identifiable_alt.py index e3f33f1..6829a29 100644 --- a/test/byron/classes/test_identifiable_alt.py +++ b/test/byron/classes/test_identifiable_alt.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/classes/test_macro.py b/test/byron/classes/test_macro.py index b99221f..ab3b926 100644 --- a/test/byron/classes/test_macro.py +++ b/test/byron/classes/test_macro.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/classes/test_monitor.py b/test/byron/classes/test_monitor.py index 276f899..e0b0734 100644 --- a/test/byron/classes/test_monitor.py +++ b/test/byron/classes/test_monitor.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/classes/test_node.py b/test/byron/classes/test_node.py index 62d7355..82cfc97 100644 --- a/test/byron/classes/test_node.py +++ b/test/byron/classes/test_node.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/classes/test_node_reference.py b/test/byron/classes/test_node_reference.py index 4048a4d..48d2c8a 100644 --- a/test/byron/classes/test_node_reference.py +++ b/test/byron/classes/test_node_reference.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/classes/test_node_view.py b/test/byron/classes/test_node_view.py index 8696bb5..22ca95f 100644 --- a/test/byron/classes/test_node_view.py +++ b/test/byron/classes/test_node_view.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/classes/test_parameter.py b/test/byron/classes/test_parameter.py index 59c9ba3..623b753 100644 --- a/test/byron/classes/test_parameter.py +++ b/test/byron/classes/test_parameter.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/classes/test_paranoid.py b/test/byron/classes/test_paranoid.py index b7d9a83..b0cc932 100644 --- a/test/byron/classes/test_paranoid.py +++ b/test/byron/classes/test_paranoid.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/classes/test_population.py b/test/byron/classes/test_population.py index cd98671..e9012d3 100644 --- a/test/byron/classes/test_population.py +++ b/test/byron/classes/test_population.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/classes/test_selement.py b/test/byron/classes/test_selement.py index ed286ef..13400ad 100644 --- a/test/byron/classes/test_selement.py +++ b/test/byron/classes/test_selement.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/classes/test_value_bag.py b/test/byron/classes/test_value_bag.py index 6bf04d1..7ade4cb 100644 --- a/test/byron/classes/test_value_bag.py +++ b/test/byron/classes/test_value_bag.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/classes/test_value_bag_alt.py b/test/byron/classes/test_value_bag_alt.py index 4a42361..d15a068 100644 --- a/test/byron/classes/test_value_bag_alt.py +++ b/test/byron/classes/test_value_bag_alt.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/ea/_test_graph.py b/test/byron/ea/_test_graph.py index ce079bd..710a570 100644 --- a/test/byron/ea/_test_graph.py +++ b/test/byron/ea/_test_graph.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/ea/test_parameters.py b/test/byron/ea/test_parameters.py index 55a38ef..ca992c9 100644 --- a/test/byron/ea/test_parameters.py +++ b/test/byron/ea/test_parameters.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/fitness/test_class_fitness.py b/test/byron/fitness/test_class_fitness.py index 111a69b..d683302 100644 --- a/test/byron/fitness/test_class_fitness.py +++ b/test/byron/fitness/test_class_fitness.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/fitness/test_fitness.py b/test/byron/fitness/test_fitness.py index 43dc843..f7ab34e 100644 --- a/test/byron/fitness/test_fitness.py +++ b/test/byron/fitness/test_fitness.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/framework/_test_framework.py b/test/byron/framework/_test_framework.py index 663af91..9be7012 100644 --- a/test/byron/framework/_test_framework.py +++ b/test/byron/framework/_test_framework.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/framework/_test_parameter.py b/test/byron/framework/_test_parameter.py index d4d413a..64f84e8 100644 --- a/test/byron/framework/_test_parameter.py +++ b/test/byron/framework/_test_parameter.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/framework/_test_parameter_structural_global.py b/test/byron/framework/_test_parameter_structural_global.py index 98a2399..2c9fc94 100644 --- a/test/byron/framework/_test_parameter_structural_global.py +++ b/test/byron/framework/_test_parameter_structural_global.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/framework/_test_shared.py b/test/byron/framework/_test_shared.py index 8404da8..ae4d420 100644 --- a/test/byron/framework/_test_shared.py +++ b/test/byron/framework/_test_shared.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/framework/_test_utilities.py b/test/byron/framework/_test_utilities.py index 55fc650..0509da5 100644 --- a/test/byron/framework/_test_utilities.py +++ b/test/byron/framework/_test_utilities.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/framework/test_bnf.py b/test/byron/framework/test_bnf.py index 1dd5fe7..2b8dad2 100644 --- a/test/byron/framework/test_bnf.py +++ b/test/byron/framework/test_bnf.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/tools/_test_dump.py b/test/byron/tools/_test_dump.py index ade0fd1..46c0633 100644 --- a/test/byron/tools/_test_dump.py +++ b/test/byron/tools/_test_dump.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # @@ -10,7 +9,6 @@ # SPDX-License-Identifier: Apache-2.0 - class TestObject: def __init__(self, key_to_raise=None): self.key_to_raise = key_to_raise diff --git a/test/byron/tools/_test_tools_graph.py b/test/byron/tools/_test_tools_graph.py index 244622b..b117f70 100644 --- a/test/byron/tools/_test_tools_graph.py +++ b/test/byron/tools/_test_tools_graph.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/tools/test_names.py b/test/byron/tools/test_names.py index cb9655e..937d95b 100644 --- a/test/byron/tools/test_names.py +++ b/test/byron/tools/test_names.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/tools/test_parameter_structure_local.py b/test/byron/tools/test_parameter_structure_local.py index 4a42361..d15a068 100644 --- a/test/byron/tools/test_parameter_structure_local.py +++ b/test/byron/tools/test_parameter_structure_local.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/user_messages/_test_checks.py b/test/byron/user_messages/_test_checks.py index 0e0dae5..fbd3317 100644 --- a/test/byron/user_messages/_test_checks.py +++ b/test/byron/user_messages/_test_checks.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/user_messages/test_messaging.py b/test/byron/user_messages/test_messaging.py index fb0e25d..4c1e22e 100644 --- a/test/byron/user_messages/test_messaging.py +++ b/test/byron/user_messages/test_messaging.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/byron/user_messages/test_modes.py b/test/byron/user_messages/test_modes.py index 079c041..8e7d4e6 100644 --- a/test/byron/user_messages/test_modes.py +++ b/test/byron/user_messages/test_modes.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/conftest.py b/test/conftest.py index f9dd0b8..5d90f94 100644 --- a/test/conftest.py +++ b/test/conftest.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/paranoia/test_reproducibility.py b/test/paranoia/test_reproducibility.py index 90a2fae..83190c4 100644 --- a/test/paranoia/test_reproducibility.py +++ b/test/paranoia/test_reproducibility.py @@ -1,5 +1,4 @@ # !/usr/bin/env python3 -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/randy/test_randy.py b/test/randy/test_randy.py index e495e0c..9e56e00 100644 --- a/test/randy/test_randy.py +++ b/test/randy/test_randy.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/runs/test_evaluators.py b/test/runs/test_evaluators.py index a795e17..5b48995 100644 --- a/test/runs/test_evaluators.py +++ b/test/runs/test_evaluators.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/runs/test_onemax.py b/test/runs/test_onemax.py index 0bc114c..b33c49e 100644 --- a/test/runs/test_onemax.py +++ b/test/runs/test_onemax.py @@ -1,5 +1,4 @@ # !/usr/bin/env python3 -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/stress/test_large_individuals.py b/test/stress/test_large_individuals.py index 855784e..def9a67 100644 --- a/test/stress/test_large_individuals.py +++ b/test/stress/test_large_individuals.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/test_000_test_me_first.py b/test/test_000_test_me_first.py index 3891ba9..19357bf 100644 --- a/test/test_000_test_me_first.py +++ b/test/test_000_test_me_first.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test/test_global_symbols.py b/test/test_global_symbols.py index 34edaf1..085d62c 100644 --- a/test/test_global_symbols.py +++ b/test/test_global_symbols.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test_old/byron/_test_decorators.py b/test_old/byron/_test_decorators.py index b3144b0..f2249c1 100644 --- a/test_old/byron/_test_decorators.py +++ b/test_old/byron/_test_decorators.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test_old/byron/_test_random_individual.py b/test_old/byron/_test_random_individual.py index 27f3cf9..19fcf3a 100644 --- a/test_old/byron/_test_random_individual.py +++ b/test_old/byron/_test_random_individual.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test_old/byron/classes/_test_class_macro.py b/test_old/byron/classes/_test_class_macro.py index a3fffe1..ac363b1 100644 --- a/test_old/byron/classes/_test_class_macro.py +++ b/test_old/byron/classes/_test_class_macro.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test_old/byron/classes/_test_classes_parameter.py b/test_old/byron/classes/_test_classes_parameter.py index 7ef8d5f..b69c793 100644 --- a/test_old/byron/classes/_test_classes_parameter.py +++ b/test_old/byron/classes/_test_classes_parameter.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test_old/byron/classes/_test_evaluator.py b/test_old/byron/classes/_test_evaluator.py index 47602d5..e67fe1a 100644 --- a/test_old/byron/classes/_test_evaluator.py +++ b/test_old/byron/classes/_test_evaluator.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test_old/byron/classes/_test_frame.py b/test_old/byron/classes/_test_frame.py index fc3d989..a27a612 100644 --- a/test_old/byron/classes/_test_frame.py +++ b/test_old/byron/classes/_test_frame.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test_old/byron/classes/_test_individual.py b/test_old/byron/classes/_test_individual.py index 52f75ad..c0fd8ea 100644 --- a/test_old/byron/classes/_test_individual.py +++ b/test_old/byron/classes/_test_individual.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test_old/byron/classes/_test_node_view.py b/test_old/byron/classes/_test_node_view.py index 8d9149f..fd623ac 100644 --- a/test_old/byron/classes/_test_node_view.py +++ b/test_old/byron/classes/_test_node_view.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test_old/byron/classes/_test_population.py b/test_old/byron/classes/_test_population.py index 01a0c69..6e5290b 100644 --- a/test_old/byron/classes/_test_population.py +++ b/test_old/byron/classes/_test_population.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test_old/byron/classes/_test_readymade_macros.py b/test_old/byron/classes/_test_readymade_macros.py index 37f37c1..6e02d61 100644 --- a/test_old/byron/classes/_test_readymade_macros.py +++ b/test_old/byron/classes/_test_readymade_macros.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test_old/byron/classes/test_macro_old.py b/test_old/byron/classes/test_macro_old.py index 600311c..25fed67 100644 --- a/test_old/byron/classes/test_macro_old.py +++ b/test_old/byron/classes/test_macro_old.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test_old/byron/classes/test_monitor_old.py b/test_old/byron/classes/test_monitor_old.py index fd836ba..0de0dc6 100644 --- a/test_old/byron/classes/test_monitor_old.py +++ b/test_old/byron/classes/test_monitor_old.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test_old/byron/classes/test_node_reference_old.py b/test_old/byron/classes/test_node_reference_old.py index 4048a4d..48d2c8a 100644 --- a/test_old/byron/classes/test_node_reference_old.py +++ b/test_old/byron/classes/test_node_reference_old.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/test_old/byron/classes/test_paranoid_old.py b/test_old/byron/classes/test_paranoid_old.py index 76bd140..1bb94ea 100644 --- a/test_old/byron/classes/test_paranoid_old.py +++ b/test_old/byron/classes/test_paranoid_old.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron # diff --git a/utils/default-script.py b/utils/default-script.py index 55f40f5..38b5a7d 100644 --- a/utils/default-script.py +++ b/utils/default-script.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- ###################################|###|#################################### # _____ | | # # | __ \--.--.----.-----.-----. |===| This file is part of Byron #