|
1 | 1 | """ |
2 | 2 | This module provides API for interaction with Tarantool servers cluster. |
3 | 3 | """ |
4 | | -# pylint: disable=too-many-lines |
| 4 | +# pylint: disable=too-many-lines,duplicate-code |
5 | 5 |
|
6 | 6 | import abc |
7 | 7 | import itertools |
@@ -210,6 +210,7 @@ class RoundRobinStrategy(StrategyInterface): |
210 | 210 | """ |
211 | 211 | Simple round-robin pool servers rotation. |
212 | 212 | """ |
| 213 | + # pylint: disable=bad-option-value,no-self-use |
213 | 214 |
|
214 | 215 | def __init__(self, pool): |
215 | 216 | """ |
@@ -372,7 +373,7 @@ class ConnectionPool(ConnectionInterface): |
372 | 373 | >>> resp |
373 | 374 | - ['AAAA', 'Alpha'] |
374 | 375 | """ |
375 | | - # pylint: disable=too-many-public-methods,duplicate-code,bad-option-value,no-self-use,super-init-not-called,bad-option-value |
| 376 | + # pylint: disable=too-many-public-methods,duplicate-code,bad-option-value,no-self-use |
376 | 377 |
|
377 | 378 | def __init__(self, |
378 | 379 | addrs, |
@@ -652,7 +653,7 @@ def _request_process_loop(self, key, unit, last_refresh): |
652 | 653 | method = getattr(Connection, task.method_name) |
653 | 654 | try: |
654 | 655 | resp = method(unit.conn, *task.args, **task.kwargs) |
655 | | - except Exception as exc: # pylint: disable=broad-exception-caught,broad-except |
| 656 | + except Exception as exc: # pylint: disable=bad-option-value,broad-exception-caught,broad-except |
656 | 657 | unit.output_queue.put(exc) |
657 | 658 | else: |
658 | 659 | unit.output_queue.put(resp) |
|
0 commit comments