Skip to main content

editorconfig-checker.python

PyPI Latest Release Downloads MIT License

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

  • From source code:
    pip install .
    
  • From PyPI:
    pip install editorconfig-checker
    

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

The above hook is a python wrapper that automatically downloads and installs editorconfig-checker binary. If you manage your tools in some other way, for example, via ASDF, you may want to use an alternative pre-commit hook that assumes that ec binary executable is already available on the system path:

repos:
-   repo: https://github.com/editorconfig-checker/editorconfig-checker.python
    rev: ''  # pick a git hash / tag to point to
    hooks:
    -   id: editorconfig-checker-system
        alias: ec

See the pre-commit docs to check how to customize this configuration.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

editorconfig_checker-3.11.1.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file editorconfig_checker-3.11.1.tar.gz.

File metadata

  • Download URL: editorconfig_checker-3.11.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.6

File hashes

Hashes for editorconfig_checker-3.11.1.tar.gz
Algorithm Hash digest
SHA256 043b5ae504bc2e6d4497ac4e3058f143339eb3cffd56abb7a215c44ebfd73a1b
MD5 e654adfaf08d6f6850947047f37ccafb
BLAKE2b-256 c32dd19e303795e994d02864b1ecbeefcecc125ba3a04a3458b4478f597fd0eb

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.11.1 This release

1 file

3.11.0

1 file

3.10.0

1 file

3.8.0

1 file

3.7.0

1 file

3.6.1

1 file

3.6.0

1 file

3.5.0

1 file

3.4.1

1 file

3.4.0

1 file

3.3.0

1 file

3.2.1

1 file

3.2.0

1 file

3.1.3

1 file

3.1.2

1 file

3.0.3

1 file

2.7.3

1 file

2.7.2

1 file

2.7.1

1 file

2.7.0

1 file

2.6.2

1 file

2.6.1

1 file

2.6.0

1 file

2.4.0

1 file

2.3.54

1 file

2.3.53

1 file

2.3.52

1 file

2.3.51

2 files

2.3.5

2 files

2.3.4

2 files

2.3.3

2 files

2.1.0

2 files

2.0.3

1 file

1.0.1

1 file

1.0.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page