Skip to main content

A pre-commit fixer for replacing ligature characters.

Project description

fix-ligatures

A pre-commit hook for automatically finding and replacing ligature characters with their ascii equivalents.

Supported Hooks

Only one hook is provided, fix-ligatures.

Use it in .pre-commit-config.yaml like so:

- repo: https://github.com/sirosen/fix-ligatures
  rev: 0.1.0
  hooks:
    - id: fix-ligatures

Standalone Usage

You can also pip install fix-ligatures to run the tool manually.

For full usage info:

fix-ligatures --help

Project details


Download files

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

Source Distribution

fix-ligatures-0.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

fix_ligatures-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file fix-ligatures-0.1.0.tar.gz.

File metadata

  • Download URL: fix-ligatures-0.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10

File hashes

Hashes for fix-ligatures-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d2f93e9ac6e3e52fb280cd673af76a5cd92ee558c597608c2879e1477c3c45c9
MD5 7646cb27a071dd55f6a52356ca74b1ae
BLAKE2b-256 2f9ee7c06aec20feb2f9385b46d674a9b6a79acc37a1ceb671d36e3373deabd8

See more details on using hashes here.

File details

Details for the file fix_ligatures-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: fix_ligatures-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.10

File hashes

Hashes for fix_ligatures-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e509f9881a0dda4529f520e4a54a54d1857195ad911f038c64f13e29c8f6aaa
MD5 52436c1d405ee170b9fa705d28411153
BLAKE2b-256 fa32dcd0b6cf6bec54870c74b1f5b6b38dab6f7f2b1686f5eedd99c49f6a5164

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page