Skip to content

Commit

Permalink
[stubsabot] Bump babel to 2.10.* (#8222)
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Jul 1, 2022
1 parent 81a95b4 commit 1f0172c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 25 deletions.
2 changes: 1 addition & 1 deletion stubs/babel/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version = "2.9.*"
version = "2.10.*"
requires = ["types-pytz"]
19 changes: 0 additions & 19 deletions stubs/babel/babel/_compat.pyi

This file was deleted.

6 changes: 3 additions & 3 deletions stubs/babel/babel/dates.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ def get_datetime_format(format: str = ..., locale=...): ...
def get_time_format(format: str = ..., locale=...): ...

# Basic Parsing
def parse_date(string, locale=...): ...
def parse_time(string, locale=...): ...
def parse_date(string, locale=..., format: str = ...): ...
def parse_time(string, locale=..., format: str = ...): ...
def parse_pattern(pattern): ...

# Undocumented
Expand Down Expand Up @@ -142,7 +142,7 @@ class DateTimeFormat:
def format_weekday(self, char: str = ..., num: int = ...): ...
def format_day_of_year(self, num): ...
def format_day_of_week_in_month(self): ...
def format_period(self, char): ...
def format_period(self, char, num): ...
def format_frac_seconds(self, num): ...
def format_milliseconds_in_day(self, num): ...
def format_timezone(self, char, num): ...
Expand Down
2 changes: 2 additions & 0 deletions stubs/babel/babel/messages/extract.pyi
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from collections.abc import Callable
from typing import Any

GROUP_NAME: str
Expand All @@ -13,6 +14,7 @@ def extract_from_dir(
comment_tags=...,
callback: Any | None = ...,
strip_comment_tags: bool = ...,
directory_filter: Callable[[str], bool] | None = ...,
) -> None: ...
def check_and_call_extract_file(
filepath, method_map, options_map, callback, keywords, comment_tags, strip_comment_tags, dirpath: Any | None = ...
Expand Down
2 changes: 0 additions & 2 deletions stubs/babel/babel/messages/frontend.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import abc
from distutils.cmd import Command as _Command
from typing import Any

po_file_read_mode: Any

def listify_value(arg, split: Any | None = ...): ...

class Command(_Command, metaclass=abc.ABCMeta):
Expand Down

0 comments on commit 1f0172c

Please sign in to comment.