From b2163d34316b4a070a3945028265c37680eed2db Mon Sep 17 00:00:00 2001 From: slush Date: Thu, 21 Nov 2024 11:39:11 -0600 Subject: [PATCH] fix: adds __all__ to init and flake8 plugins to deps (#31) --- ape_bsc/__init__.py | 7 +++++++ setup.py | 2 ++ 2 files changed, 9 insertions(+) diff --git a/ape_bsc/__init__.py b/ape_bsc/__init__.py index 9ad4eef..6e4be03 100644 --- a/ape_bsc/__init__.py +++ b/ape_bsc/__init__.py @@ -52,3 +52,10 @@ def __getattr__(name: str): import ape_bsc.ecosystem as module return getattr(module, name) + + +__all__ = [ + "NETWORKS", + "BSC", + "BSCConfig", +] diff --git a/setup.py b/setup.py index 4674982..b16a0e1 100644 --- a/setup.py +++ b/setup.py @@ -16,6 +16,8 @@ "flake8>=7.1.1,<8", # Style linter "flake8-breakpoint>=1.1.0,<2", # Detect breakpoints left in code "flake8-print>=5.0.0,<6", # Detect print statements left in code + "flake8-pydantic", # For detecting issues with Pydantic models + "flake8-type-checking", # Detect imports to move in/out of type-checking blocks "isort>=5.13.2,<6", # Import sorting linter "mdformat>=0.7.18", # Auto-formatter for markdown "mdformat-gfm>=0.3.5", # Needed for formatting GitHub-flavored markdown