fix: restore rugguard.py release shim#52
Open
leo-guinan wants to merge 27 commits into
Open
Conversation
Closes codegraphtheory#11, Closes codegraphtheory#14, Closes codegraphtheory#15, Closes codegraphtheory#6
- Add YAML-based bug report template with structured fields - Add YAML-based feature/bounty request template with acceptance criteria - Add config.yml (blank issues disabled) - Triage all 6 open issues: label, comment, accept/reject - Bug codegraphtheory#7, codegraphtheory#9 labeled and accepted - Documentation codegraphtheory#8 labeled and accepted - Bounties codegraphtheory#12, codegraphtheory#13 labeled and accepted - Bug codegraphtheory#6 confirmed fixed and closed by PR codegraphtheory#10
- Remove unused dex_name variable (fixes F841 ruff error) - Add complementary LIQ_VOL_RATIO_MIN check for inactive/dead pool detection - Add mock-based tests for GPA holder fallback and DexScreener scoring - Document SOLANA_RUG_LIQ_VOL_RATIO_MIN env var in README Co-authored-by: KHHH2312 <khhh2312@users.noreply.github.com>
Closes codegraphtheory#22 Adds a 24h price sparkline to `--markdown` output using Unicode block characters. Renders from DexScreener `price_change_24h` data with green/red color prefix for strong moves. No new dependencies. Co-authored-by: lb1192176991-lab <lb1192176991-lab@users.noreply.github.com>
…ory#24) Closes codegraphtheory#24 Adds --export csv/jsonl to token and wallet commands. Both format flags and --export=value shorthand supported. 32 tests pass, ruff clean.
Co-authored-by: copernicusjones <copernicusjones@users.noreply.github.com> Co-authored-by: lb1192176991-lab <lb1192176991-lab@users.noreply.github.com>
…degraphtheory#23) Closes codegraphtheory#23. Co-authored-by: lb1192176991-lab <lb1192176991-lab@users.noreply.github.com>
…ory#29) Closes codegraphtheory#29. Co-authored-by: KHHH2312 <khhh2312@users.noreply.github.com>
Closes codegraphtheory#27. Co-authored-by: lb1192176991-lab <lb1192176991-lab@users.noreply.github.com>
Closes codegraphtheory#26. Co-authored-by: lb1192176991-lab <lb1192176991-lab@users.noreply.github.com>
…ixes codegraphtheory#25) Co-authored-by: lb1192176991-lab <lb1192176991-lab@users.noreply.github.com>
…degraphtheory#28) Closes codegraphtheory#28. Co-authored-by: lb1192176991-lab <lb1192176991-lab@users.noreply.github.com>
Co-authored-by: a11ce <a11ce@users.noreply.github.com>
- Fix ruff import ordering in scripts/solana-rug.py - Update CI to run all test files (test_checks.py + test_telegram_bot.py) - Update release workflow to ship solana-rug.py instead of rugguard.py - Remove old solana_rug/ package wrapper (replaced by rugguard/)
Remove scripts/rugguard.py (old monolithic file, replaced by rugguard/ package), scripts/rugguard.py.rej, and tests/test_checks.py.rej (leftover patch rejects).
- Remove stale scripts/rugguard.py, .rej files - Re-export all private test helpers in rugguard.__init__ - Fix test_holder_fallback_gpa to patch onchain module directly - Update __all__ to include all re-exported symbols
793c101 to
ddc26d6
Compare
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
scripts/rugguard.pyas a legacy launcher/import shim after the package refactorscripts/rugguard.pyto release assets so the documentedreleases/latest/download/rugguard.pypath can work again on the next tagscripts/-first import pattern used by the current test suiteBounty / issue target
rugguard.pyrelease download path)Verification
uv run ruff check scripts/rugguard.pyuv run pytest -q -k "not slow"-> 43 passed, 7 deselecteduv run pytest -q tests/test_checks.py::TestCLI::test_cli_help-> 1 passeduv build-> built sdist and wheel; wheel includesscripts/rugguard.pyNote
A live BONK CLI JSON test timed out against public RPC in 60s during verification; the shim itself was verified with help/import/unit/build paths. Public RPC remains the miserable little bottleneck, as usual.