A flake8 plugin to ban f-strings
A flake8 plugin to ban f-string.
This can be useful in code bases where packages are shared between two different python versions, one of which does not support f-strings.
Install from pip with:
python -m pip install flake8-no-fstring
Python 3.6 to 3.8 supported.
When installed it will automatically be run as part of flake8; you can check it is being picked up with:
$ flake8 --version 3.7.9 (flake8-no-fstring: 1.0.0, mccabe: 0.6.1, pycodestyle: 2.5.0, pyflakes: 2.1.1) CPython 3.8.0 on Darwin
NF001: No f-string
Complains about f-strings.
- Remove redundant code (PR #1).
- Update documentation, links and badges.
- Update HISTORY.rst
- First release on PyPI.
- NF001 rule that complains about f-strings.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size flake8-no-fstring-1.0.3.tar.gz (4.9 kB)||File type Source||Python version None||Upload date||Hashes View|