Repository navigation
chore: add t3.json with Tests and Lint scripts - #51
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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
Adds a
t3.jsonso T3 Code threads can run this repo's checks with one click. No setup script: the repo has no lockfile and nothing to install exceptPyYAMLfor the tests. Nothing else changes, and no workflow is touched.What changed
t3.jsonwith two scripts, copied from.github/workflows/public-test.yml:Tests:python3 -B -m unittest discover -s tests -p 'test_*.py'(-Bkeeps__pycache__out of the checkout;.gitignoredoesn't cover it).Lint:py_compileoverscripts/*.py. CI runs it aspython -m py_compile scripts/*.pyunder 3.10. HerePYTHONPYCACHEPREFIXsends bytecode to$TMPDIR. The repo has no linter config that CI runs locally (static analysis is a reusable workflow).Test plan
requirements-test.txt(PyYAML 6.0.3), Python 3.15.0:Ran 306 tests in 528s,OKLintexits 0 in the linked worktree;git statusstays clean afterwardsNotes for reviewer
TestsneedsPyYAMLon the interpreter (pip install -r requirements-test.txt), as in CI.Lintis stdlib-only. Without a setup script, a thread must have PyYAML available forTests.py_compile, soLinthere is a syntax check on the local interpreter.🤖 Generated with Claude Code