-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore/style cleanup utility functions (#80)
* feat: simplify interface.py, while adding type hints, decorators, and global convenience variables where appropriate * ref: utility functions; add type hints, optimize memory usage, and enhance docstrings. * feat: Enhance _configure_if_nx_active decorator: add type hints, optimize config handling, and refine docstrings. * chore: standard NX_GTYPE hints, remove dangling import * fix: circular import errors * fix: failing tests * test: add unit tests for utils/chunk.py * fix: create separate types.py module to avoid import order int __init__.py that fails ruff formatting * fix: create separate types.py module to avoid import order int __init__.py that fails ruff formatting * chore: pre-commit formatting * fix: revert to orig * chore: Add .history to .gitignore * chore: Make script.sh executable * chore: revert script.sh from main * fix(update_get_info): correctly exclude utils functions from __init__.py generation * feat: remove type annotations from function signatures * feat: remove type annotations from function signatures * Update nx_parallel/interface.py Co-authored-by: Dan Schult <dschult@colgate.edu> * Update nx_parallel/interface.py Co-authored-by: Dan Schult <dschult@colgate.edu> * feat: respond to code review * chore: commit unstaged changes * fix(test): update enums to plural * fix: revert enums to singular to prevent breaking changes * Update .gitignore Co-authored-by: Aditi Juneja <91629733+Schefflera-Arboricola@users.noreply.github.com> * Update nx_parallel/utils/chunk.py Co-authored-by: Aditi Juneja <91629733+Schefflera-Arboricola@users.noreply.github.com> * Update nx_parallel/utils/chunk.py Co-authored-by: Aditi Juneja <91629733+Schefflera-Arboricola@users.noreply.github.com> * Update nx_parallel/utils/tests/test_chunk.py Co-authored-by: Aditi Juneja <91629733+Schefflera-Arboricola@users.noreply.github.com> * Update nx_parallel/utils/chunk.py Co-authored-by: Aditi Juneja <91629733+Schefflera-Arboricola@users.noreply.github.com> * chore: run precommit * chore: run precommit * feat: remove GraphIteratorType * feat: remove GraphIteratorType * feat: remove GraphIteratorType * chire: docstring spacing * chore: .gitignore * chore: .gitignore * Update nx_parallel/utils/chunk.py Co-authored-by: Dan Schult <dschult@colgate.edu> * chore: address styling discrepancies highlighted in code review * chore: remove .DS_Store * chore: manually add in ValueError wording change * chore: manually add in ValueError wording change * doc: enforce imperative mood in docstring * chore: rerun precommit * chore: rerun precommit * chore: rerun precommit * chore: rerun precommit * moved update-get-info hook to the end --------- Co-authored-by: Derek Alexander <derekpisner@dpisner-MB.local> Co-authored-by: Dan Schult <dschult@colgate.edu> Co-authored-by: Aditi Juneja <91629733+Schefflera-Arboricola@users.noreply.github.com>
- Loading branch information
1 parent
c73066f
commit 3ebd2a8
Showing
8 changed files
with
201 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.