Commit Graph

77 Commits

Author SHA1 Message Date
121c1d0afc add interop tests, but not turned on 2024-03-02 11:50:40 -07:00
94483714a3 run lint and fix errors, except mypy 2024-02-19 16:05:58 -07:00
42605c0288 merge template updates and refill vars 2024-02-19 14:49:30 -07:00
bdd1a342d9 add docs build path for ci to check pdf and epub 2024-01-31 16:20:42 -07:00
2eff6f8be8 update windows wheel ci jobs to use pyenv, add py312 job 2024-01-31 11:13:12 -07:00
b853f5ccdf add py312 support 2024-01-31 11:13:12 -07:00
8ffe3b8900 Update tox.ini
Add `pre-commit install` here since it was removed from ci config
2024-01-12 15:03:07 -07:00
885bef7b5e condense tox lint envs as linting now a pre-commit call, not tox 2023-10-27 12:40:23 -06:00
86440ee879 add autoflake to lint and move config to pyproject.toml 2023-10-12 12:11:12 -06:00
82425694f6 drop py37 support (#104) 2023-10-04 15:36:57 -06:00
7099bbaaa4 Add pre commit (#103)
* add pre-commit

* run pre-commit

* skip lint on README.md as it breaks template filling
2023-10-04 13:32:07 -06:00
4245675648 ignore flake8 F401 errors in __init__.py files 2023-09-14 14:25:14 -06:00
23a192f62c change references to doc to all be docs 2023-05-03 14:20:55 -06:00
484b6b55cd Template updates post ssz and ethabi (#82)
* add updates found when merging template with py-ssz and eth-abi

* add wheel and wheel-windows to ci and reorg
2023-05-01 15:19:15 -06:00
68d37fa50f repin flake8 and misc updates (#79)
* repin flake8, bump tox to >=4.0.0 as that's where whitelist was deprecated, misc updates
2023-05-01 15:19:14 -06:00
ffd6ad8b9f Various template default updates (#74)
* bump versions in dependencies and ci builds

* move tox to [dev] per issue #34

* move RTD deps pointer into .readthedocs.yml

* unpin flake8 add flake8-bugbear to lint deps
2023-05-01 15:19:13 -06:00
642ae9627c Update isort CLI commands (#72) 2022-12-09 11:25:55 -07:00
7b0bc76f6f Add Python 3.11, add more black checks, remove upper pins (#69) 2022-11-09 11:11:28 -07:00
94eacb9c30 A couple extra tweaks for black support 2022-09-22 13:38:32 -07:00
8a4cb1d938 Upgrade isort to v5 for black support 2022-09-22 13:38:20 -07:00
99af2f4d53 Misc Updates (#65)
* Tweaks to release process

* Drop python 3.6
2022-09-19 14:35:39 -06:00
c6f13bfd94 Show full explanation for pydocstyle failures 2022-05-18 12:19:24 -07:00
d21d58250b Add python 3.10 support 2021-11-19 13:48:19 -07:00
fcb5577fa1 Add python 3.9 support 2021-11-19 13:43:36 -07:00
765b2e4414 Add python3.8 support 2021-11-19 13:43:20 -07:00
d74a5e2bd8 Latest mypy refuses package with file path 2020-09-02 15:54:34 -07:00
f4c545ed68 isort: add noise to 3rd party config 2020-02-15 12:18:44 +08:00
f1dbd52d67 Merge branch 'master' into feature/trio 2020-02-06 10:39:54 +08:00
4db043a26a Remove pexpect from tox 2020-01-07 16:23:00 +08:00
fe4354d377 Fix tests_interop
- Remove pexpect
- Use new version of `p2pclient`, which makes use of anyio
- Clean up tests
2020-01-07 14:14:34 +08:00
a08e749150 add lru to known_third_parties 2019-12-21 12:56:44 +01:00
3b9d7c7acd Apply PR feedback 2019-12-10 17:20:41 -08:00
4c0f511516 Add py36 tox env for testing 2019-12-02 16:33:32 -08:00
d589daf00d Fill in template variables 2019-11-26 13:33:57 -08:00
d1b5a56ccf Match linting rules after merging in template 2019-11-26 13:33:08 -08:00
27da312285 Splice in project template
I tried to merge it so that future updates from the template will be
much easier.

The template is hosted at:
https://github.com/ethereum/ethereum-python-project-template
2019-11-26 13:30:41 -08:00
02fe35663c Setup towncrier to generate release notes 2019-11-25 21:44:29 +01:00
3439a2c10e Add docformatter to lintroll and tox CI check 2019-10-26 12:45:26 +02:00
61cd5e5659 Show diff on incorrectly sorted imports 2019-10-24 09:16:49 +02:00
1bfc6b41e4 Add pexpect in isort third party 2019-09-24 12:18:31 +08:00
d1c25b8b1e Fix interop pubsub tests and PR feedback
- Use `from_id`, the changed field name in `PSMessage`.
- PR feedbacks
        - Add label `test` in `testenv` in tox.ini, to avoid wrong
dispatching an environment's command in the future.
        - Use `pytest` over `py.test`.
2019-09-24 11:30:52 +08:00
19c17dd512 Remove the leftover test in testenv commands
To make `tox -e py37-interop` run.
2019-09-23 22:10:47 +08:00
006002f687 Move interop tests out of tests
It is moved to the top level package `tests_interop`, to avoid circular
dependency, with the dependency moved to `tox`.
2019-09-23 22:00:40 +08:00
b23bf5d704 Avoid isort sorting the import wrong 2019-09-03 23:00:31 +08:00
b726d7c9da Add tox and CI for interop 2019-08-28 23:39:33 +08:00
9bff7b8ebf Remove code coverage check from CI 2019-08-13 21:25:22 -07:00
87375e0f23 Use the default line length for black ('no configuration')
and update `isort` to a stable configuration given the black line length
2019-08-13 14:36:05 -07:00
28f6de37ee Fix the rest of the typing hints (#232)
* ignore kad

* fix swarm, and minor

* fix init and swarm

* ignore pb

* enable mypy

* fix basic host

* fix tcp

* fix mplex

* add typing for pb

* skip format pyi

* [mypy] no need to ignore pb now

* add typing to chat
2019-08-11 16:47:54 +08:00
a20c172480 update isort line length 2019-08-04 12:37:41 +08:00
905dfa9a8d Remove dependence on make in tox CI run 2019-08-04 12:37:41 +08:00