Skip to content

Commit

Permalink
Apply ruff/pyupgrade rule: super-call-with-parameters (UP008)
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitriPapadopoulos committed Mar 1, 2024
1 parent ee01f33 commit a024393
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion psc/imagen_update_dawba_codes_from_tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

class LimeSurveyError(Exception):
def __init__(self, message, code):
super(LimeSurveyError, self).__init__(message)
super().__init__(message)
self.code = code


Expand Down
2 changes: 1 addition & 1 deletion psytools/imagen_psytools_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def download_legacy(base_url, netrc_file, datasets, psytools_dir):

class LimeSurveyError(Exception):
def __init__(self, message, code):
super(LimeSurveyError, self).__init__(message)
super().__init__(message)
self.code = code


Expand Down

0 comments on commit a024393

Please sign in to comment.