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
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2f93e9ac6e3e52fb280cd673af76a5cd92ee558c597608c2879e1477c3c45c9
|
|
| MD5 |
7646cb27a071dd55f6a52356ca74b1ae
|
|
| BLAKE2b-256 |
2f9ee7c06aec20feb2f9385b46d674a9b6a79acc37a1ceb671d36e3373deabd8
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8e509f9881a0dda4529f520e4a54a54d1857195ad911f038c64f13e29c8f6aaa
|
|
| MD5 |
52436c1d405ee170b9fa705d28411153
|
|
| BLAKE2b-256 |
fa32dcd0b6cf6bec54870c74b1f5b6b38dab6f7f2b1686f5eedd99c49f6a5164
|