diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5c8001f..6757fe2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,6 +19,7 @@ repos: rev: 7.1.1 hooks: - id: flake8 + additional_dependencies: [flake8-breakpoint, flake8-print, flake8-pydantic, flake8-type-checking] - repo: https://github.com/pre-commit/mirrors-mypy rev: v1.13.0 @@ -27,7 +28,7 @@ repos: additional_dependencies: [types-PyYAML, types-requests, pydantic, types-setuptools] - repo: https://github.com/executablebooks/mdformat - rev: 0.7.18 + rev: 0.7.19 hooks: - id: mdformat additional_dependencies: [mdformat-gfm, mdformat-frontmatter, mdformat-pyproject] diff --git a/ape_alchemy/__init__.py b/ape_alchemy/__init__.py index 714c211..17b3ad8 100644 --- a/ape_alchemy/__init__.py +++ b/ape_alchemy/__init__.py @@ -23,3 +23,9 @@ def __getattr__(name: str): return Alchemy raise AttributeError(name) + + +__all__ = [ + "NETWORKS", + "Alchemy", +] diff --git a/setup.py b/setup.py index 2eac2dc..69027c0 100644 --- a/setup.py +++ b/setup.py @@ -25,11 +25,13 @@ "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 "mdformat-frontmatter>=0.4.1", # Needed for frontmatters-style headers in issue templates - "mdformat-pyproject>=0.0.1", # Allows configuring in pyproject.toml + "mdformat-pyproject>=0.0.2", # Allows configuring in pyproject.toml ], "doc": [ "sphinx-ape",