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

Adding pydantic argparse cli and Refactor Looper Tests #472

Merged

Conversation

donaldcampbelljr
Copy link
Contributor

@donaldcampbelljr donaldcampbelljr commented Feb 27, 2024

This PR accomplishes these major tasks:

CLI

TESTS

TODO:

  • - adding the remaining arguments
  • - ensure they work
  • - remove old cli
  • - fix tests

@donaldcampbelljr
Copy link
Contributor Author

Some misc notes on usage by example:
looper.cli_pydantic init --force-yes
looper.cli_pydantic --looper-config .looper_project.yaml runp
looper.cli_pydantic --looper-config .looper.yaml rerun

@donaldcampbelljr
Copy link
Contributor Author

I had to add init-piface as init_piface. Will revisit.

@donaldcampbelljr
Copy link
Contributor Author

Commands are added.

@donaldcampbelljr donaldcampbelljr marked this pull request as ready for review March 11, 2024 18:41
@donaldcampbelljr donaldcampbelljr changed the title Continue enhancement adding pydantic argparse cli Adding pydantic argparse cli and Refactor Looper Tests Mar 11, 2024
@nsheff
Copy link
Contributor

nsheff commented Mar 12, 2024

I think you're collecting other changes on this PR -- I think you may need to rebase the dev branch into feature-pydantic-argparse-cli, because the incoming branch here is carrying with it a bunch of unrelated updates, making it hard to review the PR

…c-argparse-cli

# Conflicts:
#	looper/looper.py
#	requirements/requirements-all.txt
@donaldcampbelljr
Copy link
Contributor Author

I merged the downstream changes into target branch to make it a bit more legible.

@donaldcampbelljr
Copy link
Contributor Author

Partially addresses #464, though there still is work to be done with writing more comprehensive smoketests

Copy link
Contributor

@nsheff nsheff left a comment

Choose a reason for hiding this comment

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

Looks fine to me, I made some suggestions.

looper/cli_pydantic.py Show resolved Hide resolved
looper/cli_pydantic.py Show resolved Hide resolved
looper/cli_pydantic.py Outdated Show resolved Hide resolved
looper/cli_pydantic.py Outdated Show resolved Hide resolved
looper/const.py Outdated Show resolved Hide resolved
looper/looper.py Outdated Show resolved Hide resolved
tests/conftest.py Outdated Show resolved Hide resolved
@donaldcampbelljr donaldcampbelljr merged commit a3a736d into feature-pydantic-argparse-cli Mar 12, 2024
1 check passed
@donaldcampbelljr donaldcampbelljr deleted the drc_feature-pydantic-argparse-cli branch August 19, 2024 13:16
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.

2 participants