From 4a9a422fc29f1284a960bd166f119352338a6e24 Mon Sep 17 00:00:00 2001 From: "Yi Yang @ Anteros" Date: Mon, 20 Nov 2023 00:39:37 +0800 Subject: [PATCH] (flake8) fix some flake8 warnings --- agrf/split_action/__init__.py | 2 ++ industry/industries/fruit_plantation.py | 1 - industry/industries/rubber_plantation.py | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/agrf/split_action/__init__.py b/agrf/split_action/__init__.py index 9adeb4f0..1a32c5f9 100644 --- a/agrf/split_action/__init__.py +++ b/agrf/split_action/__init__.py @@ -1,2 +1,4 @@ from .split_definition import SplitDefinition from .meta_sprite_mixin import MetaSpriteMixin + +__all__ = tuple(k for k in locals() if not k.startswith("_")) diff --git a/industry/industries/fruit_plantation.py b/industry/industries/fruit_plantation.py index 61c7fd64..a0f9f6f8 100644 --- a/industry/industries/fruit_plantation.py +++ b/industry/industries/fruit_plantation.py @@ -1,4 +1,3 @@ -import grf from industry.lib.industry import AIndustry diff --git a/industry/industries/rubber_plantation.py b/industry/industries/rubber_plantation.py index bc4baf66..65fa4d74 100644 --- a/industry/industries/rubber_plantation.py +++ b/industry/industries/rubber_plantation.py @@ -1,4 +1,3 @@ -import grf from industry.lib.industry import AIndustry