Skip to content

Commit

Permalink
Bump ruff to 0.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jelmer committed Jul 15, 2024
1 parent bacddd1 commit 3317c84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ __version__ = {version_tuple!r}
[project.optional-dependencies]
test = ["testscenarios", "testresources"]
twisted = ["Twisted", "fixtures"]
dev = ["ruff==0.5.1"]
dev = ["ruff==0.5.2"]
2 changes: 1 addition & 1 deletion testtools/content_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self, primary_type, sub_type, parameters=None):
self.parameters = parameters or {}

def __eq__(self, other):
if type(other) != ContentType:
if type(other) is not ContentType:
return False
return self.__dict__ == other.__dict__

Expand Down

0 comments on commit 3317c84

Please sign in to comment.