File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 44import socket
55import urllib .parse
66
7- from .exceptions import *
7+ from .exceptions import * # NOQA
88from . import connection
99from . import protocol
1010
1111
12- __all__ = ('connect' ,) + exceptions .__all__
12+ __all__ = ('connect' ,) + exceptions .__all__ # NOQA
1313
1414
1515async def connect (dsn = None , * ,
Original file line number Diff line number Diff line change 11# GENERATED FROM postgresql/src/backend/utils/errcodes.txt
22# DO NOT MODIFY, use tools/generate_exceptions.py to update
33
4- from ._base import *
4+ from ._base import * # NOQA
55from . import _base
66
77
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ class {clsname}({base}):
8080
8181 buf = '# GENERATED FROM postgresql/src/backend/utils/errcodes.txt\n ' + \
8282 '# DO NOT MODIFY, use tools/generate_exceptions.py to update\n \n ' + \
83- 'from ._base import *\n from . import _base\n \n \n '
83+ 'from ._base import * # NOQA \n from . import _base\n \n \n '
8484
8585 classes = []
8686 clsnames = set ()
You can’t perform that action at this time.
0 commit comments