Skip to content

Commit ee025c3

Browse files
authored
Merge pull request #53 from MaxxRK/deepsource-autofix-0419bcc3
refactor: remove unnecessary `pass`
2 parents 3d32db6 + c53d392 commit ee025c3

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

firstrade/exceptions.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
class QuoteError(Exception):
22
"""Base class for exceptions in the Quote module."""
33

4-
pass
5-
64

75
class QuoteRequestError(QuoteError):
86
"""Exception raised for errors in the HTTP request during a Quote."""
@@ -25,8 +23,6 @@ def __init__(self, symbol, error_message):
2523
class LoginError(Exception):
2624
"""Exception raised for errors in the login process."""
2725

28-
pass
29-
3026

3127
class LoginRequestError(LoginError):
3228
"""Exception raised for errors in the HTTP request during login."""
@@ -50,8 +46,6 @@ def __init__(self, error_message):
5046
class AccountError(Exception):
5147
"""Base class for exceptions in the Account module."""
5248

53-
pass
54-
5549

5650
class AccountResponseError(AccountError):
5751
"""Exception raised for errors in the API response when getting account data."""

0 commit comments

Comments
 (0)