Skip to content

🔧 build(lint): pin simplint 0.12.2 - #262

Merged
gaborbernat merged 6 commits into
tox-dev:mainfrom
gaborbernat:build/bump-simplint-0.12.0
Nov 13, 2026
Merged

gaborbernat merged 6 commits into
tox-dev:mainfrom
gaborbernat:build/bump-simplint-0.12.0

Conversation

@gaborbernat

@gaborbernat gaborbernat commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Pin the simplint 0.12.2 hook for contributor and CI checks. Behaviour for users does not change.

The release adds rules that found tests asserting nothing and a test that edits os.environ by hand. Those tests now assert what they exercise: an empty or no-op store reads back nothing, and a path given twice in try_first_with is proposed once. The TCL_LIBRARY test goes through monkeypatch.

The autofix moves the uv install dataclasses, VersionInfo, normalize_isa, _parse_specifier, SimpleVersion, NoOpContentStore and a test fixture tuple next to their first users. Every moved name is read only inside function bodies or lazy annotations, so import order is unaffected. Ruff's unnecessary-regular-expression-compile is enabled again: simplint no longer conflicts with it.

too-many-attributes also reports the interpreter collector. Each of its fields is a public PythonInfo attribute and a key of the cached interrogation JSON, so grouping them would break both. That class keeps a line-level ignore stating this.

@gaborbernat gaborbernat added the skip news No user-facing changelog entry needed label Nov 13, 2026
@gaborbernat
gaborbernat force-pushed the build/bump-simplint-0.12.0 branch from 7e477c4 to aa3902d Compare November 13, 2026 20:22
@gaborbernat gaborbernat changed the title 🔧 build(lint): pin simplint 0.12.0 🔧 build(lint): pin simplint 0.12.1 Nov 13, 2026
@gaborbernat
gaborbernat force-pushed the build/bump-simplint-0.12.0 branch from aa3902d to 8aa43c6 Compare November 13, 2026 22:27
@gaborbernat gaborbernat changed the title 🔧 build(lint): pin simplint 0.12.1 🔧 build(lint): pin simplint 0.12.2 Nov 13, 2026
@gaborbernat
gaborbernat merged commit 7063178 into tox-dev:main Nov 13, 2026
22 checks passed
@gaborbernat
gaborbernat deleted the build/bump-simplint-0.12.0 branch November 16, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news No user-facing changelog entry needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant