Skip to content

Nitpick

PyPI GitHub Workflow Supported Python versions Documentation Status Codecov pre-commit.ci status Project License

Command-line tool and flake8 plugin to enforce the same settings across multiple language-independent projects.

Useful if you maintain multiple projects and are tired of copying/pasting the same INI/TOML/YAML/JSON keys and values over and over, in all of them.

The CLI now has a nitpick fix command that modifies configuration files directly (pretty much like black and isort do with Python files). See the CLI documentation for more info.

Many more features are planned for the future, check the roadmap.

Note

This project is still a work in progress, so the API is not fully defined:

  • The style file syntax might have changes before the 1.0 stable release
  • The numbers in the NIP* error codes might change; don't fully rely on them
  • See also the breaking changes section