Enable pylint global-statement (#33641)
This commit is contained in:
parent
187b6525b4
commit
71a47fc80c
12 changed files with 19 additions and 20 deletions
|
@ -31,7 +31,7 @@ def set_default_time_zone(time_zone: dt.tzinfo) -> None:
|
|||
|
||||
Async friendly.
|
||||
"""
|
||||
global DEFAULT_TIME_ZONE
|
||||
global DEFAULT_TIME_ZONE # pylint: disable=global-statement
|
||||
|
||||
# NOTE: Remove in the future in favour of typing
|
||||
assert isinstance(time_zone, dt.tzinfo)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue