Advanced tool for fixing tab/space indentation with universal formatter
Project description
TabFix Tool
Advanced tool for fixing tab/space indentation issues in code files.
Features
- Fix mixed tabs and spaces indentation
- Remove trailing whitespace
- Normalize line endings
- Handle
UTF-8BOM markers - Format
JSONfiles - Git integration
- Progress bars with tqdm
- Colorful output
Installation
# Install from PyPI
pip install tabfix-tool
# Or directly from GitHub
pip install git+https://github.com/hairpin01/tabfix.git
or via installer
curl https://raw.githubusercontent.com/hairpin01/tabfix/refs/heads/main/src/tabfix/installer.py | python3
From source
git clone https://github.com/hairpin01/tabfix.git && cd tabfix && pip install -e .
Usage
# Basic usage
tabfix file.py
# Recursive processing
tabfix --recursive src/
# Fix multiple issues
tabfix --all --progress .
# Check without modifying
tabfix --check-mixed --recursive .
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
tabfix_tool-1.2.2.tar.gz
(33.6 kB
view details)
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 tabfix_tool-1.2.2.tar.gz.
File metadata
- Download URL: tabfix_tool-1.2.2.tar.gz
- Upload date:
- Size: 33.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c2cc630692a4fce45ef1a16e52b7524fa39105082ddd262795c7417229c3d29
|
|
| MD5 |
5cf3e35a750e791c252d006f81bf9b2a
|
|
| BLAKE2b-256 |
4027d3d17f33e9ef64dcfbb0774ada6de011217a124e063fb1805985b25c9801
|
File details
Details for the file tabfix_tool-1.2.2-py3-none-any.whl.
File metadata
- Download URL: tabfix_tool-1.2.2-py3-none-any.whl
- Upload date:
- Size: 35.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b63aa7fe56bd37aaac37d001f81c4e983b0abc8527449c5ea1b1937f774ab71b
|
|
| MD5 |
43141769329e0a65e4fc8f4acd82541f
|
|
| BLAKE2b-256 |
3cdb848e4adaacad6eea1f7b54df624ab16dd477d531205812c36e622263a5f5
|