Merging upstream version 0.15.0.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
470a4841cc
commit
3213982697
75 changed files with 1281 additions and 1555 deletions
|
@ -45,7 +45,7 @@ class SpecialChars(LineRule):
|
|||
# options can be accessed by looking them up by their name in self.options
|
||||
for char in self.options['special-chars'].value:
|
||||
if char in line:
|
||||
msg = "Title contains the special character '{0}'".format(char)
|
||||
msg = f"Title contains the special character '{char}'"
|
||||
violation = RuleViolation(self.id, msg, line)
|
||||
violations.append(violation)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue