Skip to content

Fix Flake8 lint warnings#20

Description

@healeycodes

馃敡

./movegeneration.py:3:1: F401 'sys' imported but unused
./movegeneration.py:10:11: E221 multiple spaces before operator
./movegeneration.py:11:17: E222 multiple spaces after operator
./movegeneration.py:25:14: E712 comparison to True should be 'if cond is True:' or 'if cond:'
./movegeneration.py:81:1: C901 'minimax' is too complex (13)
./communication.py:20:1: C901 'command' is too complex (14)
./test/test_engine.py:155:128: E501 line too long (212 > 127 characters)
2     C901 'command' is too complex (14)
1     E221 multiple spaces before operator
1     E222 multiple spaces after operator
1     E501 line too long (212 > 127 characters)
1     E712 comparison to True should be 'if cond is True:' or 'if cond:'
1     F401 'sys' imported but unused

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions