summaryrefslogtreecommitdiff
path: root/pylint
diff options
context:
space:
mode:
authorElazrod56 <thomas.lf5629@gmail.com>2023-04-19 23:20:58 +0200
committerDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2023-04-20 07:41:43 +0200
commit4cdf9222ae7ed5a3122f633d04b8d8c144e60c1c (patch)
tree273cc29f9d806387c19dbdbdbbb6b896e32096e8 /pylint
parent7f93962cf4dd5a541734f4597f8f1a24d19ece78 (diff)
downloadpylint-git-4cdf9222ae7ed5a3122f633d04b8d8c144e60c1c.tar.gz
Modified all occurences of "a f-string" to "an f-string"
Diffstat (limited to 'pylint')
-rw-r--r--pylint/checkers/refactoring/recommendation_checker.py4
-rw-r--r--pylint/checkers/unsupported_version.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/pylint/checkers/refactoring/recommendation_checker.py b/pylint/checkers/refactoring/recommendation_checker.py
index 38d759214..db2e2f604 100644
--- a/pylint/checkers/refactoring/recommendation_checker.py
+++ b/pylint/checkers/refactoring/recommendation_checker.py
@@ -54,10 +54,10 @@ class RecommendationChecker(checkers.BaseChecker):
"are more efficient than ``sets``.",
),
"C0209": (
- "Formatting a regular string which could be a f-string",
+ "Formatting a regular string which could be an f-string",
"consider-using-f-string",
"Used when we detect a string that is being formatted with format() or % "
- "which could potentially be a f-string. The use of f-strings is preferred. "
+ "which could potentially be an f-string. The use of f-strings is preferred. "
"Requires Python 3.6 and ``py-version >= 3.6``.",
),
}
diff --git a/pylint/checkers/unsupported_version.py b/pylint/checkers/unsupported_version.py
index 3832b50ba..64f2630d8 100644
--- a/pylint/checkers/unsupported_version.py
+++ b/pylint/checkers/unsupported_version.py
@@ -34,7 +34,7 @@ class UnsupportedVersionChecker(BaseChecker):
"F-strings are not supported by all versions included in the py-version setting",
"using-f-string-in-unsupported-version",
"Used when the py-version set by the user is lower than 3.6 and pylint encounters "
- "a f-string.",
+ "an f-string.",
),
"W2602": (
"typing.final is not supported by all versions included in the py-version setting",