Commit Graph

9 Commits

Author SHA1 Message Date
dustinface
7d11d54f89
plotting: Enable isort (#11135) 2022-04-21 17:00:00 -07:00
dustinface
ee3bf4f866
farmer: Enable isort (#11128) 2022-04-20 11:37:46 -07:00
dustinface
38cc36ca5f
harvester: Enable isort (#11127) 2022-04-20 11:37:05 -07:00
dustinface
79cbadf987
streamable: Enable isort + more mypy (#10539)
* isort: Fix `streamable.py` and `test_streamable.py`

* mypy: Drop `streamable.py` and `test_streamable.py` form exclusion

And fix all the mypy issues.

* Fix `pylint`

* Introduce `ParseFunctionType` and `StreamFunctionType`

* Use `object` instead of `Type[Any]` for `is_type_*` functions

* Some `Any` -> `object`

* Use `typing.overload` for `recurse_jsonify`

* Move some comments

* Drop `Union`, use `Literal` properly

* Explicitly ignore the return of `f_type.parse`

Co-authored-by: Kyle Altendorf <sda@fstab.net>

* Merge two `recurse_jsonify` overloads

* Typing for the base definition of `recurse_jsonify`

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-04-20 11:09:41 -07:00
dustinface
0917d0ae78
wallet: Drop puzzles/genesis_checkers.py and related puzzles (#10790)
Its all duplicated code and puzzles as far as i can tell, see 
`chia/wallet/puzzles/tails.py`.
2022-04-07 09:19:37 -07:00
Kyle Altendorf
a17e5fc100
Split full node tests directory for parallelism (#10108)
* Split full node tests directory for parallelism

* reduce full node job timeout to 40, duplicate config to new directory

* rebuild workflows

* add missing __init__.py

* update some imports

* oops

* isort

* Revert "isort"

This reverts commit 03d8360342.

* update isort exclude list
2022-02-18 07:51:52 -08:00
dustinface
98971de9d5
pre-commit: Add a new hook to run isort (#8827)
* pre-commit: Add a new hook to run `isort`

* contributing: Add hint about `isort`

* add isort to dev deps, ignore existing .py files, use black profile

* long list to lines not comma delimited

* isort: Update and sort ignore list to match latest `main`

* add bash command line to generate isort extend skip list (#3)

* add bash command line to generate extend skip list

* tidy

* isort: More files to ignore after rebase

* tests: Fix `test_wallet_user_store.py` after rebase

* Some fixes after rebase

Co-authored-by: Kyle Altendorf <sda@fstab.net>
2022-02-15 07:28:53 -08:00
Kyle Altendorf
2a6564c0a7
move all linter config to the root (#9830)
This reduces duplication, symlinks, and makes the configurations
available by default for the linting tools.
2022-01-19 11:38:11 -08:00
Gene Hoffman
b5ce8c9e66
Isort take 3 (#1213)
* isort in a black friendly way

* isort but debug superlinter later
2021-03-09 18:27:27 -08:00