diff options
Diffstat (limited to 'pylint')
-rw-r--r-- | pylint/checkers/refactoring/recommendation_checker.py | 4 | ||||
-rw-r--r-- | pylint/checkers/unsupported_version.py | 2 |
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", |