chore: switch to ruff + pydoclint, deprecate .gitingest, and perform a repo-wide quality sweep #329
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.
Consolidates our lint/format tooling around Ruff, deprecates the old .gitingest spec, and sweeps the codebase for consistency & hidden bugs (no functional API changes).
black/darglinthooks →ruff-check&ruff-formatNew docstring linter: pydoclint
tomli; tightentyping_extensions; addeval-type-backportRemove
black,djlint,pylintfromrequirements-dev.gitingest(TOML)New
.gitingestignoreusing git-wildmatch (parses via existing_parse_ignore_file)[tool.ruff]section (lint + format + isort rules)Remove
[tool.black]; keep minimal[tool.isort]for nowfrom __future__ import annotations, kw-only args, richer typesRe-order params &
__all__, move type-only imports underif TYPE_CHECKINGExtract CLI args to
TypedDict[_CLIArgs]; form data topydantic.QueryFormDeduplicate
cli.main/_async_main& split large functionspathlibeverywhere, no file-IO in async, constants > magic numbersDelete
is_text_file– logic now lives inFileSystemNode.contentnotebook_utils._process_cell.gitingestignore(drop-in git-wildmatch).Existing
.gitingestis now deprecated.No other functional API or CLI changes.