From ab8c6263ac3e85672d45933060356b60ca472e42 Mon Sep 17 00:00:00 2001 From: antazoey Date: Tue, 12 Sep 2023 07:43:44 -0500 Subject: [PATCH] chore: template related updates [APE-1369] (#39) --- .pre-commit-config.yaml | 8 ++++---- CONTRIBUTING.md | 2 +- README.md | 4 ++++ setup.py | 4 ++-- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 83b2d65..9cc7305 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,24 +10,24 @@ repos: - id: isort - repo: https://github.com/psf/black - rev: 23.3.0 + rev: 23.9.1 hooks: - id: black name: black - repo: https://github.com/pycqa/flake8 - rev: 6.0.0 + rev: 6.1.0 hooks: - id: flake8 - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.991 + rev: v1.5.1 hooks: - id: mypy additional_dependencies: [types-setuptools, pydantic] - repo: https://github.com/executablebooks/mdformat - rev: 0.7.14 + rev: 0.7.17 hooks: - id: mdformat additional_dependencies: [mdformat-gfm, mdformat-frontmatter] diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index dd176db..a7c8e3f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -69,4 +69,4 @@ A pull request represents the start of a discussion, and doesn't necessarily nee If you are opening a work-in-progress pull request to verify that it passes CI tests, please consider [marking it as a draft](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests#draft-pull-requests). -Join the Ethereum Python [Discord](https://discord.gg/PcEJ54yX) if you have any questions. +Join the ApeWorX [Discord](https://discord.gg/apeworx) if you have any questions. diff --git a/README.md b/README.md index ed09b9c..20258bc 100644 --- a/README.md +++ b/README.md @@ -49,3 +49,7 @@ class Mail(EIP712Message): sender: Person receiver: Person ``` + +# Initialize a Person object as you would normally + +person = Person(name="Joe", wallet="0xa27CEF8aF2B6575903b676e5644657FAe96F491F") diff --git a/setup.py b/setup.py index 905f47c..e9024d6 100644 --- a/setup.py +++ b/setup.py @@ -10,8 +10,8 @@ "hypothesis>=6.70.0,<7", # Strategy-based fuzzer ], "lint": [ - "black>=23.1.0,<24", # auto-formatter and linter - "mypy>=1.1.1,<2", # Static type analyzer + "black>=23.7.0,<24", # auto-formatter and linter + "mypy>=1.5.1,<2", # Static type analyzer "types-setuptools", # Needed for mypy type shed "flake8>=6.0.0,<7", # Style linter "isort>=5.12.0,<6", # Import sorting linter