Skip to content

Commit

Permalink
replace unused variable with _
Browse files Browse the repository at this point in the history
  • Loading branch information
AHReccese committed May 21, 2024
1 parent 7c786bf commit 4abade0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions opr/opr_obj.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ def sequence(self):
return self._sequence

@sequence.setter
def sequence(self, any):
def sequence(self, _):
raise OPRBaseError("sequence attribute is read-only.")

@sequence.deleter
def sequence(self, any):
def sequence(self, _):
raise OPRBaseError("This attribute is not removable.")

@property
Expand All @@ -66,9 +66,9 @@ def molecular_weight(self):
return self._molecular_weight

@molecular_weight.setter
def molecular_weight(self, any):
def molecular_weight(self, _):
raise OPRBaseError("molecular_weight attribute is read-only.")

@molecular_weight.deleter
def molecular_weight(self, any):
def molecular_weight(self, _):
self._molecular_weight = None

0 comments on commit 4abade0

Please sign in to comment.