Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/attrs-17'
Browse files Browse the repository at this point in the history
Refs: python-attrs/attrs#136

* origin/attrs-17:
  hash=True everywhere
  • Loading branch information
Julian committed May 18, 2017
2 parents a68a45f + c2d948b commit 1242e6b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion txdatadog/client.py
Expand Up @@ -5,7 +5,7 @@
import attr


@attr.s
@attr.s(hash=True)
class DogStatxD(DatagramProtocol, object):

host = attr.ib(default="127.0.0.1")
Expand Down
4 changes: 2 additions & 2 deletions txdatadog/metrics.py
Expand Up @@ -10,7 +10,7 @@ class NoValueSpecified(Exception):
"""


@attr.s
@attr.s(hash=True)
class _Metric(object):

name = attr.ib()
Expand All @@ -34,7 +34,7 @@ def with_value(self, value):
)


@attr.s
@attr.s(hash=True)
class _ValuedMetric(object):

name = attr.ib()
Expand Down
2 changes: 1 addition & 1 deletion txdatadog/tests/fakes.py
Expand Up @@ -30,7 +30,7 @@ def connect(self, host, port):
self.connected = True


@attr.s
@attr.s(hash=True)
class Server(object):
"""
A DogStatsD server.
Expand Down

0 comments on commit 1242e6b

Please sign in to comment.