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
alias: ec
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.53.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | de7f9b6c14eca12776ff091cb27ddc839746f2e9d0b74ec9d0a02b6863dacd49 |
|
MD5 | 1e811329a6510c7956ff64bfc1aa5a32 |
|
BLAKE2b-256 | 9924281ae43981b07d1b28843fbe1feb66f30eb967c5ed94e6c6cdac71791bbd |