File: f_string_without_interpolation.py

package info (click to toggle)
pylint 4.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,276 kB
  • sloc: python: 76,515; makefile: 70
file content (9 lines) | stat: -rw-r--r-- 177 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
# pylint: disable=missing-module-docstring
import math

VALUE = 1

print(f"some value {VALUE}")
print(f'pi: {math.pi:.3f}')

print(f"ERROR")  # [f-string-without-interpolation]