diff options
-rw-r--r-- | babel/messages/jslexer.py | 1 | ||||
-rw-r--r-- | pyproject.toml | 2 | ||||
-rwxr-xr-x | scripts/import_cldr.py | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/babel/messages/jslexer.py b/babel/messages/jslexer.py index 6eab920..d2ffbbe 100644 --- a/babel/messages/jslexer.py +++ b/babel/messages/jslexer.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """ babel.messages.jslexer ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/pyproject.toml b/pyproject.toml index 10c1db8..dbd137c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ select = [ "F", "I", "SIM300", - "UP025", + "UP", ] ignore = [ "C901", # Complexity diff --git a/scripts/import_cldr.py b/scripts/import_cldr.py index b503407..33e4a60 100755 --- a/scripts/import_cldr.py +++ b/scripts/import_cldr.py @@ -129,7 +129,7 @@ def _time_to_seconds_past_midnight(time_expr): return None if time_expr.count(":") == 1: time_expr += ":00" - hour, minute, second = [int(p, 10) for p in time_expr.split(":")] + hour, minute, second = (int(p, 10) for p in time_expr.split(":")) return hour * 60 * 60 + minute * 60 + second |