v0.5.0
Overview
This release adds a lot of internal Ruff-like functionality (much of it borrowed directly from Ruff!), and has made both the CLI and config files more user-friendly:
- Outputs a success message when no errors are found.
- Rules can be selected by name as well as by code, e.g.
--select=line-too-long
- Entire rule categories can be toggled, either by name or by code, e.g.
--select=T
or--ignore=typing
- Multiple output modes can be selected using
--output-format=full/concise/json
- Fixed bugs in the config file reader, TOML errors are now propagated to the user
- Checking now occurs in parallel, giving a speed boost on larger projects
We've also put in place a lot of the required infrastructure for auto-fixes, so we expect to have that working by the next release.
What's Changed
- Update README install instructions by @LiamPattinson in #93
- Make
check
functions static by @ZedThree in #97 - Use ruff's diagnostics crate by @ZedThree in #96
- Add crate for proc-macros by @ZedThree in #98
- Update dev README to provide correct commands for installing from source by @jatkinson1000 in #102
- Add fix for superfluous implicit none by @LiamPattinson in #99
- Add a success message when all checks are passed and a summary of number of files scanned by @jatkinson1000 in #104
- Add
Rule
enum by @ZedThree in #107 - Add CITATION.cff, update authors lists by @LiamPattinson in #109
- Fix explain bug with RuleSelector, improve explain output by @LiamPattinson in #110
- Enable more sophisticated rule selection by @ZedThree in #108
- Select rules by name by @LiamPattinson in #111
- Select categories by name by @LiamPattinson in #112
- Make
explain
arguments positional by @ZedThree in #113 - Remove deleted flag from help text by @ZedThree in #115
- Refactor: Use
strum_macros
to get rule and category names by @LiamPattinson in #116 - Add some basic integrated tests by @ZedThree in #117
- Convert unit tests to snapshot tests by @ZedThree in #121
- CI: Bump deprecated macos runner by @ZedThree in #123
- Fix reading config files by @ZedThree in #124
- Update precision explanations by @LiamPattinson in #126
- docs: Clarify how
check
searches for files by @ZedThree in #128 - CI: Only format/lint on pushes by @ZedThree in #130
- Add structure for more output formats by @ZedThree in #127
- Parallelise check by @LiamPattinson in #129
- CI: Check installation by @ZedThree in #131
- Update version to 0.5.0 by @LiamPattinson in #132
Full Changelog: v0.4.0...v0.5.0