Skip to content

Commit

Permalink
pylama and pydocstyle fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fizyk committed Jul 3, 2017
1 parent 880a085 commit d20559f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pytest_dynamodb/port.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ class InvalidPortsDefinition(ValueError):
"""Exception raised if ports definition is not a valid string."""

def __init__(self, ports):
"""Constructor for InvalidPortsDefinition exception."""
"""Construct InvalidPortsDefinition exception."""
self.ports = ports

def __str__(self):
"""String representation."""
"""Return string representation."""
return (
'Unknown format of ports: {0}.\n'
'You should provide a ports range "[(4000,5000)]"'
Expand Down

0 comments on commit d20559f

Please sign in to comment.