diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2019-01-15 19:48:56 +0100 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2019-01-15 19:58:11 +0100 |
commit | 04215eb328de23151ef1e3572b7a16a9f4efa1a2 (patch) | |
tree | 3952f1bd5c43e4389904e246f10e0431f9082a83 /test/functional/README.md | |
parent | eb2aecfb80662a91c649ea1455d9812ced05c323 (diff) |
[doc] explain what .python-version does
Diffstat (limited to 'test/functional/README.md')
-rw-r--r-- | test/functional/README.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/README.md b/test/functional/README.md index d40052ac93..bce0d5db2e 100644 --- a/test/functional/README.md +++ b/test/functional/README.md @@ -20,6 +20,10 @@ don't have test cases for. - Where possible, try to adhere to [PEP-8 guidelines](https://www.python.org/dev/peps/pep-0008/) - Use a python linter like flake8 before submitting PRs to catch common style nits (eg trailing whitespace, unused imports, etc) +- The oldest supported Python version is specified in [doc/dependencies.md](/doc/dependencies.md). + Consider using [pyenv](https://github.com/pyenv/pyenv), which checks [.python-version](/.python-version), + to prevent accidentally introducing modern syntax from an unsupported Python version. + The Travis linter also checks this, but [possibly not in all cases](https://github.com/bitcoin/bitcoin/pull/14884#discussion_r239585126). - See [the python lint script](/test/lint/lint-python.sh) that checks for violations that could lead to bugs and issues in the test code. - Avoid wildcard imports where possible |