1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 07:47:14 +03:00

Contributing: fstrings are mandatory, not only preferred

Legacy code aside....
This commit is contained in:
Athanasius 2021-06-07 12:32:12 +01:00
parent e548dce4d8
commit f7272ee445

View File

@ -378,7 +378,7 @@ In addition to that we utilise one of the user-defined levels as:
---
## Prefer fstrings to modulo-formatting and .format
## Use fstrings, not modulo-formatting or .format
[fstrings](https://www.python.org/dev/peps/pep-0498/) are new in python 3.6, and allow for string interpolation rather
than more opaque formatting calls.