Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.0.25 #97

Merged
merged 3 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions example/types/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,9 @@
DO NOT EDIT. This file was generated by pypechain. See documentation at
https://github.com/delvtech/pypechain"""

# python 3.10 causes this warning when sibling/child files import from one of the files listed here.
# remove this pylint diable when we upgreade to 3.11
# pylint: disable=import-self

from .ExampleContract import *
from .ExampleTypes import *
4 changes: 4 additions & 0 deletions pypechain/templates/init.py.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
DO NOT EDIT. This file was generated by pypechain. See documentation at
https://github.com/delvtech/pypechain"""

# python 3.10 causes this warning when sibling/child files import from one of the files listed here.
# remove this pylint diable when we upgreade to 3.11
# pylint: disable=import-self

{% for name in file_names -%}
from .{{name}} import *
{% endfor %}
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]

name = "pypechain"
version = "0.0.24"
version = "0.0.25"
authors = [
{ name = "Matthew Brown", email = "matt@delv.tech" },
{ name = "Dylan Paiton", email = "dylan@delv.tech" },
Expand All @@ -10,7 +10,7 @@ authors = [
]
description = "Codegen python interfaces for web3.py contracts."
readme = "README.md"
requires-python = ">=3.11"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
Expand Down
4 changes: 4 additions & 0 deletions snapshots/expected_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
DO NOT EDIT. This file was generated by pypechain. See documentation at
https://github.com/delvtech/pypechain"""

# python 3.10 causes this warning when sibling/child files import from one of the files listed here.
# remove this pylint diable when we upgreade to 3.11
# pylint: disable=import-self

from .ContractFile1 import *
from .ContractFile2 import *
from .ContractFile3 import *
Loading