forked from dashpay/dash
-
Notifications
You must be signed in to change notification settings - Fork 718
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #2877: [Tests][Scripts] Bump Python version to 3.8 and add more…
… linting c340533 Bump python version to 3.8 (Fuzzbawls) 17bc5bf tests: remove redundant function (Fuzzbawls) ec22835 scripted-diff: test: Use py3.5 bytes::hex() method (Fuzzbawls) 139ae9d lint: more python linting (Fuzzbawls) c757ce3 scripts: clean github-merge.py and symbol-check.py (Fuzzbawls) 6f822ae scripts: additional E275 fixups (Fuzzbawls) 07d1c56 scripted-diff: test: Remove brackets after assert (Fuzzbawls) ef83f5b tests: Avoid using mutable default parameter values (Fuzzbawls) 77b42a2 Lint: enable mypy linting for python files (Fuzzbawls) 19862fd scripts: exclude wallet_bumpfee.py from linting (Fuzzbawls) 8c0dd38 scripts: remove outdated python3 workaround in scrypt.py (Fuzzbawls) 5619891 scripts: remove NONFATAL from security-check.py (fanquake) 457f2a8 scripts: no-longer check for 32 bit windows in security-check.py (fanquake) 036ab88 tests: add type hints to the test framework's script.py (Fuzzbawls) a560910 Strictly enforce instance attrs in critical functional test classes. (Justin Turner Arthur) f46217b test: Remove python3.4 workaround in feature_dbcrash (MarcoFalke) Pull request description: This PR offers a bit of an overhaul to our python test suite and python standards. The high level information is that we: - migrate from the EOL'd Python 3.5 to a more recent version (3.8) - strip out some ancient workaround code that is no longer necessary - add new linters that will provide an early warning if new python code is not up to standards The bulk of the changes here are via scripted-diff commits, or adapted cherry-picks from upstream. ACKs for top commit: Liquid369: ACK c340533 panleone: re tACK c340533 Tree-SHA512: 12ec442232fa0cc40b377844105792144862943ead7a0803754bf36eb4def6307aeb91753c4c6e386f7610cf9b5a76e82ac3b982a4e24be56468b8707135b49e
- Loading branch information
Showing
66 changed files
with
693 additions
and
513 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.5.6 | ||
3.8.16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.