From 05de24e4ef59aaaee49a2a02fb2a79211ec3b188 Mon Sep 17 00:00:00 2001 From: cspotcode Date: Mon, 11 Sep 2023 13:21:00 -0400 Subject: [PATCH] Revert "Add `from __future__ import annotations` everywhere" for examples This partially reverts commit ddf8c8cb441a403e340f610bb03b5431c5e1c190. --- arcade/examples/array_backed_grid.py | 2 -- arcade/examples/array_backed_grid_buffered.py | 2 -- arcade/examples/array_backed_grid_sprites_1.py | 2 -- arcade/examples/array_backed_grid_sprites_2.py | 2 -- arcade/examples/astar_pathfinding.py | 2 -- arcade/examples/asteroid_smasher.py | 2 -- arcade/examples/background_blending.py | 2 -- arcade/examples/background_groups.py | 2 -- arcade/examples/background_parallax.py | 2 -- arcade/examples/background_scrolling.py | 2 -- arcade/examples/background_stationary.py | 2 -- arcade/examples/bloom_defender.py | 2 -- arcade/examples/bouncing_rectangle.py | 2 -- arcade/examples/camera_platform.py | 2 -- arcade/examples/conway_alpha.py | 2 -- arcade/examples/drawing_primitives.py | 2 -- arcade/examples/drawing_text.py | 2 -- arcade/examples/drawing_text_objects.py | 2 -- arcade/examples/drawing_text_objects_batch.py | 2 -- arcade/examples/dual_stick_shooter.py | 2 -- arcade/examples/easing_example_1.py | 2 -- arcade/examples/easing_example_2.py | 2 -- arcade/examples/follow_path.py | 2 -- arcade/examples/full_screen_example.py | 2 -- arcade/examples/gl/3d_cube.py | 2 -- arcade/examples/gl/3d_cube_with_cubes.py | 2 -- arcade/examples/gl/3d_sphere.py | 2 -- arcade/examples/gl/basic_renderer.py | 2 -- arcade/examples/gl/bindless_texture.py | 2 -- arcade/examples/gl/chip8_display.py | 2 -- arcade/examples/gl/compute_ssbo.py | 2 -- arcade/examples/gl/compute_texture.py | 2 -- arcade/examples/gl/custom_sprite.py | 2 -- arcade/examples/gl/game_of_life_colors.py | 2 -- arcade/examples/gl/geometry_index_buffers.py | 2 -- arcade/examples/gl/geometry_shader.py | 2 -- arcade/examples/gl/instancing.py | 2 -- arcade/examples/gl/multisample_fbo.py | 2 -- arcade/examples/gl/normal_mapping_simple.py | 2 -- arcade/examples/gl/random_shader_simple.py | 2 -- arcade/examples/gl/ray_marching/ray_marching_simple.py | 2 -- arcade/examples/gl/render_indirect.py | 2 -- arcade/examples/gl/shader_setup.py | 2 -- arcade/examples/gl/shader_setup_simple_texture.py | 2 -- arcade/examples/gl/spritelist_interaction_bouncing_coins.py | 2 -- arcade/examples/gl/spritelist_interaction_hijack_positions.py | 2 -- arcade/examples/gl/spritelist_interaction_visualize_dist.py | 2 -- arcade/examples/gl/spritelist_interaction_visualize_dist_los.py | 2 -- .../gl/spritelist_interaction_visualize_dist_los_trans.py | 2 -- arcade/examples/gl/tessellation.py | 2 -- arcade/examples/gl/transform_emit.py | 2 -- arcade/examples/gl/transform_feedback.py | 2 -- arcade/examples/gl/transform_feedback_geo.py | 2 -- arcade/examples/gl/transform_multi.py | 2 -- arcade/examples/gl/transform_point_grid.py | 2 -- arcade/examples/gradients.py | 2 -- arcade/examples/gui_flat_button.py | 2 -- arcade/examples/gui_flat_button_styled.py | 2 -- arcade/examples/gui_ok_messagebox.py | 2 -- arcade/examples/gui_scrollable_text.py | 2 -- arcade/examples/gui_slider.py | 2 -- arcade/examples/gui_widgets.py | 2 -- arcade/examples/happy_face.py | 2 -- arcade/examples/light_demo.py | 2 -- arcade/examples/line_of_sight.py | 2 -- arcade/examples/lines_buffered.py | 2 -- arcade/examples/maze_depth_first.py | 2 -- arcade/examples/maze_recursive.py | 2 -- arcade/examples/minimap.py | 2 -- arcade/examples/minimap_camera.py | 2 -- arcade/examples/music_control_demo.py | 2 -- arcade/examples/net_process_animal_facts.py | 2 -- arcade/examples/particle_fireworks.py | 2 -- arcade/examples/particle_systems.py | 2 -- arcade/examples/perf_test/stress_test_collision_arcade.py | 2 -- arcade/examples/perf_test/stress_test_draw_moving_arcade.py | 2 -- arcade/examples/performance_statistics.py | 2 -- arcade/examples/perspective.py | 2 -- arcade/examples/platform_tutorial/01_open_window.py | 2 -- arcade/examples/platform_tutorial/02_draw_sprites.py | 2 -- arcade/examples/platform_tutorial/03_scene_object.py | 2 -- arcade/examples/platform_tutorial/04_user_control.py | 2 -- arcade/examples/platform_tutorial/05_add_gravity.py | 2 -- arcade/examples/platform_tutorial/06_camera.py | 2 -- arcade/examples/platform_tutorial/07_coins_and_sound.py | 2 -- arcade/examples/platform_tutorial/08_score.py | 2 -- arcade/examples/platform_tutorial/09_load_map.py | 2 -- arcade/examples/platform_tutorial/10_multiple_levels.py | 2 -- arcade/examples/platform_tutorial/11_ladders_and_more.py | 2 -- arcade/examples/platform_tutorial/12_animate_character.py | 2 -- arcade/examples/platform_tutorial/13_add_enemies.py | 2 -- arcade/examples/platform_tutorial/14_moving_enemies.py | 2 -- arcade/examples/platform_tutorial/15_collision_with_enemies.py | 2 -- arcade/examples/platform_tutorial/16_shooting_bullets.py | 2 -- arcade/examples/platform_tutorial/17_views.py | 2 -- arcade/examples/procedural_caves_bsp.py | 2 -- arcade/examples/procedural_caves_cellular.py | 2 -- arcade/examples/pymunk_box_stacks.py | 2 -- arcade/examples/pymunk_demo_top_down.py | 2 -- arcade/examples/pymunk_joint_builder.py | 2 -- arcade/examples/pymunk_pegboard.py | 2 -- arcade/examples/radar_sweep.py | 2 -- arcade/examples/resizable_window.py | 2 -- arcade/examples/sections_demo_1.py | 2 -- arcade/examples/sections_demo_2.py | 2 -- arcade/examples/sections_demo_3.py | 2 -- arcade/examples/shape_list_demo_1.py | 2 -- arcade/examples/shape_list_demo_2.py | 2 -- arcade/examples/shape_list_demo_3.py | 2 -- arcade/examples/shape_list_demo_skylines.py | 2 -- arcade/examples/shapes.py | 2 -- arcade/examples/slime_invaders.py | 2 -- arcade/examples/snow.py | 2 -- arcade/examples/sound_demo.py | 2 -- arcade/examples/sound_speed_demo.py | 2 -- arcade/examples/sprite_bouncing_coins.py | 2 -- arcade/examples/sprite_bullets.py | 2 -- arcade/examples/sprite_bullets_aimed.py | 2 -- arcade/examples/sprite_bullets_enemy_aims.py | 2 -- arcade/examples/sprite_bullets_periodic.py | 2 -- arcade/examples/sprite_bullets_random.py | 2 -- arcade/examples/sprite_change_coins.py | 2 -- arcade/examples/sprite_collect_coins.py | 2 -- arcade/examples/sprite_collect_coins_background.py | 2 -- arcade/examples/sprite_collect_coins_diff_levels.py | 2 -- arcade/examples/sprite_collect_coins_move_bouncing.py | 2 -- arcade/examples/sprite_collect_coins_move_circle.py | 2 -- arcade/examples/sprite_collect_coins_move_down.py | 2 -- arcade/examples/sprite_collect_rotating.py | 2 -- arcade/examples/sprite_enemies_in_platformer.py | 2 -- arcade/examples/sprite_explosion_bitmapped.py | 2 -- arcade/examples/sprite_explosion_particles.py | 2 -- arcade/examples/sprite_face_left_or_right.py | 2 -- arcade/examples/sprite_follow_simple.py | 2 -- arcade/examples/sprite_follow_simple_2.py | 2 -- arcade/examples/sprite_health.py | 2 -- arcade/examples/sprite_minimal.py | 2 -- arcade/examples/sprite_move_angle.py | 2 -- arcade/examples/sprite_move_animation.py | 2 -- arcade/examples/sprite_move_controller.py | 2 -- arcade/examples/sprite_move_keyboard.py | 2 -- arcade/examples/sprite_move_keyboard_accel.py | 2 -- arcade/examples/sprite_move_keyboard_better.py | 2 -- arcade/examples/sprite_move_scrolling.py | 2 -- arcade/examples/sprite_move_scrolling_box.py | 2 -- arcade/examples/sprite_move_scrolling_shake.py | 2 -- arcade/examples/sprite_move_walls.py | 2 -- arcade/examples/sprite_moving_platforms.py | 2 -- arcade/examples/sprite_no_coins_on_walls.py | 2 -- arcade/examples/sprite_properties.py | 2 -- arcade/examples/sprite_rooms.py | 2 -- arcade/examples/sprite_rotate_around_point.py | 2 -- arcade/examples/sprite_rotate_around_tank.py | 2 -- arcade/examples/sprite_tiled_map.py | 2 -- arcade/examples/sprite_tiled_map_with_levels.py | 2 -- arcade/examples/starting_template.py | 2 -- arcade/examples/template_platformer.py | 2 -- arcade/examples/tetris.py | 2 -- arcade/examples/text_loc_example_done.py | 2 -- arcade/examples/text_loc_example_start.py | 2 -- arcade/examples/timer.py | 2 -- arcade/examples/transform_feedback.py | 2 -- arcade/examples/transitions.py | 2 -- arcade/examples/turn_and_move.py | 2 -- arcade/examples/view_instructions_and_game_over.py | 2 -- arcade/examples/view_pause_screen.py | 2 -- arcade/examples/view_screens_minimal.py | 2 -- 167 files changed, 334 deletions(-) diff --git a/arcade/examples/array_backed_grid.py b/arcade/examples/array_backed_grid.py index 175a8fab6..f84fcda98 100644 --- a/arcade/examples/array_backed_grid.py +++ b/arcade/examples/array_backed_grid.py @@ -13,8 +13,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.array_backed_grid """ -from __future__ import annotations - import arcade # Set how many rows and columns we will have diff --git a/arcade/examples/array_backed_grid_buffered.py b/arcade/examples/array_backed_grid_buffered.py index 569e90ec7..7323ea1cb 100644 --- a/arcade/examples/array_backed_grid_buffered.py +++ b/arcade/examples/array_backed_grid_buffered.py @@ -13,8 +13,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.array_backed_grid_buffered """ -from __future__ import annotations - import arcade # Set how many rows and columns we will have diff --git a/arcade/examples/array_backed_grid_sprites_1.py b/arcade/examples/array_backed_grid_sprites_1.py index aed04930f..fba7d83e6 100644 --- a/arcade/examples/array_backed_grid_sprites_1.py +++ b/arcade/examples/array_backed_grid_sprites_1.py @@ -12,8 +12,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.array_backed_grid_sprites_1 """ -from __future__ import annotations - import arcade # Set how many rows and columns we will have diff --git a/arcade/examples/array_backed_grid_sprites_2.py b/arcade/examples/array_backed_grid_sprites_2.py index 397ce7462..74de7b816 100644 --- a/arcade/examples/array_backed_grid_sprites_2.py +++ b/arcade/examples/array_backed_grid_sprites_2.py @@ -12,8 +12,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.array_backed_grid_sprites_2 """ -from __future__ import annotations - import arcade # Set how many rows and columns we will have diff --git a/arcade/examples/astar_pathfinding.py b/arcade/examples/astar_pathfinding.py index 1ddb04793..9d799ab79 100644 --- a/arcade/examples/astar_pathfinding.py +++ b/arcade/examples/astar_pathfinding.py @@ -7,8 +7,6 @@ python -m arcade.examples.astar_pathfinding """ -from __future__ import annotations - import arcade import random diff --git a/arcade/examples/asteroid_smasher.py b/arcade/examples/asteroid_smasher.py index 569663388..1e9f7092e 100644 --- a/arcade/examples/asteroid_smasher.py +++ b/arcade/examples/asteroid_smasher.py @@ -13,8 +13,6 @@ the command line with: python -m arcade.examples.asteroid_smasher """ -from __future__ import annotations - import random import math import arcade diff --git a/arcade/examples/background_blending.py b/arcade/examples/background_blending.py index fdb43da9f..dfb4c1c14 100644 --- a/arcade/examples/background_blending.py +++ b/arcade/examples/background_blending.py @@ -9,8 +9,6 @@ python -m arcade.examples.background_blending """ -from __future__ import annotations - import arcade import arcade.experimental.background as background diff --git a/arcade/examples/background_groups.py b/arcade/examples/background_groups.py index 5825d7683..fbf488a0d 100644 --- a/arcade/examples/background_groups.py +++ b/arcade/examples/background_groups.py @@ -11,8 +11,6 @@ python -m arcade.examples.background_groups """ -from __future__ import annotations - import arcade import arcade.experimental.background as background diff --git a/arcade/examples/background_parallax.py b/arcade/examples/background_parallax.py index cfd970f5c..1ba412699 100644 --- a/arcade/examples/background_parallax.py +++ b/arcade/examples/background_parallax.py @@ -13,8 +13,6 @@ python -m arcade.examples.background_parallax """ -from __future__ import annotations - import arcade import arcade.experimental.background as background diff --git a/arcade/examples/background_scrolling.py b/arcade/examples/background_scrolling.py index 90691f5a1..3f52de4ea 100644 --- a/arcade/examples/background_scrolling.py +++ b/arcade/examples/background_scrolling.py @@ -9,8 +9,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.background_scrolling """ -from __future__ import annotations - import arcade import arcade.experimental.background as background diff --git a/arcade/examples/background_stationary.py b/arcade/examples/background_stationary.py index 75531e73e..1519b747a 100644 --- a/arcade/examples/background_stationary.py +++ b/arcade/examples/background_stationary.py @@ -8,8 +8,6 @@ python -m arcade.examples.background_stationary """ -from __future__ import annotations - import arcade import arcade.experimental.background as background diff --git a/arcade/examples/bloom_defender.py b/arcade/examples/bloom_defender.py index 323ad7474..a8279e91f 100644 --- a/arcade/examples/bloom_defender.py +++ b/arcade/examples/bloom_defender.py @@ -7,8 +7,6 @@ python -m arcade.examples.bloom_defender """ -from __future__ import annotations - import arcade import random diff --git a/arcade/examples/bouncing_rectangle.py b/arcade/examples/bouncing_rectangle.py index 7b1809f09..8c045657f 100644 --- a/arcade/examples/bouncing_rectangle.py +++ b/arcade/examples/bouncing_rectangle.py @@ -7,8 +7,6 @@ python -m arcade.examples.bouncing_rectangle """ -from __future__ import annotations - import arcade # --- Set up the constants diff --git a/arcade/examples/camera_platform.py b/arcade/examples/camera_platform.py index c2fa7d2ca..3fe65e609 100644 --- a/arcade/examples/camera_platform.py +++ b/arcade/examples/camera_platform.py @@ -8,8 +8,6 @@ python -m arcade.examples.camera_platform """ -from __future__ import annotations - import time import arcade diff --git a/arcade/examples/conway_alpha.py b/arcade/examples/conway_alpha.py index ed85898bf..2492d1866 100644 --- a/arcade/examples/conway_alpha.py +++ b/arcade/examples/conway_alpha.py @@ -8,8 +8,6 @@ typing: python -m arcade.examples.conway_alpha """ -from __future__ import annotations - import arcade import random diff --git a/arcade/examples/drawing_primitives.py b/arcade/examples/drawing_primitives.py index b47564cdb..ae4752809 100644 --- a/arcade/examples/drawing_primitives.py +++ b/arcade/examples/drawing_primitives.py @@ -15,8 +15,6 @@ python -m arcade.examples.drawing_primitives """ -from __future__ import annotations - # Import the Arcade library. If this fails, then try following the instructions # for how to install arcade: # https://api.arcade.academy/en/latest/install/index.html diff --git a/arcade/examples/drawing_text.py b/arcade/examples/drawing_text.py index 8f082eb5e..9dd5fd160 100644 --- a/arcade/examples/drawing_text.py +++ b/arcade/examples/drawing_text.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.drawing_text """ -from __future__ import annotations - import arcade SCREEN_WIDTH = 1200 diff --git a/arcade/examples/drawing_text_objects.py b/arcade/examples/drawing_text_objects.py index 5297685d5..54d97727a 100644 --- a/arcade/examples/drawing_text_objects.py +++ b/arcade/examples/drawing_text_objects.py @@ -5,8 +5,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.drawing_text_objects """ -from __future__ import annotations - import arcade SCREEN_WIDTH = 1200 diff --git a/arcade/examples/drawing_text_objects_batch.py b/arcade/examples/drawing_text_objects_batch.py index dbc6586c8..5bfce1cc3 100644 --- a/arcade/examples/drawing_text_objects_batch.py +++ b/arcade/examples/drawing_text_objects_batch.py @@ -10,8 +10,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.drawing_text_objects_batch """ -from __future__ import annotations - import arcade import pyglet.graphics diff --git a/arcade/examples/dual_stick_shooter.py b/arcade/examples/dual_stick_shooter.py index 1f7c1d868..c45f8fc16 100644 --- a/arcade/examples/dual_stick_shooter.py +++ b/arcade/examples/dual_stick_shooter.py @@ -7,8 +7,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.dual_stick_shooter """ -from __future__ import annotations - import math import pprint import random diff --git a/arcade/examples/easing_example_1.py b/arcade/examples/easing_example_1.py index 23806fab9..a28fa923b 100644 --- a/arcade/examples/easing_example_1.py +++ b/arcade/examples/easing_example_1.py @@ -10,8 +10,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.easing_example_1 """ -from __future__ import annotations - import arcade from arcade import easing from arcade.types import Color diff --git a/arcade/examples/easing_example_2.py b/arcade/examples/easing_example_2.py index 92bf419dc..94ca0a1a8 100644 --- a/arcade/examples/easing_example_2.py +++ b/arcade/examples/easing_example_2.py @@ -9,8 +9,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.easing_example_2 """ -from __future__ import annotations - import arcade from arcade import easing diff --git a/arcade/examples/follow_path.py b/arcade/examples/follow_path.py index 727218bf9..b08cdb9ec 100644 --- a/arcade/examples/follow_path.py +++ b/arcade/examples/follow_path.py @@ -9,8 +9,6 @@ python -m arcade.examples.follow_path """ -from __future__ import annotations - import arcade import math diff --git a/arcade/examples/full_screen_example.py b/arcade/examples/full_screen_example.py index 07e2a9e2c..94b674059 100644 --- a/arcade/examples/full_screen_example.py +++ b/arcade/examples/full_screen_example.py @@ -9,8 +9,6 @@ python -m arcade.examples.full_screen_example """ -from __future__ import annotations - import arcade SPRITE_SCALING = 0.5 diff --git a/arcade/examples/gl/3d_cube.py b/arcade/examples/gl/3d_cube.py index b27436186..62dd86b4d 100644 --- a/arcade/examples/gl/3d_cube.py +++ b/arcade/examples/gl/3d_cube.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.3d_cube """ -from __future__ import annotations - from pyglet.math import Mat4 import arcade from arcade.gl import geometry diff --git a/arcade/examples/gl/3d_cube_with_cubes.py b/arcade/examples/gl/3d_cube_with_cubes.py index d32182b19..09663cdaf 100644 --- a/arcade/examples/gl/3d_cube_with_cubes.py +++ b/arcade/examples/gl/3d_cube_with_cubes.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.3d_cube_with_cubes """ -from __future__ import annotations - from pyglet.math import Mat4 import arcade diff --git a/arcade/examples/gl/3d_sphere.py b/arcade/examples/gl/3d_sphere.py index 771bcf87c..c63869c7b 100644 --- a/arcade/examples/gl/3d_sphere.py +++ b/arcade/examples/gl/3d_sphere.py @@ -7,8 +7,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.3d_sphere """ -from __future__ import annotations - import arcade from arcade.math import clamp from arcade.gl import geometry diff --git a/arcade/examples/gl/basic_renderer.py b/arcade/examples/gl/basic_renderer.py index 397574850..ce8f26163 100644 --- a/arcade/examples/gl/basic_renderer.py +++ b/arcade/examples/gl/basic_renderer.py @@ -5,8 +5,6 @@ python -m arcade.examples.gl.basic_renderer """ -from __future__ import annotations - import math import arcade from arcade.gl import geometry diff --git a/arcade/examples/gl/bindless_texture.py b/arcade/examples/gl/bindless_texture.py index 1c3fcd462..5725b084c 100644 --- a/arcade/examples/gl/bindless_texture.py +++ b/arcade/examples/gl/bindless_texture.py @@ -24,8 +24,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.bindless_texture """ -from __future__ import annotations - from array import array from typing import List from itertools import cycle diff --git a/arcade/examples/gl/chip8_display.py b/arcade/examples/gl/chip8_display.py index 5744d1353..87f6ccb61 100644 --- a/arcade/examples/gl/chip8_display.py +++ b/arcade/examples/gl/chip8_display.py @@ -13,8 +13,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.chip8_display """ -from __future__ import annotations - from array import array import arcade diff --git a/arcade/examples/gl/compute_ssbo.py b/arcade/examples/gl/compute_ssbo.py index 29513c2e7..ecd380a03 100644 --- a/arcade/examples/gl/compute_ssbo.py +++ b/arcade/examples/gl/compute_ssbo.py @@ -23,8 +23,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.compute_ssbo """ -from __future__ import annotations - import random import math from array import array diff --git a/arcade/examples/gl/compute_texture.py b/arcade/examples/gl/compute_texture.py index 4cc1f1a57..f1f720bfd 100644 --- a/arcade/examples/gl/compute_texture.py +++ b/arcade/examples/gl/compute_texture.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.compute_texture """ -from __future__ import annotations - import arcade from arcade.gl import geometry diff --git a/arcade/examples/gl/custom_sprite.py b/arcade/examples/gl/custom_sprite.py index d73e77054..161802bc5 100644 --- a/arcade/examples/gl/custom_sprite.py +++ b/arcade/examples/gl/custom_sprite.py @@ -22,8 +22,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.custom_sprite """ -from __future__ import annotations - from random import randint from array import array import arcade diff --git a/arcade/examples/gl/game_of_life_colors.py b/arcade/examples/gl/game_of_life_colors.py index 23d397340..44a124759 100644 --- a/arcade/examples/gl/game_of_life_colors.py +++ b/arcade/examples/gl/game_of_life_colors.py @@ -16,8 +16,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.game_of_life_colors """ -from __future__ import annotations - import random from array import array diff --git a/arcade/examples/gl/geometry_index_buffers.py b/arcade/examples/gl/geometry_index_buffers.py index 1801322d8..044b64b80 100644 --- a/arcade/examples/gl/geometry_index_buffers.py +++ b/arcade/examples/gl/geometry_index_buffers.py @@ -7,8 +7,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.geometry_index_buffers """ -from __future__ import annotations - from array import array import arcade diff --git a/arcade/examples/gl/geometry_shader.py b/arcade/examples/gl/geometry_shader.py index 22263ecf8..ab53da1a0 100644 --- a/arcade/examples/gl/geometry_shader.py +++ b/arcade/examples/gl/geometry_shader.py @@ -8,8 +8,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.geometry_shader """ -from __future__ import annotations - import random from array import array import arcade diff --git a/arcade/examples/gl/instancing.py b/arcade/examples/gl/instancing.py index 66ce9d427..30d7bfe21 100644 --- a/arcade/examples/gl/instancing.py +++ b/arcade/examples/gl/instancing.py @@ -8,8 +8,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.instancing """ -from __future__ import annotations - import random from array import array diff --git a/arcade/examples/gl/multisample_fbo.py b/arcade/examples/gl/multisample_fbo.py index 93864ff61..724bfe3a7 100644 --- a/arcade/examples/gl/multisample_fbo.py +++ b/arcade/examples/gl/multisample_fbo.py @@ -9,8 +9,6 @@ python -m arcade.examples.gl.multisample_fbo """ -from __future__ import annotations - import math import arcade diff --git a/arcade/examples/gl/normal_mapping_simple.py b/arcade/examples/gl/normal_mapping_simple.py index fd39774bf..7e6412037 100644 --- a/arcade/examples/gl/normal_mapping_simple.py +++ b/arcade/examples/gl/normal_mapping_simple.py @@ -15,8 +15,6 @@ Run this example from the command line with: python -m arcade.examples.gl.normal_mapping_simple """ -from __future__ import annotations - import arcade from arcade.gl import geometry diff --git a/arcade/examples/gl/random_shader_simple.py b/arcade/examples/gl/random_shader_simple.py index 320a48266..db5125a99 100644 --- a/arcade/examples/gl/random_shader_simple.py +++ b/arcade/examples/gl/random_shader_simple.py @@ -12,8 +12,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.random_shader_simple """ -from __future__ import annotations - from time import time from array import array from random import random diff --git a/arcade/examples/gl/ray_marching/ray_marching_simple.py b/arcade/examples/gl/ray_marching/ray_marching_simple.py index 9dc6dd31c..48f7ee24e 100644 --- a/arcade/examples/gl/ray_marching/ray_marching_simple.py +++ b/arcade/examples/gl/ray_marching/ray_marching_simple.py @@ -6,8 +6,6 @@ "Ray Marching for Dummies!" video from The Art of Code YouTube channel : https://www.youtube.com/watch?v=PGtv-dBi2wE """ -from __future__ import annotations - from pathlib import Path import arcade from arcade.gl import geometry diff --git a/arcade/examples/gl/render_indirect.py b/arcade/examples/gl/render_indirect.py index 01ab1cb20..2a4e33ea0 100644 --- a/arcade/examples/gl/render_indirect.py +++ b/arcade/examples/gl/render_indirect.py @@ -19,8 +19,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.render_indirect """ -from __future__ import annotations - from random import ( randint, random, diff --git a/arcade/examples/gl/shader_setup.py b/arcade/examples/gl/shader_setup.py index 6da74ebcd..562193bf6 100644 --- a/arcade/examples/gl/shader_setup.py +++ b/arcade/examples/gl/shader_setup.py @@ -5,8 +5,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.shader_setup """ -from __future__ import annotations - import arcade from arcade.gl import geometry diff --git a/arcade/examples/gl/shader_setup_simple_texture.py b/arcade/examples/gl/shader_setup_simple_texture.py index b8e059e8f..823e172bd 100644 --- a/arcade/examples/gl/shader_setup_simple_texture.py +++ b/arcade/examples/gl/shader_setup_simple_texture.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.shader_setup_simple_texture """ -from __future__ import annotations - import arcade from arcade.gl import geometry diff --git a/arcade/examples/gl/spritelist_interaction_bouncing_coins.py b/arcade/examples/gl/spritelist_interaction_bouncing_coins.py index aecc89f0f..36e90a408 100644 --- a/arcade/examples/gl/spritelist_interaction_bouncing_coins.py +++ b/arcade/examples/gl/spritelist_interaction_bouncing_coins.py @@ -12,8 +12,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.spritelist_interaction_bouncing_coins """ -from __future__ import annotations - from array import array from random import randint, uniform diff --git a/arcade/examples/gl/spritelist_interaction_hijack_positions.py b/arcade/examples/gl/spritelist_interaction_hijack_positions.py index 514f921ff..c48566d46 100644 --- a/arcade/examples/gl/spritelist_interaction_hijack_positions.py +++ b/arcade/examples/gl/spritelist_interaction_hijack_positions.py @@ -7,8 +7,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.spritelist_interaction_hijack_positions """ -from __future__ import annotations - import math import arcade from arcade import hitbox diff --git a/arcade/examples/gl/spritelist_interaction_visualize_dist.py b/arcade/examples/gl/spritelist_interaction_visualize_dist.py index e765f2ad8..049cedaa2 100644 --- a/arcade/examples/gl/spritelist_interaction_visualize_dist.py +++ b/arcade/examples/gl/spritelist_interaction_visualize_dist.py @@ -7,8 +7,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.spritelist_interaction_visualize_dist """ -from __future__ import annotations - import random import arcade diff --git a/arcade/examples/gl/spritelist_interaction_visualize_dist_los.py b/arcade/examples/gl/spritelist_interaction_visualize_dist_los.py index be528ab3a..8b2f1c014 100644 --- a/arcade/examples/gl/spritelist_interaction_visualize_dist_los.py +++ b/arcade/examples/gl/spritelist_interaction_visualize_dist_los.py @@ -13,8 +13,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.spritelist_interaction_visualize_dist_los """ -from __future__ import annotations - import random import arcade diff --git a/arcade/examples/gl/spritelist_interaction_visualize_dist_los_trans.py b/arcade/examples/gl/spritelist_interaction_visualize_dist_los_trans.py index 19d294fa8..a23616d21 100644 --- a/arcade/examples/gl/spritelist_interaction_visualize_dist_los_trans.py +++ b/arcade/examples/gl/spritelist_interaction_visualize_dist_los_trans.py @@ -20,8 +20,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.spritelist_interaction_visualize_dist_los_trans """ -from __future__ import annotations - import random import struct import arcade diff --git a/arcade/examples/gl/tessellation.py b/arcade/examples/gl/tessellation.py index f0340633f..96580377e 100644 --- a/arcade/examples/gl/tessellation.py +++ b/arcade/examples/gl/tessellation.py @@ -5,8 +5,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.tessellation """ -from __future__ import annotations - from array import array import arcade diff --git a/arcade/examples/gl/transform_emit.py b/arcade/examples/gl/transform_emit.py index 16c15150b..3e6ba33b5 100644 --- a/arcade/examples/gl/transform_emit.py +++ b/arcade/examples/gl/transform_emit.py @@ -7,8 +7,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.transform_emit """ -from __future__ import annotations - # import struct import random from array import array diff --git a/arcade/examples/gl/transform_feedback.py b/arcade/examples/gl/transform_feedback.py index 8ba9e6db8..dbbc50798 100644 --- a/arcade/examples/gl/transform_feedback.py +++ b/arcade/examples/gl/transform_feedback.py @@ -18,8 +18,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.transform_feedback """ -from __future__ import annotations - from array import array import math import time diff --git a/arcade/examples/gl/transform_feedback_geo.py b/arcade/examples/gl/transform_feedback_geo.py index 6133cc207..471ac8cc0 100644 --- a/arcade/examples/gl/transform_feedback_geo.py +++ b/arcade/examples/gl/transform_feedback_geo.py @@ -21,8 +21,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.transform_feedback_geo """ -from __future__ import annotations - from array import array import time import random diff --git a/arcade/examples/gl/transform_multi.py b/arcade/examples/gl/transform_multi.py index dfd57efec..343b00694 100644 --- a/arcade/examples/gl/transform_multi.py +++ b/arcade/examples/gl/transform_multi.py @@ -12,8 +12,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.transform_multi """ -from __future__ import annotations - import struct import arcade diff --git a/arcade/examples/gl/transform_point_grid.py b/arcade/examples/gl/transform_point_grid.py index 2e57af75f..78954f42b 100644 --- a/arcade/examples/gl/transform_point_grid.py +++ b/arcade/examples/gl/transform_point_grid.py @@ -16,8 +16,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gl.transform_point_grid """ -from __future__ import annotations - import random import time from array import array diff --git a/arcade/examples/gradients.py b/arcade/examples/gradients.py index 2d01fd5d7..03fc1e6de 100644 --- a/arcade/examples/gradients.py +++ b/arcade/examples/gradients.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gradients """ -from __future__ import annotations - import arcade from arcade import shape_list diff --git a/arcade/examples/gui_flat_button.py b/arcade/examples/gui_flat_button.py index ffe75f729..133fe5af3 100644 --- a/arcade/examples/gui_flat_button.py +++ b/arcade/examples/gui_flat_button.py @@ -5,8 +5,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gui_flat_button """ -from __future__ import annotations - import arcade import arcade.gui diff --git a/arcade/examples/gui_flat_button_styled.py b/arcade/examples/gui_flat_button_styled.py index aba97c027..88e71e133 100644 --- a/arcade/examples/gui_flat_button_styled.py +++ b/arcade/examples/gui_flat_button_styled.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gui_flat_button_styled """ -from __future__ import annotations - import arcade import arcade.gui import arcade.gui.widgets.buttons diff --git a/arcade/examples/gui_ok_messagebox.py b/arcade/examples/gui_ok_messagebox.py index 8fc7eb83c..587ce0053 100644 --- a/arcade/examples/gui_ok_messagebox.py +++ b/arcade/examples/gui_ok_messagebox.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gui_ok_messagebox """ -from __future__ import annotations - import arcade import arcade.gui import arcade.gui.widgets.buttons diff --git a/arcade/examples/gui_scrollable_text.py b/arcade/examples/gui_scrollable_text.py index 178a8a861..afa9f1028 100644 --- a/arcade/examples/gui_scrollable_text.py +++ b/arcade/examples/gui_scrollable_text.py @@ -2,8 +2,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gui_scrollable_text """ -from __future__ import annotations - import arcade from arcade import load_texture from arcade.gui import UIManager, UIInputText, UITextArea diff --git a/arcade/examples/gui_slider.py b/arcade/examples/gui_slider.py index da8f12c1a..828e6cc24 100644 --- a/arcade/examples/gui_slider.py +++ b/arcade/examples/gui_slider.py @@ -14,8 +14,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gui_slider """ -from __future__ import annotations - import arcade from arcade.gui import UIManager, UILabel from arcade.gui.events import UIOnChangeEvent diff --git a/arcade/examples/gui_widgets.py b/arcade/examples/gui_widgets.py index c22b1e0c2..f9a30520c 100644 --- a/arcade/examples/gui_widgets.py +++ b/arcade/examples/gui_widgets.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.gui_widgets """ -from __future__ import annotations - import arcade import arcade.gui import arcade.gui.widgets.buttons diff --git a/arcade/examples/happy_face.py b/arcade/examples/happy_face.py index f7aec386c..3396b2d3f 100644 --- a/arcade/examples/happy_face.py +++ b/arcade/examples/happy_face.py @@ -5,8 +5,6 @@ python -m arcade.examples.happy_face """ -from __future__ import annotations - import arcade # Set constants for the screen size diff --git a/arcade/examples/light_demo.py b/arcade/examples/light_demo.py index 9fe7bba0c..60a674e38 100644 --- a/arcade/examples/light_demo.py +++ b/arcade/examples/light_demo.py @@ -6,8 +6,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.light_demo """ -from __future__ import annotations - import arcade from arcade.experimental.lights import Light, LightLayer diff --git a/arcade/examples/line_of_sight.py b/arcade/examples/line_of_sight.py index fe600d731..249ba7e5e 100644 --- a/arcade/examples/line_of_sight.py +++ b/arcade/examples/line_of_sight.py @@ -7,8 +7,6 @@ python -m arcade.examples.line_of_sight """ -from __future__ import annotations - import arcade import random diff --git a/arcade/examples/lines_buffered.py b/arcade/examples/lines_buffered.py index e0b04df07..80c765822 100644 --- a/arcade/examples/lines_buffered.py +++ b/arcade/examples/lines_buffered.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.lines_buffered """ -from __future__ import annotations - import random import arcade from arcade.shape_list import ( diff --git a/arcade/examples/maze_depth_first.py b/arcade/examples/maze_depth_first.py index 90e3fc132..0d09feaf1 100644 --- a/arcade/examples/maze_depth_first.py +++ b/arcade/examples/maze_depth_first.py @@ -9,8 +9,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.maze_depth_first """ -from __future__ import annotations - import random import arcade import timeit diff --git a/arcade/examples/maze_recursive.py b/arcade/examples/maze_recursive.py index 4bdb65f33..610d302a1 100644 --- a/arcade/examples/maze_recursive.py +++ b/arcade/examples/maze_recursive.py @@ -9,8 +9,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.maze_recursive """ -from __future__ import annotations - import random import arcade import timeit diff --git a/arcade/examples/minimap.py b/arcade/examples/minimap.py index fa9dc6846..6478f6526 100644 --- a/arcade/examples/minimap.py +++ b/arcade/examples/minimap.py @@ -7,8 +7,6 @@ python -m arcade.examples.minimap """ -from __future__ import annotations - import random from uuid import uuid4 diff --git a/arcade/examples/minimap_camera.py b/arcade/examples/minimap_camera.py index 5fe24db37..229bcd373 100644 --- a/arcade/examples/minimap_camera.py +++ b/arcade/examples/minimap_camera.py @@ -7,8 +7,6 @@ python -m arcade.examples.minimap_camera """ -from __future__ import annotations - import random import arcade diff --git a/arcade/examples/music_control_demo.py b/arcade/examples/music_control_demo.py index e01d74f4f..cb279b2df 100644 --- a/arcade/examples/music_control_demo.py +++ b/arcade/examples/music_control_demo.py @@ -2,8 +2,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.music_control_demo """ -from __future__ import annotations - import arcade import arcade.gui import arcade.gui.widgets.buttons diff --git a/arcade/examples/net_process_animal_facts.py b/arcade/examples/net_process_animal_facts.py index ddc4166d6..418f90195 100644 --- a/arcade/examples/net_process_animal_facts.py +++ b/arcade/examples/net_process_animal_facts.py @@ -28,8 +28,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.net_process_animal_facts """ -from __future__ import annotations - import PIL.Image import random import time diff --git a/arcade/examples/particle_fireworks.py b/arcade/examples/particle_fireworks.py index fe73056cb..cb5f98029 100644 --- a/arcade/examples/particle_fireworks.py +++ b/arcade/examples/particle_fireworks.py @@ -6,8 +6,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.particle_fireworks """ -from __future__ import annotations - import random import pyglet from pyglet.math import Vec2 diff --git a/arcade/examples/particle_systems.py b/arcade/examples/particle_systems.py index 1cd658086..36590ecc7 100644 --- a/arcade/examples/particle_systems.py +++ b/arcade/examples/particle_systems.py @@ -10,8 +10,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.particle_systems """ -from __future__ import annotations - import arcade import pyglet import random diff --git a/arcade/examples/perf_test/stress_test_collision_arcade.py b/arcade/examples/perf_test/stress_test_collision_arcade.py index 535901681..ecafd4bd8 100644 --- a/arcade/examples/perf_test/stress_test_collision_arcade.py +++ b/arcade/examples/perf_test/stress_test_collision_arcade.py @@ -8,8 +8,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.stress_test_draw_moving """ -from __future__ import annotations - import arcade import random import timeit diff --git a/arcade/examples/perf_test/stress_test_draw_moving_arcade.py b/arcade/examples/perf_test/stress_test_draw_moving_arcade.py index 7ce65104f..29ed9c8d9 100644 --- a/arcade/examples/perf_test/stress_test_draw_moving_arcade.py +++ b/arcade/examples/perf_test/stress_test_draw_moving_arcade.py @@ -8,8 +8,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.stress_test_draw_moving """ -from __future__ import annotations - import random import arcade import timeit diff --git a/arcade/examples/performance_statistics.py b/arcade/examples/performance_statistics.py index 5756f2cc6..3e02cbe00 100644 --- a/arcade/examples/performance_statistics.py +++ b/arcade/examples/performance_statistics.py @@ -19,8 +19,6 @@ command line with: python -m arcade.examples.performance_statistics """ -from __future__ import annotations - import random from typing import Optional diff --git a/arcade/examples/perspective.py b/arcade/examples/perspective.py index f994ad245..d2b99e3dc 100644 --- a/arcade/examples/perspective.py +++ b/arcade/examples/perspective.py @@ -15,8 +15,6 @@ python -m arcade.examples.perspective """ -from __future__ import annotations - from array import array import arcade diff --git a/arcade/examples/platform_tutorial/01_open_window.py b/arcade/examples/platform_tutorial/01_open_window.py index 3b9ef264b..2f3b4808b 100644 --- a/arcade/examples/platform_tutorial/01_open_window.py +++ b/arcade/examples/platform_tutorial/01_open_window.py @@ -3,8 +3,6 @@ python -m arcade.examples.platform_tutorial.01_open_window """ -from __future__ import annotations - import arcade # Constants diff --git a/arcade/examples/platform_tutorial/02_draw_sprites.py b/arcade/examples/platform_tutorial/02_draw_sprites.py index e1cb7297e..80212935f 100644 --- a/arcade/examples/platform_tutorial/02_draw_sprites.py +++ b/arcade/examples/platform_tutorial/02_draw_sprites.py @@ -3,8 +3,6 @@ python -m arcade.examples.platform_tutorial.02_draw_sprites """ -from __future__ import annotations - import arcade # Constants diff --git a/arcade/examples/platform_tutorial/03_scene_object.py b/arcade/examples/platform_tutorial/03_scene_object.py index bc0ea0303..31b40109d 100644 --- a/arcade/examples/platform_tutorial/03_scene_object.py +++ b/arcade/examples/platform_tutorial/03_scene_object.py @@ -3,8 +3,6 @@ python -m arcade.examples.platform_tutorial.03_scene_object """ -from __future__ import annotations - import arcade # Constants diff --git a/arcade/examples/platform_tutorial/04_user_control.py b/arcade/examples/platform_tutorial/04_user_control.py index 738180bfb..deb77e7e2 100644 --- a/arcade/examples/platform_tutorial/04_user_control.py +++ b/arcade/examples/platform_tutorial/04_user_control.py @@ -3,8 +3,6 @@ python -m arcade.examples.platform_tutorial.04_user_control """ -from __future__ import annotations - import arcade # Constants diff --git a/arcade/examples/platform_tutorial/05_add_gravity.py b/arcade/examples/platform_tutorial/05_add_gravity.py index 381526e7f..d0627442f 100644 --- a/arcade/examples/platform_tutorial/05_add_gravity.py +++ b/arcade/examples/platform_tutorial/05_add_gravity.py @@ -3,8 +3,6 @@ python -m arcade.examples.platform_tutorial.05_add_gravity """ -from __future__ import annotations - import arcade # Constants diff --git a/arcade/examples/platform_tutorial/06_camera.py b/arcade/examples/platform_tutorial/06_camera.py index 2a43e9bed..047d38c88 100644 --- a/arcade/examples/platform_tutorial/06_camera.py +++ b/arcade/examples/platform_tutorial/06_camera.py @@ -3,8 +3,6 @@ python -m arcade.examples.platform_tutorial.06_camera """ -from __future__ import annotations - import arcade # Constants diff --git a/arcade/examples/platform_tutorial/07_coins_and_sound.py b/arcade/examples/platform_tutorial/07_coins_and_sound.py index bcd55733b..2fa961c62 100644 --- a/arcade/examples/platform_tutorial/07_coins_and_sound.py +++ b/arcade/examples/platform_tutorial/07_coins_and_sound.py @@ -3,8 +3,6 @@ python -m arcade.examples.platform_tutorial.07_coins_and_sound """ -from __future__ import annotations - import arcade # Constants diff --git a/arcade/examples/platform_tutorial/08_score.py b/arcade/examples/platform_tutorial/08_score.py index 9c737f15a..368321d33 100644 --- a/arcade/examples/platform_tutorial/08_score.py +++ b/arcade/examples/platform_tutorial/08_score.py @@ -3,8 +3,6 @@ python -m arcade.examples.platform_tutorial.08_score """ -from __future__ import annotations - import arcade # Constants diff --git a/arcade/examples/platform_tutorial/09_load_map.py b/arcade/examples/platform_tutorial/09_load_map.py index 61cc1528c..54b45da44 100644 --- a/arcade/examples/platform_tutorial/09_load_map.py +++ b/arcade/examples/platform_tutorial/09_load_map.py @@ -3,8 +3,6 @@ python -m arcade.examples.platform_tutorial.09_load_map """ -from __future__ import annotations - import arcade # Constants diff --git a/arcade/examples/platform_tutorial/10_multiple_levels.py b/arcade/examples/platform_tutorial/10_multiple_levels.py index 34d1aad1b..1b333d2b0 100644 --- a/arcade/examples/platform_tutorial/10_multiple_levels.py +++ b/arcade/examples/platform_tutorial/10_multiple_levels.py @@ -3,8 +3,6 @@ python -m arcade.examples.platform_tutorial.10_multiple_levels """ -from __future__ import annotations - import arcade # Constants diff --git a/arcade/examples/platform_tutorial/11_ladders_and_more.py b/arcade/examples/platform_tutorial/11_ladders_and_more.py index 319c56fe3..e82c9b581 100644 --- a/arcade/examples/platform_tutorial/11_ladders_and_more.py +++ b/arcade/examples/platform_tutorial/11_ladders_and_more.py @@ -3,8 +3,6 @@ python -m arcade.examples.platform_tutorial.11_ladders_and_more """ -from __future__ import annotations - import arcade # Constants diff --git a/arcade/examples/platform_tutorial/12_animate_character.py b/arcade/examples/platform_tutorial/12_animate_character.py index 6ed7e4909..08b523ae2 100644 --- a/arcade/examples/platform_tutorial/12_animate_character.py +++ b/arcade/examples/platform_tutorial/12_animate_character.py @@ -3,8 +3,6 @@ python -m arcade.examples.platform_tutorial.12_animate_character """ -from __future__ import annotations - import arcade # Constants diff --git a/arcade/examples/platform_tutorial/13_add_enemies.py b/arcade/examples/platform_tutorial/13_add_enemies.py index 7abef6c99..f4952157f 100644 --- a/arcade/examples/platform_tutorial/13_add_enemies.py +++ b/arcade/examples/platform_tutorial/13_add_enemies.py @@ -3,8 +3,6 @@ python -m arcade.examples.platform_tutorial.13_add_enemies """ -from __future__ import annotations - import math import arcade diff --git a/arcade/examples/platform_tutorial/14_moving_enemies.py b/arcade/examples/platform_tutorial/14_moving_enemies.py index dd044edf7..3312bc15f 100644 --- a/arcade/examples/platform_tutorial/14_moving_enemies.py +++ b/arcade/examples/platform_tutorial/14_moving_enemies.py @@ -3,8 +3,6 @@ python -m arcade.examples.platform_tutorial.14_moving_enemies """ -from __future__ import annotations - import math import arcade diff --git a/arcade/examples/platform_tutorial/15_collision_with_enemies.py b/arcade/examples/platform_tutorial/15_collision_with_enemies.py index 17a97c874..5eea8deaf 100644 --- a/arcade/examples/platform_tutorial/15_collision_with_enemies.py +++ b/arcade/examples/platform_tutorial/15_collision_with_enemies.py @@ -3,8 +3,6 @@ python -m arcade.examples.platform_tutorial.15_collision_with_enemies """ -from __future__ import annotations - import math import arcade diff --git a/arcade/examples/platform_tutorial/16_shooting_bullets.py b/arcade/examples/platform_tutorial/16_shooting_bullets.py index 05e2c8d99..1caab59d5 100644 --- a/arcade/examples/platform_tutorial/16_shooting_bullets.py +++ b/arcade/examples/platform_tutorial/16_shooting_bullets.py @@ -3,8 +3,6 @@ python -m arcade.examples.platform_tutorial.16_shooting_bullets """ -from __future__ import annotations - import math import arcade diff --git a/arcade/examples/platform_tutorial/17_views.py b/arcade/examples/platform_tutorial/17_views.py index c75211d9d..bb83827e4 100644 --- a/arcade/examples/platform_tutorial/17_views.py +++ b/arcade/examples/platform_tutorial/17_views.py @@ -3,8 +3,6 @@ python -m arcade.examples.platform_tutorial.17_views """ -from __future__ import annotations - import math import arcade diff --git a/arcade/examples/procedural_caves_bsp.py b/arcade/examples/procedural_caves_bsp.py index f9b40c793..847782430 100644 --- a/arcade/examples/procedural_caves_bsp.py +++ b/arcade/examples/procedural_caves_bsp.py @@ -10,8 +10,6 @@ python -m arcade.examples.procedural_caves_bsp """ -from __future__ import annotations - import random import arcade import timeit diff --git a/arcade/examples/procedural_caves_cellular.py b/arcade/examples/procedural_caves_cellular.py index e12277021..dcdaa4793 100644 --- a/arcade/examples/procedural_caves_cellular.py +++ b/arcade/examples/procedural_caves_cellular.py @@ -8,8 +8,6 @@ python -m arcade.examples.procedural_caves_cellular """ -from __future__ import annotations - import random import arcade import timeit diff --git a/arcade/examples/pymunk_box_stacks.py b/arcade/examples/pymunk_box_stacks.py index 90c74878b..2ae73b0e3 100644 --- a/arcade/examples/pymunk_box_stacks.py +++ b/arcade/examples/pymunk_box_stacks.py @@ -15,8 +15,6 @@ Click and drag with the mouse to move the boxes. """ -from __future__ import annotations - import arcade import pymunk import timeit diff --git a/arcade/examples/pymunk_demo_top_down.py b/arcade/examples/pymunk_demo_top_down.py index 5e3c43c3e..6d0acc2a9 100644 --- a/arcade/examples/pymunk_demo_top_down.py +++ b/arcade/examples/pymunk_demo_top_down.py @@ -5,8 +5,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.pymunk_demo_top_down """ -from __future__ import annotations - import math import random import arcade diff --git a/arcade/examples/pymunk_joint_builder.py b/arcade/examples/pymunk_joint_builder.py index 7160e98fa..1c45230e1 100644 --- a/arcade/examples/pymunk_joint_builder.py +++ b/arcade/examples/pymunk_joint_builder.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.pymunk_joint_builder """ -from __future__ import annotations - import arcade import pymunk import timeit diff --git a/arcade/examples/pymunk_pegboard.py b/arcade/examples/pymunk_pegboard.py index d0cf29e15..00252fc64 100644 --- a/arcade/examples/pymunk_pegboard.py +++ b/arcade/examples/pymunk_pegboard.py @@ -15,8 +15,6 @@ Click and drag with the mouse to move the boxes. """ -from __future__ import annotations - import arcade import pymunk import random diff --git a/arcade/examples/radar_sweep.py b/arcade/examples/radar_sweep.py index a36a8523e..586080dfc 100644 --- a/arcade/examples/radar_sweep.py +++ b/arcade/examples/radar_sweep.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.radar_sweep """ -from __future__ import annotations - import arcade import math diff --git a/arcade/examples/resizable_window.py b/arcade/examples/resizable_window.py index 5bae2aa60..b49907be1 100644 --- a/arcade/examples/resizable_window.py +++ b/arcade/examples/resizable_window.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.resizable_window """ -from __future__ import annotations - import arcade SCREEN_WIDTH = 500 diff --git a/arcade/examples/sections_demo_1.py b/arcade/examples/sections_demo_1.py index 0783e758e..39b9e7adf 100644 --- a/arcade/examples/sections_demo_1.py +++ b/arcade/examples/sections_demo_1.py @@ -15,8 +15,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sections_demo_1 """ -from __future__ import annotations - from typing import Optional import arcade diff --git a/arcade/examples/sections_demo_2.py b/arcade/examples/sections_demo_2.py index 7d05daa9e..c2962f353 100644 --- a/arcade/examples/sections_demo_2.py +++ b/arcade/examples/sections_demo_2.py @@ -18,8 +18,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sections_demo_2 """ -from __future__ import annotations - import random from arcade import Window, Section, View, SpriteList, SpriteSolidColor, \ diff --git a/arcade/examples/sections_demo_3.py b/arcade/examples/sections_demo_3.py index 2474b70b5..69c8f720a 100644 --- a/arcade/examples/sections_demo_3.py +++ b/arcade/examples/sections_demo_3.py @@ -21,8 +21,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sections_demo_3 """ -from __future__ import annotations - from typing import Optional from math import sqrt diff --git a/arcade/examples/shape_list_demo_1.py b/arcade/examples/shape_list_demo_1.py index 4722de01c..58a1f61ed 100644 --- a/arcade/examples/shape_list_demo_1.py +++ b/arcade/examples/shape_list_demo_1.py @@ -10,8 +10,6 @@ python -m arcade.examples.shape_list_demo_1 """ -from __future__ import annotations - import arcade import timeit diff --git a/arcade/examples/shape_list_demo_2.py b/arcade/examples/shape_list_demo_2.py index a2ca89f6e..8082bb9cb 100644 --- a/arcade/examples/shape_list_demo_2.py +++ b/arcade/examples/shape_list_demo_2.py @@ -12,8 +12,6 @@ python -m arcade.examples.shape_list_demo_2 """ -from __future__ import annotations - import arcade import timeit diff --git a/arcade/examples/shape_list_demo_3.py b/arcade/examples/shape_list_demo_3.py index 4864ce942..6100a0cfb 100644 --- a/arcade/examples/shape_list_demo_3.py +++ b/arcade/examples/shape_list_demo_3.py @@ -12,8 +12,6 @@ python -m arcade.examples.shape_list_demo_3 """ -from __future__ import annotations - import arcade import timeit diff --git a/arcade/examples/shape_list_demo_skylines.py b/arcade/examples/shape_list_demo_skylines.py index 8b89cc739..dc780cb26 100644 --- a/arcade/examples/shape_list_demo_skylines.py +++ b/arcade/examples/shape_list_demo_skylines.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.shape_list_demo_skylines """ -from __future__ import annotations - import random import arcade from arcade.shape_list import ( diff --git a/arcade/examples/shapes.py b/arcade/examples/shapes.py index 6ea132e6d..5e4cbc488 100644 --- a/arcade/examples/shapes.py +++ b/arcade/examples/shapes.py @@ -8,8 +8,6 @@ python -m arcade.examples.shapes """ -from __future__ import annotations - import arcade import random diff --git a/arcade/examples/slime_invaders.py b/arcade/examples/slime_invaders.py index c605a3065..39fc47f3d 100644 --- a/arcade/examples/slime_invaders.py +++ b/arcade/examples/slime_invaders.py @@ -13,8 +13,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.slime_invaders """ -from __future__ import annotations - import random import arcade diff --git a/arcade/examples/snow.py b/arcade/examples/snow.py index 1ec254e09..a560e4eaf 100644 --- a/arcade/examples/snow.py +++ b/arcade/examples/snow.py @@ -9,8 +9,6 @@ python -m arcade.examples.snow """ -from __future__ import annotations - import random import math import arcade diff --git a/arcade/examples/sound_demo.py b/arcade/examples/sound_demo.py index c07c32187..5a70737f2 100644 --- a/arcade/examples/sound_demo.py +++ b/arcade/examples/sound_demo.py @@ -18,8 +18,6 @@ right speaker. Lower rows play the sound louder than the higher ones. """ -from __future__ import annotations - import typing import arcade diff --git a/arcade/examples/sound_speed_demo.py b/arcade/examples/sound_speed_demo.py index f1b5828ea..9da91f9ee 100644 --- a/arcade/examples/sound_speed_demo.py +++ b/arcade/examples/sound_speed_demo.py @@ -14,8 +14,6 @@ the screen are quieter, while the ones further down are louder. """ -from __future__ import annotations - import typing import arcade diff --git a/arcade/examples/sprite_bouncing_coins.py b/arcade/examples/sprite_bouncing_coins.py index 374979c95..9264f8f68 100644 --- a/arcade/examples/sprite_bouncing_coins.py +++ b/arcade/examples/sprite_bouncing_coins.py @@ -10,8 +10,6 @@ python -m arcade.examples.sprite_bouncing_coins """ -from __future__ import annotations - import arcade import random diff --git a/arcade/examples/sprite_bullets.py b/arcade/examples/sprite_bullets.py index 8043c700f..d872ae984 100644 --- a/arcade/examples/sprite_bullets.py +++ b/arcade/examples/sprite_bullets.py @@ -8,8 +8,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sprite_bullets """ -from __future__ import annotations - import random import arcade diff --git a/arcade/examples/sprite_bullets_aimed.py b/arcade/examples/sprite_bullets_aimed.py index 0bf26d776..3d9dd8a6d 100644 --- a/arcade/examples/sprite_bullets_aimed.py +++ b/arcade/examples/sprite_bullets_aimed.py @@ -9,8 +9,6 @@ python -m arcade.examples.sprite_bullets_aimed """ -from __future__ import annotations - import random import arcade import math diff --git a/arcade/examples/sprite_bullets_enemy_aims.py b/arcade/examples/sprite_bullets_enemy_aims.py index 74a15d768..7bfcfafab 100644 --- a/arcade/examples/sprite_bullets_enemy_aims.py +++ b/arcade/examples/sprite_bullets_enemy_aims.py @@ -5,8 +5,6 @@ python -m arcade.examples.sprite_bullets_enemy_aims """ -from __future__ import annotations - import arcade import math diff --git a/arcade/examples/sprite_bullets_periodic.py b/arcade/examples/sprite_bullets_periodic.py index b85eb2882..0d8403b72 100644 --- a/arcade/examples/sprite_bullets_periodic.py +++ b/arcade/examples/sprite_bullets_periodic.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sprite_bullets_periodic """ -from __future__ import annotations - import arcade SCREEN_WIDTH = 800 diff --git a/arcade/examples/sprite_bullets_random.py b/arcade/examples/sprite_bullets_random.py index b675ed202..ea30fbc4b 100644 --- a/arcade/examples/sprite_bullets_random.py +++ b/arcade/examples/sprite_bullets_random.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sprite_bullets_random """ -from __future__ import annotations - import arcade import random diff --git a/arcade/examples/sprite_change_coins.py b/arcade/examples/sprite_change_coins.py index 802a2de61..ca7e94ac2 100644 --- a/arcade/examples/sprite_change_coins.py +++ b/arcade/examples/sprite_change_coins.py @@ -9,8 +9,6 @@ python -m arcade.examples.sprite_change_coins """ -from __future__ import annotations - import random import arcade diff --git a/arcade/examples/sprite_collect_coins.py b/arcade/examples/sprite_collect_coins.py index 143fe0162..44126099b 100644 --- a/arcade/examples/sprite_collect_coins.py +++ b/arcade/examples/sprite_collect_coins.py @@ -10,8 +10,6 @@ python -m arcade.examples.sprite_collect_coins """ -from __future__ import annotations - import random import arcade diff --git a/arcade/examples/sprite_collect_coins_background.py b/arcade/examples/sprite_collect_coins_background.py index 85566dbe9..0df3cbe2c 100644 --- a/arcade/examples/sprite_collect_coins_background.py +++ b/arcade/examples/sprite_collect_coins_background.py @@ -8,8 +8,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sprite_collect_coins_background """ -from __future__ import annotations - import random import arcade diff --git a/arcade/examples/sprite_collect_coins_diff_levels.py b/arcade/examples/sprite_collect_coins_diff_levels.py index 624041d29..61a57c9ca 100644 --- a/arcade/examples/sprite_collect_coins_diff_levels.py +++ b/arcade/examples/sprite_collect_coins_diff_levels.py @@ -9,8 +9,6 @@ python -m arcade.examples.sprite_collect_coins_diff_levels """ -from __future__ import annotations - import random import arcade diff --git a/arcade/examples/sprite_collect_coins_move_bouncing.py b/arcade/examples/sprite_collect_coins_move_bouncing.py index beb6c31b3..e2e99e81d 100644 --- a/arcade/examples/sprite_collect_coins_move_bouncing.py +++ b/arcade/examples/sprite_collect_coins_move_bouncing.py @@ -9,8 +9,6 @@ python -m arcade.examples.sprite_collect_coins_move_bouncing """ -from __future__ import annotations - import random import arcade diff --git a/arcade/examples/sprite_collect_coins_move_circle.py b/arcade/examples/sprite_collect_coins_move_circle.py index f41a2cf68..ab057d613 100644 --- a/arcade/examples/sprite_collect_coins_move_circle.py +++ b/arcade/examples/sprite_collect_coins_move_circle.py @@ -9,8 +9,6 @@ python -m arcade.examples.sprite_collect_coins_move_circle """ -from __future__ import annotations - import random import arcade import math diff --git a/arcade/examples/sprite_collect_coins_move_down.py b/arcade/examples/sprite_collect_coins_move_down.py index f4e88ac76..c5457fc22 100644 --- a/arcade/examples/sprite_collect_coins_move_down.py +++ b/arcade/examples/sprite_collect_coins_move_down.py @@ -9,8 +9,6 @@ python -m arcade.examples.sprite_collect_coins_move_down """ -from __future__ import annotations - import random import arcade diff --git a/arcade/examples/sprite_collect_rotating.py b/arcade/examples/sprite_collect_rotating.py index ac51239c1..4ffec2948 100644 --- a/arcade/examples/sprite_collect_rotating.py +++ b/arcade/examples/sprite_collect_rotating.py @@ -8,8 +8,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sprite_collect_rotating """ -from __future__ import annotations - import random import arcade diff --git a/arcade/examples/sprite_enemies_in_platformer.py b/arcade/examples/sprite_enemies_in_platformer.py index 392f39187..910007740 100644 --- a/arcade/examples/sprite_enemies_in_platformer.py +++ b/arcade/examples/sprite_enemies_in_platformer.py @@ -8,8 +8,6 @@ python -m arcade.examples.sprite_enemies_in_platformer """ -from __future__ import annotations - import arcade SPRITE_SCALING = 0.5 diff --git a/arcade/examples/sprite_explosion_bitmapped.py b/arcade/examples/sprite_explosion_bitmapped.py index 9decedac3..844953d14 100644 --- a/arcade/examples/sprite_explosion_bitmapped.py +++ b/arcade/examples/sprite_explosion_bitmapped.py @@ -9,8 +9,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sprite_explosion_bitmapped """ -from __future__ import annotations - import random import arcade diff --git a/arcade/examples/sprite_explosion_particles.py b/arcade/examples/sprite_explosion_particles.py index a266113f9..2b640db04 100644 --- a/arcade/examples/sprite_explosion_particles.py +++ b/arcade/examples/sprite_explosion_particles.py @@ -8,8 +8,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sprite_explosion_particles """ -from __future__ import annotations - import random import math import arcade diff --git a/arcade/examples/sprite_face_left_or_right.py b/arcade/examples/sprite_face_left_or_right.py index 5232486eb..24fc2dd64 100644 --- a/arcade/examples/sprite_face_left_or_right.py +++ b/arcade/examples/sprite_face_left_or_right.py @@ -10,8 +10,6 @@ python -m arcade.examples.sprite_face_left_or_right """ -from __future__ import annotations - import arcade SPRITE_SCALING = 0.5 diff --git a/arcade/examples/sprite_follow_simple.py b/arcade/examples/sprite_follow_simple.py index f5f23a7bb..d7ad31018 100644 --- a/arcade/examples/sprite_follow_simple.py +++ b/arcade/examples/sprite_follow_simple.py @@ -9,8 +9,6 @@ python -m arcade.examples.sprite_follow_simple """ -from __future__ import annotations - import random import arcade diff --git a/arcade/examples/sprite_follow_simple_2.py b/arcade/examples/sprite_follow_simple_2.py index 0d998d205..1cc5ffca6 100644 --- a/arcade/examples/sprite_follow_simple_2.py +++ b/arcade/examples/sprite_follow_simple_2.py @@ -11,8 +11,6 @@ python -m arcade.examples.sprite_follow_simple_2 """ -from __future__ import annotations - import random import arcade import math diff --git a/arcade/examples/sprite_health.py b/arcade/examples/sprite_health.py index 69892afc2..c1c8771da 100644 --- a/arcade/examples/sprite_health.py +++ b/arcade/examples/sprite_health.py @@ -6,8 +6,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sprite_health """ -from __future__ import annotations - import math from typing import Tuple diff --git a/arcade/examples/sprite_minimal.py b/arcade/examples/sprite_minimal.py index e0d5e270f..048a45955 100644 --- a/arcade/examples/sprite_minimal.py +++ b/arcade/examples/sprite_minimal.py @@ -6,8 +6,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sprite_minimal """ -from __future__ import annotations - import arcade diff --git a/arcade/examples/sprite_move_angle.py b/arcade/examples/sprite_move_angle.py index 6ee5339ec..b8133bd85 100644 --- a/arcade/examples/sprite_move_angle.py +++ b/arcade/examples/sprite_move_angle.py @@ -8,8 +8,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sprite_move_angle """ -from __future__ import annotations - import arcade import math diff --git a/arcade/examples/sprite_move_animation.py b/arcade/examples/sprite_move_animation.py index 9d28e467f..4d832b393 100644 --- a/arcade/examples/sprite_move_animation.py +++ b/arcade/examples/sprite_move_animation.py @@ -8,8 +8,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sprite_move_animation """ -from __future__ import annotations - import arcade import random diff --git a/arcade/examples/sprite_move_controller.py b/arcade/examples/sprite_move_controller.py index e911e1bd1..1904ed374 100644 --- a/arcade/examples/sprite_move_controller.py +++ b/arcade/examples/sprite_move_controller.py @@ -10,8 +10,6 @@ command line with: python -m arcade.examples.sprite_move_controller """ -from __future__ import annotations - import arcade SPRITE_SCALING = 0.5 diff --git a/arcade/examples/sprite_move_keyboard.py b/arcade/examples/sprite_move_keyboard.py index c1498f4c9..672902a58 100644 --- a/arcade/examples/sprite_move_keyboard.py +++ b/arcade/examples/sprite_move_keyboard.py @@ -11,8 +11,6 @@ python -m arcade.examples.sprite_move_keyboard """ -from __future__ import annotations - import arcade SPRITE_SCALING = 0.5 diff --git a/arcade/examples/sprite_move_keyboard_accel.py b/arcade/examples/sprite_move_keyboard_accel.py index 3e3e83fc7..cd0175d01 100644 --- a/arcade/examples/sprite_move_keyboard_accel.py +++ b/arcade/examples/sprite_move_keyboard_accel.py @@ -11,8 +11,6 @@ python -m arcade.examples.sprite_move_keyboard_accel """ -from __future__ import annotations - import arcade SPRITE_SCALING = 0.5 diff --git a/arcade/examples/sprite_move_keyboard_better.py b/arcade/examples/sprite_move_keyboard_better.py index b6834ca3b..db7e9fb40 100644 --- a/arcade/examples/sprite_move_keyboard_better.py +++ b/arcade/examples/sprite_move_keyboard_better.py @@ -11,8 +11,6 @@ python -m arcade.examples.sprite_move_keyboard_better """ -from __future__ import annotations - import arcade SPRITE_SCALING = 0.5 diff --git a/arcade/examples/sprite_move_scrolling.py b/arcade/examples/sprite_move_scrolling.py index 76489f63b..4f661e6c1 100644 --- a/arcade/examples/sprite_move_scrolling.py +++ b/arcade/examples/sprite_move_scrolling.py @@ -7,8 +7,6 @@ python -m arcade.examples.sprite_move_scrolling """ -from __future__ import annotations - import random import arcade from pyglet.math import Vec2 diff --git a/arcade/examples/sprite_move_scrolling_box.py b/arcade/examples/sprite_move_scrolling_box.py index c8d2f98c0..1baf848ad 100644 --- a/arcade/examples/sprite_move_scrolling_box.py +++ b/arcade/examples/sprite_move_scrolling_box.py @@ -7,8 +7,6 @@ python -m arcade.examples.sprite_move_scrolling_box """ -from __future__ import annotations - import random import arcade diff --git a/arcade/examples/sprite_move_scrolling_shake.py b/arcade/examples/sprite_move_scrolling_shake.py index 0c0d46724..d1778fd2d 100644 --- a/arcade/examples/sprite_move_scrolling_shake.py +++ b/arcade/examples/sprite_move_scrolling_shake.py @@ -7,8 +7,6 @@ python -m arcade.examples.sprite_move_scrolling_shake """ -from __future__ import annotations - import random import math import arcade diff --git a/arcade/examples/sprite_move_walls.py b/arcade/examples/sprite_move_walls.py index 669f1a39e..51fa04cea 100644 --- a/arcade/examples/sprite_move_walls.py +++ b/arcade/examples/sprite_move_walls.py @@ -9,8 +9,6 @@ python -m arcade.examples.sprite_move_walls """ -from __future__ import annotations - import arcade SPRITE_SCALING = 0.5 diff --git a/arcade/examples/sprite_moving_platforms.py b/arcade/examples/sprite_moving_platforms.py index 618002262..11606f8f6 100644 --- a/arcade/examples/sprite_moving_platforms.py +++ b/arcade/examples/sprite_moving_platforms.py @@ -6,8 +6,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sprite_moving_platforms """ -from __future__ import annotations - import arcade from pyglet.math import Vec2 diff --git a/arcade/examples/sprite_no_coins_on_walls.py b/arcade/examples/sprite_no_coins_on_walls.py index 561296b6f..dc029c257 100644 --- a/arcade/examples/sprite_no_coins_on_walls.py +++ b/arcade/examples/sprite_no_coins_on_walls.py @@ -9,8 +9,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sprite_no_coins_on_walls """ -from __future__ import annotations - import arcade import random diff --git a/arcade/examples/sprite_properties.py b/arcade/examples/sprite_properties.py index b7afcdc26..9e887244a 100644 --- a/arcade/examples/sprite_properties.py +++ b/arcade/examples/sprite_properties.py @@ -8,8 +8,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sprite_properties """ -from __future__ import annotations - import arcade # --- Constants --- diff --git a/arcade/examples/sprite_rooms.py b/arcade/examples/sprite_rooms.py index 6c28917dc..8b81880b7 100644 --- a/arcade/examples/sprite_rooms.py +++ b/arcade/examples/sprite_rooms.py @@ -6,8 +6,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sprite_rooms """ -from __future__ import annotations - import arcade SPRITE_SCALING = 0.5 diff --git a/arcade/examples/sprite_rotate_around_point.py b/arcade/examples/sprite_rotate_around_point.py index 3c9c02144..524018d91 100644 --- a/arcade/examples/sprite_rotate_around_point.py +++ b/arcade/examples/sprite_rotate_around_point.py @@ -9,8 +9,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sprite_rotate_around_point """ -from __future__ import annotations - import arcade from arcade.math import rotate_point diff --git a/arcade/examples/sprite_rotate_around_tank.py b/arcade/examples/sprite_rotate_around_tank.py index c3e7f15ba..eea0c8bc6 100644 --- a/arcade/examples/sprite_rotate_around_tank.py +++ b/arcade/examples/sprite_rotate_around_tank.py @@ -21,8 +21,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sprite_rotate_around_tank """ -from __future__ import annotations - import math import arcade from arcade.types import Point diff --git a/arcade/examples/sprite_tiled_map.py b/arcade/examples/sprite_tiled_map.py index 7f83b3844..0761c38a5 100644 --- a/arcade/examples/sprite_tiled_map.py +++ b/arcade/examples/sprite_tiled_map.py @@ -8,8 +8,6 @@ python -m arcade.examples.sprite_tiled_map """ -from __future__ import annotations - import time import arcade diff --git a/arcade/examples/sprite_tiled_map_with_levels.py b/arcade/examples/sprite_tiled_map_with_levels.py index d5ad29099..be6a34d00 100644 --- a/arcade/examples/sprite_tiled_map_with_levels.py +++ b/arcade/examples/sprite_tiled_map_with_levels.py @@ -7,8 +7,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.sprite_tiled_map_with_levels """ -from __future__ import annotations - import time import arcade diff --git a/arcade/examples/starting_template.py b/arcade/examples/starting_template.py index 66a4c2875..d0e20388a 100644 --- a/arcade/examples/starting_template.py +++ b/arcade/examples/starting_template.py @@ -7,8 +7,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.starting_template """ -from __future__ import annotations - import arcade SCREEN_WIDTH = 800 diff --git a/arcade/examples/template_platformer.py b/arcade/examples/template_platformer.py index b1c98332d..35a4a165e 100644 --- a/arcade/examples/template_platformer.py +++ b/arcade/examples/template_platformer.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.template_platformer """ -from __future__ import annotations - import arcade # --- Constants diff --git a/arcade/examples/tetris.py b/arcade/examples/tetris.py index df46528a8..36158de9e 100644 --- a/arcade/examples/tetris.py +++ b/arcade/examples/tetris.py @@ -7,8 +7,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.tetris """ -from __future__ import annotations - # flake8: noqa: E241 import arcade import random diff --git a/arcade/examples/text_loc_example_done.py b/arcade/examples/text_loc_example_done.py index 14dbe984c..f609ab6fd 100644 --- a/arcade/examples/text_loc_example_done.py +++ b/arcade/examples/text_loc_example_done.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.text_loc_example_done """ -from __future__ import annotations - import arcade import gettext diff --git a/arcade/examples/text_loc_example_start.py b/arcade/examples/text_loc_example_start.py index 39b9a4fa0..0a146c265 100644 --- a/arcade/examples/text_loc_example_start.py +++ b/arcade/examples/text_loc_example_start.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.text_loc_example_start """ -from __future__ import annotations - import arcade SCREEN_WIDTH = 500 diff --git a/arcade/examples/timer.py b/arcade/examples/timer.py index b180da209..3f2b8fa56 100644 --- a/arcade/examples/timer.py +++ b/arcade/examples/timer.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.timer """ -from __future__ import annotations - import arcade SCREEN_WIDTH = 800 diff --git a/arcade/examples/transform_feedback.py b/arcade/examples/transform_feedback.py index 9b7a5454b..b4ce242c0 100644 --- a/arcade/examples/transform_feedback.py +++ b/arcade/examples/transform_feedback.py @@ -18,8 +18,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.transform_feedback """ -from __future__ import annotations - from array import array import math import time diff --git a/arcade/examples/transitions.py b/arcade/examples/transitions.py index 5226714be..b4907ca7b 100644 --- a/arcade/examples/transitions.py +++ b/arcade/examples/transitions.py @@ -4,8 +4,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.transitions """ -from __future__ import annotations - import arcade WIDTH = 800 diff --git a/arcade/examples/turn_and_move.py b/arcade/examples/turn_and_move.py index 5d64608e2..1cfb94fe7 100644 --- a/arcade/examples/turn_and_move.py +++ b/arcade/examples/turn_and_move.py @@ -6,8 +6,6 @@ If Python and Arcade are installed, this example can be run from the command line with: python -m arcade.examples.turn_and_move """ -from __future__ import annotations - import math import arcade diff --git a/arcade/examples/view_instructions_and_game_over.py b/arcade/examples/view_instructions_and_game_over.py index 6d901b4b4..f0d82dd1a 100644 --- a/arcade/examples/view_instructions_and_game_over.py +++ b/arcade/examples/view_instructions_and_game_over.py @@ -18,8 +18,6 @@ python -m arcade.examples.view_instructions_and_game_over """ -from __future__ import annotations - import arcade import random diff --git a/arcade/examples/view_pause_screen.py b/arcade/examples/view_pause_screen.py index 64337dcf7..5012862b5 100644 --- a/arcade/examples/view_pause_screen.py +++ b/arcade/examples/view_pause_screen.py @@ -11,8 +11,6 @@ python -m arcade.examples.view_pause_screen """ -from __future__ import annotations - import arcade WIDTH = 800 diff --git a/arcade/examples/view_screens_minimal.py b/arcade/examples/view_screens_minimal.py index 6e61d88fe..2f8d1035c 100644 --- a/arcade/examples/view_screens_minimal.py +++ b/arcade/examples/view_screens_minimal.py @@ -17,8 +17,6 @@ class makes it easy to separate the code for each screen into python -m arcade.examples.view_screens_minimal """ -from __future__ import annotations - import arcade