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

Refactor python scripts under upstream_utils and wpiutil #4614

Merged
merged 9 commits into from Nov 14, 2022

Conversation

egeakman
Copy link
Contributor

This pull request ensures:

  • Less complexity,
  • Reduced method length,
  • Minimized working memory,

Overall better quality.

@egeakman egeakman requested review from PeterJohnson and a team as code owners November 11, 2022 19:35
upstream_utils/update_eigen.py Show resolved Hide resolved
upstream_utils/update_llvm.py Show resolved Hide resolved
@rzblue
Copy link
Member

rzblue commented Nov 11, 2022

This seems like it should be two seperate PRs- one for upstreamutils and one for datalog.

upstream_utils/update_eigen.py Outdated Show resolved Hide resolved
upstream_utils/upstream_utils.py Outdated Show resolved Hide resolved
Co-authored-by: Vasista Vovveti <vasistavovveti@gmail.com>
# Exclude all other modules
return False
# "Std" matches StdDeque, StdList, and StdVector headers. Other modules are excluded.
return bool(re.search(modules_rgx, abspath) or "Std" in f)
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't really feel easier to read. :-/

upstream_utils/update_llvm.py Outdated Show resolved Hide resolved
wpiutil/examples/printlog/datalog.py Outdated Show resolved Hide resolved
Copy link
Member

@auscompgeek auscompgeek left a comment

Choose a reason for hiding this comment

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

datalog LGTM with one small change

wpiutil/examples/printlog/datalog.py Outdated Show resolved Hide resolved
Co-authored-by: David Vo <auscompgeek@users.noreply.github.com>
@egeakman egeakman requested review from calcmogul and auscompgeek and removed request for PeterJohnson, calcmogul and auscompgeek November 12, 2022 13:05
@PeterJohnson PeterJohnson merged commit 5a320c3 into wpilibsuite:main Nov 14, 2022
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.

None yet

7 participants