Skip to content

Fix Ruff format race condition#11

Merged
emersonknapp merged 3 commits into
mainfrom
emerson/fix-ruff-race-condition
Jun 15, 2026
Merged

Fix Ruff format race condition#11
emersonknapp merged 3 commits into
mainfrom
emerson/fix-ruff-race-condition

Conversation

@emersonknapp

@emersonknapp emersonknapp commented Jun 15, 2026

Copy link
Copy Markdown
Member

Actually doing a few different housekeeping things here (sorry for overloaded, working in a hurry)

  1. Fix a bug where sometimes .ruff.toml would be missing or partly written while checks running in parallel, leading to formatting going back and forth nondeterministically. Use os.rename for a tempfile which is an OS level atomic change, so there shouldn't be a partial or missing file at any point.
  2. Add .envrc for direnv usage. Default exclude .envrc from shell and copyright checks - they aren't actually appropriate on it, this has come up in consuming repos.
  3. Add Justfile and document dev workflows for using latest state on itself more easily. Move development to DEVELOPING.md, out of README.md
  4. Bump patch version to 2.1.4
  5. Add CI workflow that automatically creates and pushes tags when pyproject.toml version is bumped

…n. Ignore .envrc

Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
Signed-off-by: Emerson Knapp <emerson.b.knapp@gmail.com>
@emersonknapp emersonknapp merged commit 057153e into main Jun 15, 2026
3 checks passed
@emersonknapp emersonknapp deleted the emerson/fix-ruff-race-condition branch June 15, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant