Releases: adamtheturtle/no-defaults
Releases · adamtheturtle/no-defaults
Release list
v2.1.0
What's Changed
- Leave one unfixable file alone rather than aborting the run by @adamtheturtle in #76
- Inherit the fields of a base that is a dataclass in the same file by @adamtheturtle in #77
- Refresh the performance figures for 2.0.0 by @adamtheturtle in #78
- Do not count a default in an unfixed file as removed by @adamtheturtle in #79
- Report call sites even when no default was removed by @adamtheturtle in #80
- Keep the defaults that follow one which cannot be removed by @adamtheturtle in #82
- Prepare the 2.1.0 release by @adamtheturtle in #83
Full Changelog: v2.0.0...v2.1.0
v2.0.0
What's Changed
- Update call sites when --fix removes a default by @adamtheturtle in #15
- Treat re-exported names as public under private_only by @adamtheturtle in #17
- Check field defaults on pydantic models by @adamtheturtle in #26
- Reject unknown keys in
[tool.no_defaults]by @adamtheturtle in #44 - Compile per-file enforcement globs once per configuration by @adamtheturtle in #45
- Error on a named path that is not a Python file by @adamtheturtle in #47
- Deduplicate checked files by canonical path by @adamtheturtle in #48
- Fix through a symlink instead of replacing it by @adamtheturtle in #49
- Report diagnostic columns in characters rather than bytes by @adamtheturtle in #50
- Strip a leading byte-order mark before checking by @adamtheturtle in #51
- Read each file once when reporting full output by @adamtheturtle in #52
- Report a syntax error per file instead of aborting the run by @adamtheturtle in #53
- Recognise a file-level noqa without a space after the colon by @adamtheturtle in #54
- Recognise a noqa directive anywhere in a comment by @adamtheturtle in #55
- Stop --fix deleting pragmas that follow a directive by @adamtheturtle in #56
- Merge overlapping deletions before applying them by @adamtheturtle in #57
- Honour --output-format when fixing by @adamtheturtle in #58
- Follow renaming imports of dataclasses and pydantic members by @adamtheturtle in #59
- Judge module privacy from the project root down by @adamtheturtle in #60
- Report defaults on lambda parameters by @adamtheturtle in #61
- Report but do not fix
= ...in stub files by @adamtheturtle in #62 - Index each file's line starts instead of rescanning per diagnostic by @adamtheturtle in #63
- Treat bases that declare no fields as non-inheriting by @adamtheturtle in #64
- Leave a call taking a bare generator expression alone by @adamtheturtle in #65
- Resolve
from . import moduleto the sibling module by @adamtheturtle in #66 - Do not rewrite calls to names an enclosing scope binds by @adamtheturtle in #67
- Resolve an absolute import at the importer's own root first by @adamtheturtle in #68
- Account for keyword-only fields in a dataclass constructor by @adamtheturtle in #69
- Address review findings from the issue-fixing series by @adamtheturtle in #70
- Prepare the 2.0.0 release by @adamtheturtle in #71
Full Changelog: v1.1.0...v2.0.0
v1.1.0
What's Changed
- Bump Swatinem/rust-cache from 42dc69e1aa15d09112580998cf2ef0119e2e91ae to e18b497796c12c097a38f9edb9d0641fb99eee32 by @dependabot[bot] in #2
- Bump similar from 2.7.0 to 3.1.1 by @dependabot[bot] in #3
- Bump actions/checkout from 6.1.0 to 7.0.1 by @dependabot[bot] in #4
- Bump astral-sh/setup-uv from 94527f2e458b27549849d47d273a16bec83a01e9 to 37802adc94f370d6bfd71619e3f0bf239e1f3b78 by @dependabot[bot] in #5
- Report unused
noqadirectives as NOD002 by @adamtheturtle in #10 - Warn that --fix does not update call sites by @adamtheturtle in #11
- Document Ruff lint.external and the private re-export limitation by @adamtheturtle in #9
- Suppress NOD001 for a whole signature or dataclass from its header line by @adamtheturtle in #12
- Treat quoted ClassVar annotations as class variables by @adamtheturtle in #13
- Add a "none" per-file enforcement level by @adamtheturtle in #14
- Prepare the 1.1.0 release by @adamtheturtle in #16
New Contributors
- @dependabot[bot] made their first contribution in #2
Full Changelog: v1.0.1...v1.1.0
v1.0.1
What's Changed
- Stop treating dataclass method locals as fields by @adamtheturtle in #7
New Contributors
- @adamtheturtle made their first contribution in #7
Full Changelog: v1.0.0...v1.0.1