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

[#690] Vendor randomly nose extension. Remove nose dependency. More ruff fixes. #702

Merged
merged 6 commits into from
Oct 28, 2024

Conversation

adiroiban
Copy link
Member

@adiroiban adiroiban commented Oct 26, 2024

Scope

Fixes #690

This starts as updating chevah_compat to no longer depend on nose.

I then use it to update ruff...and then run more fixes with ruff.

Changes

node_Randomly project is no longer maintained...so vendor it.

Update ruff and fix more checks raised by ruff.

How to try and test the changes

reviewers: @dumol

More of a FYI. No need to review the code.

The nose_Randomly was copied from upstream ... link the our source file.

The other changes were mostly automatically done by ruff... or by the new custom FIXME to TODO migration tool.


This is needed to support chevah/server py3.12 migratin

This also moves from our # FIXME: markers to more "standards" TODO markers. They are explaned here.

Our FIXME markers were selected more than 10 years ago...and today the standard markers are TODOs and not fixmes. Also, the issue ID or link is sent on the next line.

Copy link

codecov bot commented Oct 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.02%. Comparing base (ff42db8) to head (dfa9a80).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #702      +/-   ##
==========================================
- Coverage   79.05%   79.02%   -0.03%     
==========================================
  Files          47       48       +1     
  Lines        7738     7811      +73     
  Branches     1151     1163      +12     
==========================================
+ Hits         6117     6173      +56     
- Misses       1355     1363       +8     
- Partials      266      275       +9     

see 18 files with indirect coverage changes

Components Coverage Δ
tests ∅ <ø> (∅)

@adiroiban
Copy link
Member Author

needs-review

Copy link
Contributor

@dumol dumol left a comment

Choose a reason for hiding this comment

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

ACK

@adiroiban adiroiban merged commit 5e5a522 into master Oct 28, 2024
16 checks passed
@adiroiban adiroiban deleted the 690-nose-extension branch October 28, 2024 09:00
@adiroiban
Copy link
Member Author

Thanks for the review. I am trying to migrate to ruff ... our linting tools are old... and I don't have time to keep them up to date.

Ruff looks like the future ... btw, it a tool for python written in rust.
I also see dev tools for Javascript written in rust... it looks like rust is winning big

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

Successfully merging this pull request may close these issues.

Enable back nose extension in py3
3 participants