Repository navigation
chore: set up Tailor, build with uv_build, add checks, repo set up - #2
Merged
Merged
Conversation
Set up the repository with Tailor, add the shared `just` recipes and move the build to `uv_build`. - Tailor: `.tailor.yml`, issue templates, `CODE_OF_CONDUCT.md`, `CONTRIBUTING.md`, `SECURITY.md`, `SUPPORT.md` and the `just` files. No Tailor languages: the recipes run the scripts in `just/project/`. - Recipes: `check`, `test` and `build`. `lint` runs `actionlint`. - Build backend: `uv_build` in place of setuptools; `MANIFEST.in` is removed. The package files in the wheel and the sdist are the same as before. The setuptools metadata files and `MANIFEST.in` are gone, and the sdist now has `pyproject.toml.orig`. - `ruff` and `basedpyright` are in the `test` extra. Checked: the tests pass from the unpacked sdist, from an editable install and from a `pip` install.
Format the Python code with `ruff format`, line length 120, and add `ruff.toml`. There are no hand-made changes. Checked: the syntax tree of each file is the same as before, except the trailing white space in one docstring. All tests pass with `sclang`, and the test fixtures have no change. Stacked on #2.
Add `pyrightconfig.json`, the `lint` script of `just lint` and a CI job. Fix the findings with changes to annotations and to the form of the code. The output and the errors of the conversions do not change.
- Add CHANGELOG.md with a section for each version tag. - `just release` checks the branch, the version and the changelog section. - CLAUDE.md becomes AGENTS.md, with the rules for agents only. - docs/development.md becomes DEVELOPING.md. The design notes are in docs/design.md. - README.md has the standard sections.
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.
Set up the repository with Tailor, move the build to
uv_build, add formatting, lint and type checks, and follow the repository standard for documentation and releases..tailor.yml, issue templates,CODE_OF_CONDUCT.md,CONTRIBUTING.md,SECURITY.md,SUPPORT.mdand thejustfiles. No Tailor languages: the recipes run the scripts injust/project/.check,test,lintandbuild.uv_buildin place of setuptools;MANIFEST.inis removed. The package files in the wheel and the sdist did not change with the new backend. The setuptools metadata files andMANIFEST.inare gone, and the sdist haspyproject.toml.orig.ruff formatat line length 120.ruff checkandbasedpyrightpass, and a new CI job runs them. The fixes change annotations and the form of the code. The base classBackendnow declares the attributes and methods for method sections and tables.CHANGELOG.mdwith a section for each version tag.just releasechecks the branch, the version inpyproject.tomland the changelog section.CLAUDE.mdis nowAGENTS.mdwith the rules for agents only.docs/development.mdis nowDEVELOPING.md, and the design notes are indocs/design.md.README.mdhas the standard sections.Checked:
sclang. The test fixtures did not change.pipinstall.mainfor the Markdown files of the repository and 60 000 random texts.just releasestops in each failure case and makes an annotated tag when all checks pass (tried in a throwaway clone). The links between the Markdown files resolve.