Beautytips
Make your code prettier.
Beautytips is a tool to run a set of checks on files and report back on the results.
Typically you run linters and formatters on code in a repository.
Features
- works with
gitrepos- can configure itself as commit hook
- works with
jjrepos - works with
pijulrepos - runs tools in parallel if possible
- Supports configurable tools
- ... on a user level
- ... on a repository level
- Has builtin definitions
- for rustfmt, clippy, etc. (needs cargo + co. installed)
- github actions (needs
actionlintinstalled) - cspell (needs
cspellinstalled)
- can manage the installation of necessary tools
Supported Platforms
| OS | Status |
|---|---|
| Linux | builds and works |
| MacOS | builds, but may or may not do something |
| Windows | builds, but may or may not do something |
Example usage
List all known actions:
List all files beautytips will run actions on. In this case check the
jj version control system for changed files.
Run all 'check' actions on all files in the current directory:
Run all fix actions cargo namespace on all files git considers changed: