chore(deps): update dependency ruff to v0.4.2 (#3533)

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
This commit is contained in:
Michael Genson
2024-05-01 11:07:10 -05:00
committed by GitHub
parent f697a7ee34
commit cca11b5a12
4 changed files with 25 additions and 25 deletions

View File

@@ -22,10 +22,10 @@ def getFeatures(token, index, tokens):
length = len(tokens)
return [
("I%s" % index),
("L%s" % lengthGroup(length)),
("Yes" if isCapitalized(token) else "No") + "CAP",
("Yes" if insideParenthesis(token, tokens) else "No") + "PAREN",
f"I{index}",
f"L{lengthGroup(length)}",
f"{'Yes' if isCapitalized(token) else 'No'}CAP",
f"{'Yes' if insideParenthesis(token, tokens) else 'No'}PAREN",
]