We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3131f4 commit 7978b7bCopy full SHA for 7978b7b
.flake8
@@ -1,3 +1,3 @@
1
[flake8]
2
-ignore = E402,E731
+ignore = E402,E731,W504,E252
3
exclude = .git,__pycache__,build,dist,.eggs,.github,.local
asyncpg/pool.py
@@ -304,13 +304,14 @@ class Pool:
304
Pools are created by calling :func:`~asyncpg.pool.create_pool`.
305
"""
306
307
- __slots__ = ('_queue', '_loop', '_minsize', '_maxsize',
308
- '_init', '_connect_args', '_connect_kwargs',
309
- '_working_addr', '_working_config', '_working_params',
310
- '_holders', '_initialized', '_initializing', '_closing',
311
- '_closed', '_connection_class', '_generation',
312
- '_setup', '_max_queries', '_max_inactive_connection_lifetime'
313
- )
+ __slots__ = (
+ '_queue', '_loop', '_minsize', '_maxsize',
+ '_init', '_connect_args', '_connect_kwargs',
+ '_working_addr', '_working_config', '_working_params',
+ '_holders', '_initialized', '_initializing', '_closing',
+ '_closed', '_connection_class', '_generation',
+ '_setup', '_max_queries', '_max_inactive_connection_lifetime'
314
+ )
315
316
def __init__(self, *connect_args,
317
min_size,
setup.py
@@ -31,7 +31,11 @@
31
32
# Minimal dependencies required to test asyncpg.
33
TEST_DEPENDENCIES = [
34
- 'flake8~=3.5.0',
+ # pycodestyle is a dependency of flake8, but it must be frozen because
35
+ # their combination breaks too often
36
+ # (example breakage: https://gitlab.com/pycqa/flake8/issues/427)
37
+ 'pycodestyle~=2.5.0',
38
+ 'flake8~=3.7.9',
39
'uvloop~=0.14.0;platform_system!="Windows"',
40
]
41
0 commit comments