Skip to content

Commit

Permalink
Formatting and flake8 config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
zaxhutchinson committed Aug 21, 2024
1 parent 39e7bf0 commit 7819e3a
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 21 deletions.
1 change: 0 additions & 1 deletion comp.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import copy
import action

CTYPES_LIST = ["FixedGun", "Engine", "Radar", "CnC", "Radio", "Arm"]
Expand Down
5 changes: 3 additions & 2 deletions flake8_config.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[flake8]
exclude = .git,__pycache__,old_code,old_settings,teams,docs,log,images,settings,README.md,LICENSE
extend-ignore = F405,F403,F401,E722,E266,F541,W503
# extend-ignore = F405,F403,F401,E722,E266,F541,W503
ignore = BLK100,W503
max-line-length = 127
count = True
select = E9,F63,F7,F82
# select = E9,F63,F7,F82
show-source = True
statistics = True
1 change: 0 additions & 1 deletion item.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import copy


class Item:
Expand Down
1 change: 0 additions & 1 deletion loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import map
import item
import comp
import goal
import team


Expand Down
5 changes: 0 additions & 5 deletions sim.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import importlib.util
import random
import time
import uuid

import obj
import zmath
import msgs
import valid
Expand All @@ -23,7 +19,6 @@ def __init__(
):
"""Initializes default sim values and an empty action dispatch table"""
self.ldr = ldr

self.logger = logger
self.map_template = map_template
self.map = None
Expand Down
5 changes: 0 additions & 5 deletions team.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import copy
import logging

import trigger
from old_code import agent
import uuid
import random


class Team:
Expand Down
1 change: 0 additions & 1 deletion ui_homepage.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import tkinter as tk
import queue
from PIL import ImageTk, Image
import sim
import loader
import msgs
import ui_widgets as uiw
Expand Down
2 changes: 0 additions & 2 deletions ui_setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import tkinter as tk
import queue
import sim
import loader
import ui_sim
import msgs
import zexceptions
import ui_widgets as uiw
Expand Down
3 changes: 0 additions & 3 deletions ui_sim.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@
# The main UI element for a simulation in progress.
##############################################################################
import tkinter as tk
import queue

import msgs
import ui_scoreboard

import ui_widgets as uiw

# The default delay between turns. This value is used by
Expand Down

0 comments on commit 7819e3a

Please sign in to comment.