File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ don't have test cases for.
20
20
- Where possible, try to adhere to [ PEP-8 guidelines] ( https://www.python.org/dev/peps/pep-0008/ )
21
21
- Use a python linter like flake8 before submitting PRs to catch common style
22
22
nits (eg trailing whitespace, unused imports, etc)
23
+ - The oldest supported Python version is specified in [ doc/dependencies.md] ( /doc/dependencies.md ) .
24
+ Consider using [ pyenv] ( https://github.com/pyenv/pyenv ) , which checks [ .python-version] ( /.python-version ) ,
25
+ to prevent accidentally introducing modern syntax from an unsupported Python version.
26
+ The Travis linter also checks this, but [ possibly not in all cases] ( https://github.com/bitcoin/bitcoin/pull/14884#discussion_r239585126 ) .
23
27
- See [ the python lint script] ( /test/lint/lint-python.sh ) that checks for violations that
24
28
could lead to bugs and issues in the test code.
25
29
- Avoid wildcard imports where possible
You can’t perform that action at this time.
0 commit comments