A flake8 plugin to ban f-strings
Project description
flake8-no-unnecessary-fstrings
A flake8 plugin to detect f-strings that don't actually do any interpolation.
Installation
Install from pip
with:
python -m pip install flake8-no-unnecessary-fstrings
Python 3.6+ 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-unnecessary-fstrings: 1.0.0, mccabe: 0.6.1, pycodestyle: 2.5.0, pyflakes: 2.1.1) CPython 3.8.0 on Darwin
Rules
- NUF001: No unecessary f-strings
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for flake8-no-unnecessary-fstrings-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 832b013dbe4e7edb312b8088bcdef8211a18700d31975a285fa49889d96a0865 |
|
MD5 | 1c517517328163a5cd2e57071009634e |
|
BLAKE2b-256 | 74cf20f8a6adf545a211e7a54d2de32b4f5e6f48b263aa12d275d038c2d67e70 |
Close
Hashes for flake8_no_unnecessary_fstrings-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2299b48539c1afb35f9a64422c4e5eb16000072d8b16be4f2175fe53a7b76675 |
|
MD5 | d48484d4127e64a55ffd87337bb83dc4 |
|
BLAKE2b-256 | dd6df3c8a454a5e10f4216b63fc253b7d7e937ef0f7e564309dae347169a80a4 |