Enable pylint global-statement (#33641)

This commit is contained in:
Franck Nijhof 2020-04-04 20:10:55 +02:00 committed by GitHub
parent 187b6525b4
commit 71a47fc80c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 19 additions and 20 deletions

View file

@ -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)