Skip to content

Commit c17f6c5

Browse files
committed
Pre-commit fixes
1 parent 05f690f commit c17f6c5

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

babel/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
]
4343

4444
_global_data: Mapping[_GLOBAL_KEY, Mapping[str, Any]] | None
45-
45+
4646
_global_data = None
4747
_default_plural_rule = PluralRule({})
4848

babel/messages/extract.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,9 @@ def extract_nothing(
461461

462462

463463
def extract_python(
464-
fileobj: IO[bytes],
465-
keywords: Mapping[str, _Keyword],
466-
comment_tags: Collection[str],
464+
fileobj: IO[bytes],
465+
keywords: Mapping[str, _Keyword],
466+
comment_tags: Collection[str],
467467
options: _PyOptions,
468468
) -> Generator[_ExtractionResult, None, None]:
469469
"""Extract messages from Python source code.
@@ -601,10 +601,10 @@ def _parse_python_string(value: str, encoding: str, future_flags: int) -> str |
601601

602602

603603
def extract_javascript(
604-
fileobj: _FileObj,
605-
keywords: Mapping[str, _Keyword],
606-
comment_tags: Collection[str],
607-
options: _JSOptions,
604+
fileobj: _FileObj,
605+
keywords: Mapping[str, _Keyword],
606+
comment_tags: Collection[str],
607+
options: _JSOptions,
608608
lineno: int = 1,
609609
) -> Generator[_ExtractionResult, None, None]:
610610
"""Extract messages from JavaScript source code.

babel/py.typed

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# Marker file for PEP 561. This package uses inline types.
1+
# Marker file for PEP 561. This package uses inline types.

babel/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ class FixedOffsetTimezone(tzinfo):
231231
"""Fixed offset in minutes east from UTC."""
232232

233233
def __init__(self, offset: float, name: str | None = None) -> None:
234-
234+
235235
self._offset = timedelta(minutes=offset)
236236
if name is None:
237237
name = 'Etc/GMT%+d' % offset

0 commit comments

Comments
 (0)