Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI: update isort and flake8 for pre-commit and format files #1037

Merged
merged 7 commits into from
Nov 27, 2024

Conversation

paul-nameless
Copy link
Contributor

What do these changes do?

  • Updates isort and flake8 to fix pre-commit run
  • Fix flake8 error: long lines, unused imports, etc.
  • Fix formatting of some files

Are there changes in behavior for the user?

Should not be any changes for the user

Related issue number

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes

@paul-nameless paul-nameless changed the title Fix CI Fix CI: update isort and flake8 for pre-commit and format files Nov 25, 2024
Copy link

codecov bot commented Nov 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (ab79340) to head (c2af5c5).
Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #1037   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           19        19           
  Lines         1474      1472    -2     
  Branches        25        25           
=========================================
- Hits          1474      1472    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

tests/test_nacl_storage.py Outdated Show resolved Hide resolved
@bdraco
Copy link
Member

bdraco commented Nov 27, 2024

Thanks! This looks good once the two small nits above are addressed.

@paul-nameless
Copy link
Contributor Author

Sure, updated

@bdraco bdraco merged commit 8c30c82 into aio-libs:master Nov 27, 2024
13 checks passed
Comment on lines +17 to +18
# I900: flake8-requirements doesn't see aioredis in the requirements file cause it is extra dependency
aiohttp_session/redis_storage.py:I900
Copy link
Member

Choose a reason for hiding this comment

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

I suspect it should be added to the requirements file for our testing. Though aioredis is archived, so we should also migrate to redis/valkey now.

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

Successfully merging this pull request may close these issues.

4 participants