Python wrapper around invoking editorconfig-checker (https://github.com/editorconfig-checker/editorconfig-checker)
Project description
editorconfig-checker.python
A Python wrapper to provide a pip-installable editorconfig-checker binary.
Internally, this package provides a convenient way to download the pre-built editorconfig-checker
binary for your particular platform.
Installation
$ pip install . # from source code
$ pip install editorconfig-checker # from PyPI
Usage
After installation, the ec
binary should be available in your environment (or ec.exe
on Windows):
$ ec -version
Usage with the pre-commit git hooks framework
editorconfig-checker
can be included as a hook for pre-commit.
The easiest way to get started is to add this configuration to your .pre-commit-config.yaml
:
repos:
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: '' # pick a git hash / tag to point to
hooks:
- id: editorconfig-checker
See the pre-commit docs to check how to customize this configuration.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for editorconfig-checker-2.3.52.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f151620831771ee5be94cf702c5222ea130a8942f958acf979bf1c8c5ad69e16 |
|
MD5 | e68bd94e3832cfa3d6d335134971b513 |
|
BLAKE2b-256 | 56302e56a2126de43966104de5f2b104a6ba72b406160a4287cfaa5100922350 |