Skip to content

Commit

Permalink
Merge pull request #65 from palfrey/pylint-fixes
Browse files Browse the repository at this point in the history
Pylint fixes
  • Loading branch information
Julius2342 authored Apr 23, 2021
2 parents bba55bb + a2b3024 commit bb748d1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ cache:
- $HOME/.cache/pip
language: python
script: travis_wait tox
after_success: coveralls

install:
- sudo apt-get update -q
Expand Down
1 change: 1 addition & 0 deletions pyvlx/api/frames/frame_error_notification.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@


class ErrorType(Enum):
# pylint: disable=invalid-name
"""Enum class for error types."""

NotFurtherDefined = 0
Expand Down
3 changes: 2 additions & 1 deletion pyvlx/api/frames/frame_get_all_nodes_information.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ def __init__(self):


class AllNodesInformationStatus(Enum):
# pylint: disable=invalid-name
"""Enum for node information status."""

OK = 0 # pylint: disable=invalid-name
OK = 0
Error_System_Table_Empty = 1


Expand Down
3 changes: 2 additions & 1 deletion pyvlx/api/frames/frame_get_node_information.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ def __str__(self):


class NodeInformationStatus(Enum):
# pylint: disable=invalid-name
"""Enum for node information status."""

OK = 0 # pylint: disable=invalid-name
OK = 0
Error_Request_Rejected = 1
Error_Invalid_Node_Index = 2

Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ deps =
pydocstyle
pytest
pytest-cov
whitelist_externals = make

[testenv:flake8]
basepython = python3
Expand Down

0 comments on commit bb748d1

Please sign in to comment.