mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 01:27:03 +02:00
Fix linter errors
This commit is contained in:
parent
828051854e
commit
cc4621ad20
2 changed files with 1 additions and 2 deletions
|
@ -3,6 +3,7 @@ import logging
|
||||||
|
|
||||||
from contextlib import contextmanager
|
from contextlib import contextmanager
|
||||||
|
|
||||||
|
|
||||||
def get_handlers():
|
def get_handlers():
|
||||||
"""Obtain pointers to all StreamHandlers."""
|
"""Obtain pointers to all StreamHandlers."""
|
||||||
handlers = {}
|
handlers = {}
|
||||||
|
@ -46,4 +47,3 @@ def less_console_noise():
|
||||||
# restore the streams
|
# restore the streams
|
||||||
for handler in handlers.values():
|
for handler in handlers.values():
|
||||||
handler.setStream(restore[handler.name])
|
handler.setStream(restore[handler.name])
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,6 @@ $ docker-compose exec app python manage.py shell
|
||||||
|
|
||||||
"""
|
"""
|
||||||
import environs
|
import environs
|
||||||
from sys import argv as sys_argv
|
|
||||||
from base64 import b64decode
|
from base64 import b64decode
|
||||||
from cfenv import AppEnv # type: ignore
|
from cfenv import AppEnv # type: ignore
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue