Skip to content

Commit 4c5c542

Browse files
committed
Fix linter warnings
1 parent 863fa45 commit 4c5c542

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

asyncpg/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
import socket
55
import urllib.parse
66

7-
from .exceptions import *
7+
from .exceptions import * # NOQA
88
from . import connection
99
from . import protocol
1010

1111

12-
__all__ = ('connect',) + exceptions.__all__
12+
__all__ = ('connect',) + exceptions.__all__ # NOQA
1313

1414

1515
async def connect(dsn=None, *,

asyncpg/exceptions/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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
55
from . import _base
66

77

tools/generate_exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 *\nfrom . import _base\n\n\n'
83+
'from ._base import * # NOQA\nfrom . import _base\n\n\n'
8484

8585
classes = []
8686
clsnames = set()

0 commit comments

Comments
 (0)