Skip to content

Commit

Permalink
Adding eth-typing dependency and enabling type hiting
Browse files Browse the repository at this point in the history
* Fixes first part of ethereum#69
TODO: Add all missing type hints
  • Loading branch information
6ug committed Oct 19, 2018
1 parent 5cd74f8 commit a236489
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,14 @@
install_requires=[
"eth-hash>=0.1.0,<1.0.0",
"eth-utils>=1.3.0,<2.0.0",
"eth-typing>=2.0.0,<3",
"rlp>=0.4.7,<2.0.0",
],
license="MIT",
zip_safe=False,
keywords='ethereum blockchain evm trie merkle',
packages=find_packages(exclude=["tests", "tests.*"]),
package_data={'trie': ['py.typed']},
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ basepython =
[testenv:lint]
basepython=python
deps=flake8
commands=flake8 {toxinidir}/trie {toxinidir}/tests
commands=
flake8 {toxinidir}/trie {toxinidir}/tests
mypy --follow-imports=silent --warn-unused-ignores --ignore-missing-imports --no-strict-optional --check-untyped-defs --disallow-incomplete-defs --disallow-untyped-defs --disallow-any-generics -p py-trie
Empty file added trie/py.typed
Empty file.

0 comments on commit a236489

Please sign in to comment.