-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix formatting for cmd operations (#666)
* Fix formatting for cmd operations * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * More tests * Update changelog * Update flow/project.py * refactor: Simplify FlowCmdOperation.__call__ logic * refactor: Revert changes to with_job decorator. * fix: return correct value with Cmd callable * refactor: Remove warning filter. * doc: Improve comments regarding formatting FlowCmdOperations Co-authored-by: Bradley Dice <bdice@bradleydice.com> * refactor: Provide conclusive test if cmd operation is formatted * refactor: Only warn in one place for formatted cmd arguments * refactor: Remove error on keyword arguments in cmd operations * refactor: Improve deprecation warning message. Adds what a user should do instead. * test: Refactor out common contextmanagers for project execution * test: Ignore warnings from testing cmd operation formatting * test: Move assert outside context manager Co-authored-by: Bradley Dice <bdice@bradleydice.com> * test: setup_project_subprocess_execution does not discard stderr At least by default * doc: Add comment about future removal of cmd op inspect logic * ci: Update CodeCov CircleCI orb Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Mike Henry <11765982+mikemhenry@users.noreply.github.com> Co-authored-by: Bradley Dice <bdice@bradleydice.com> Co-authored-by: Brandon Butler <butlerbr@umich.edu>
- Loading branch information
1 parent
73f8f5a
commit 9217d29
Showing
5 changed files
with
191 additions
and
112 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
Oops, something went wrong.