Releases: astral-sh/ruff
Releases · astral-sh/ruff
v0.0.69
What's Changed
- Support linting input from stdin by @harupy in #387
- Add fake setup.py by @charliermarsh in #399
- Add D212, D213, D300, D403, and D415 by @charliermarsh in #400
- Skip docstring checks for empty docstrings by @charliermarsh in #402
Full Changelog: v0.0.68...v0.0.69
v0.0.68
What's Changed
- Remove check_ prefix from check utilities by @charliermarsh in #393
- Implement docstring tracking by @charliermarsh in #394
- Implement D410 (EmptyDocstring) by @charliermarsh in #395
- Implement D400 (DocstringEndsInNonPeriod) by @charliermarsh in #396
- Implement D200 (OneLinerDocstring) by @charliermarsh in #397
- Implement D205, D209, and D210 by @charliermarsh in #398
Full Changelog: v0.0.67...v0.0.68
v0.0.67
What's Changed
- Implement B011 from flake8-bugbear by @charliermarsh in #390
- Implement B025 from flake8-bugbear by @charliermarsh in #391
- Implement B014 from flake8-bugbear by @charliermarsh in #392
Full Changelog: v0.0.66...v0.0.67
v0.0.66
What's Changed
- Implement C409 by @harupy in #381
- Implement C410 by @harupy in #382
- Avoid F821 false-positives with NameError by @charliermarsh in #386
- Flag unimplemented error codes in M001 by @charliermarsh in #388
Full Changelog: v0.0.65...v0.0.66
v0.0.65
What's Changed
- Defer string annotations even when futures annotations are enabled by @charliermarsh in #378
- Rename SPR001 to U008 by @charliermarsh in #379
- Extend assertEquals check to all deprecated unittest aliases by @charliermarsh in #380
Full Changelog: v0.0.64...v0.0.65
v0.0.64
What's Changed
- Implement C415 by @harupy in #371
- Fix collapsed message by @harupy in #372
- Mark aliased submodule imports as used by @charliermarsh in #374
- Treat TypeAlias values as annotations by @charliermarsh in #377
Full Changelog: v0.0.63...v0.0.64
v0.0.63
What's Changed
- Create unified Expr for PEP 604 rewrites by @charliermarsh in #370
Full Changelog: v0.0.62...v0.0.63
v0.0.62
What's Changed
- Use strum to iterate over all check codes by @charliermarsh in #366
- Use strum to facilitate simple enum serialization by @charliermarsh in #367
- Implement PEP 585 annotation rewrites by @charliermarsh in #368
- Implement PEP 604 annotation rewrites by @charliermarsh in #369
Full Changelog: v0.0.61...v0.0.62
v0.0.61
What's Changed
- Update GitHub Actions versions in README by @StevenMaude in #358
- Add check for W292 by @cnpryer in #339
- Implement C402 by @harupy in #359
- Add missing C400,C401, and C402 to
CheckCode.from_strby @harupy in #361 - Implement C405 by @harupy in #362
- Implement C406 by @harupy in #363
- Implement C408 by @harupy in #364
- Check newline ending on contents directly by @charliermarsh in #365
New Contributors
- @StevenMaude made their first contribution in #358
- @cnpryer made their first contribution in #339
Full Changelog: v0.0.60...v0.0.61
v0.0.60
What's Changed
- Wrap each import in its own backticks by @charliermarsh in #346
- Implement type(primitive) by @charliermarsh in #353
- Rename refactor checks to upgrade checks by @charliermarsh in #354
- Warn the user if an explicitly selected check code is ignored by @charliermarsh in #356
Full Changelog: v0.0.59...v0.0.60