Make Stone easier to invoke locally#363
Merged
KevinRK29 merged 1 commit intoMay 6, 2026
Merged
Conversation
d1e083e to
d99b67f
Compare
91354a0 to
1786e6b
Compare
d99b67f to
2d433c3
Compare
1786e6b to
9f03669
Compare
jboulter11
approved these changes
May 6, 2026
rhui-dbx
approved these changes
May 6, 2026
9f03669 to
fb99efd
Compare
2d433c3 to
01e9971
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #363 +/- ##
==========================================
+ Coverage 49.98% 51.30% +1.31%
==========================================
Files 37 38 +1
Lines 8808 8876 +68
Branches 1892 1913 +21
==========================================
+ Hits 4403 4554 +151
+ Misses 4087 3979 -108
- Partials 318 343 +25
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
Description
Stacked on #359.
Allows
stone/cli.pyto bootstrap its package path when run directly and addsstone/__main__.pyfor module invocation.Checklist
General Contributing
Is This a Code Change?
Validation
tox?Verification run directly with the CI lint/test steps:
uv run --no-project --with-requirements requirements.txt --with-requirements test/requirements.txt --with flake8==5.0.4 --with pylint flake8 setup.py example stone testuv run --no-project --with-requirements requirements.txt --with-requirements test/requirements.txt --with flake8==5.0.4 --with pylint --with setuptools pylint --rcfile=.pylintrc setup.py example stone testuv run --no-project --with-requirements requirements.txt --with-requirements test/requirements.txt --with pytest --with mock pytestuv run --no-project --with-requirements requirements.txt --with-requirements test/requirements.txt --with enum34 --with mypy --with types-six ./mypy-run.sh