beautytips

Crates.iobeautytips
lib.rsbeautytips
version0.2.0
sourcesrc
created_at2024-06-15 23:23:53.87183
updated_at2024-09-15 21:15:21.705307
descriptionThe beautytips code prettifier
homepagehttps://github.com/hunger/beautytips
repositoryhttps://github.com/hunger/beautytips
max_upload_size
id1273186
size183,317
Tobias Hunger (hunger)

documentation

README

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 git repos
    • can configure itself as commit hook
  • works with jj repos
  • works with pijul repos
  • 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 actionlint installed)
    • cspell (needs cspell installed)
  • 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:

beautytips list-actions

List all files beautytips will run actions on. In this case check the jj version control system for changed files.

beautytips list-files --from-vcs=jj

Run all 'check' actions on all files in the current directory:

beautytips run --from-dir . '*/check_*'

Run all fix actions cargo namespace on all files git considers changed:

beautytips run --from-vcs=git 'cargo/fix_*'
Commit count: 65

cargo fmt