refactor: migrate to function-based design with multiple improvements#1
Merged
refactor: migrate to function-based design with multiple improvements#1
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
setup.py,requirements.txt,tox.ini, andMANIFEST.inwithpyproject.toml+uv.lock; addedruffandbanditas dev dependencies for linting and security scanningCircleCIEnvsManageclass with a_Ctxdataclass + module-level functions; fixedCIRCLE_TOKENenv var not being picked up when installed as a console script viacontext_settings={"auto_envvar_prefix": "CIRCLE"}vcs_type/org) for context-only operationspublish.yml+release.ymlinto a single 4-job release pipeline (prepare → publish_pypi ∥ publish_docker → commit_and_release); version bump committed to main only after all publish steps succeed with[skip ci]; addedpr-checks.ymlwith linting, security scan, multi-version build matrix, and Docker build check; addedupdate-changelog.ymltriggered on release publishTest plan
uv run circleci-env-cli --helpworks andCIRCLE_TOKENis picked up from envuv run circleci-env-cli -p github/org --list-envsreturns a sorted list with count headeruv run circleci-env-cli -p github/org -c my-context --list-envsworks without a project nameuv run circleci-env-cli -p github/orgexits with "nothing to do" erroruv run ruff check circleci_env_cli.pypassesuv run bandit -c pyproject.toml circleci_env_cli.pypassesdocker build .succeeds