Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Remove redundant TimeoutError class #1444

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

farahats9
Copy link

What do these changes do?

Remove the builtins.TimeoutError class from base classes of aioredis.exceptions.TimeoutError because it is causing an error due to its redundancy.

Are there changes in behavior for the user?

No

Related issue number

#1443

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes
  • If you provide code modification, please add yourself to CONTRIBUTORS.txt
    • The format is <Name> <Surname>.
    • Please keep alphabetical order, the file is sorted by names.
  • Add a new news fragment into the CHANGES/ folder
    • name it <issue_id>.<type> (e.g. 588.bugfix)
    • if you don't have an issue_id change it to the pr id after creating the PR
    • ensure type is one of the following:
      • .feature: Signifying a new feature.
      • .bugfix: Signifying a bug fix.
      • .doc: Signifying a documentation improvement.
      • .removal: Signifying a deprecation or removal of public API.
      • .misc: A ticket has been closed, but it is not of interest to users.
    • Make sure to use full sentences with correct case and punctuation, for example:
      Fix issue with non-ascii contents in doctest text files.

@lgtm-com
Copy link

lgtm-com bot commented Nov 2, 2022

This pull request introduces 1 alert when merging 3ad900b into 19be499 - view on LGTM.com

new alerts:

  • 1 for Unused import

Copy link

@Rooba Rooba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

considering __builtins__ is already going to be present, the import for builtins poses no difference.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants