online-bridge-hackathon / DDS

An api that returns DDS results for a given deal or partial deal
https://bit.ly/bridge-hackathon
Apache License 2.0
4 stars 7 forks source link

Address dds.py issues reported by pylint #18

Closed tameware closed 4 years ago

tameware commented 4 years ago

As of 2020-05-27:

$ pylint dds.py ***** Module dds dds.py:64:4: W0231: init method from base class 'Exception' is not called (super-init-not-called) dds.py:89:4: C0103: Argument name "threadIndex" doesn't conform to snake_case naming style (invalid-name) dds.py:89:4: R0913: Too many arguments (9/5) (too-many-arguments) dds.py:89:4: R0914: Too many local variables (19/15) (too-many-locals) dds.py:94:8: C0103: Variable name "currentTrickSuit" doesn't conform to snake_case naming style (invalid-name) dds.py:95:8: C0103: Variable name "currentTrickRank" doesn't conform to snake_case naming style (invalid-name) dds.py:100:8: C0103: Variable name "remainCards" doesn't conform to snake_case naming style (invalid-name) dds.py:101:8: C0103: Variable name "dl" doesn't conform to snake_case naming style (invalid-name) dds.py:117:8: C0103: Variable name "tableDeal" doesn't conform to snake_case naming style (invalid-name) dds.py:3:0: W0611: Unused defaultdict imported from collections (unused-import) dds.py:5:0: W0611: Unused import os (unused-import) dds.py:9:4: C0412: Imports from package ctypes are not grouped (ungrouped-imports)


Your code has been rated at 8.40/10