docs: Specify preferred Python string formatting technique
This commit is contained in:
parent
8c36432791
commit
b1b8863fd6
1 changed files with 1 additions and 0 deletions
|
@ -28,6 +28,7 @@ don't have test cases for.
|
||||||
- When subclassing the BitcoinTestFramwork, place overrides for the
|
- When subclassing the BitcoinTestFramwork, place overrides for the
|
||||||
`set_test_params()`, `add_options()` and `setup_xxxx()` methods at the top of
|
`set_test_params()`, `add_options()` and `setup_xxxx()` methods at the top of
|
||||||
the subclass, then locally-defined helper methods, then the `run_test()` method.
|
the subclass, then locally-defined helper methods, then the `run_test()` method.
|
||||||
|
- Use `'{}'.format(x)` for string formatting, not `'%s' % x`.
|
||||||
|
|
||||||
#### Naming guidelines
|
#### Naming guidelines
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue