Advanced tool for fixing tab/space indentation issues in code files
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/tags/v1.0.1/src/tabfix/installer.py | python3
From source
git clone https://github.com/alina/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
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.1.1.tar.gz.
File metadata
- Download URL: tabfix_tool-1.1.1.tar.gz
- Upload date:
- Size: 25.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b10d5c55d06da6edfdc5c9a1a19f380af09099d850682b119effca05f555df0
|
|
| MD5 |
81e93d61beb5d5490b4ad5a9322d5b05
|
|
| BLAKE2b-256 |
badfdcf79a3c5e105367b113bdad19eb324d2037f9edd41ffe9c4feb8254846f
|
Provenance
The following attestation bundles were made for tabfix_tool-1.1.1.tar.gz:
Publisher:
publish.yml on hairpin01/tabfix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tabfix_tool-1.1.1.tar.gz -
Subject digest:
7b10d5c55d06da6edfdc5c9a1a19f380af09099d850682b119effca05f555df0 - Sigstore transparency entry: 763938573
- Sigstore integration time:
-
Permalink:
hairpin01/tabfix@1684e85bcc1cedf27da20a78883c50f6a092c9b1 -
Branch / Tag:
refs/tags/v1.1.1 - Owner: https://github.com/hairpin01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1684e85bcc1cedf27da20a78883c50f6a092c9b1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file tabfix_tool-1.1.1-py3-none-any.whl.
File metadata
- Download URL: tabfix_tool-1.1.1-py3-none-any.whl
- Upload date:
- Size: 25.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffc47e98ad2f6e59b3c3fc7d17e77aa2efa515b0bfa96dfb4b429a4263b22cca
|
|
| MD5 |
89332b754fd4b8ecf879a5846015dda8
|
|
| BLAKE2b-256 |
b0d5812d15593dcc912fbb41b248adeddfb45f5956ca191a25eab70d4594e266
|
Provenance
The following attestation bundles were made for tabfix_tool-1.1.1-py3-none-any.whl:
Publisher:
publish.yml on hairpin01/tabfix
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tabfix_tool-1.1.1-py3-none-any.whl -
Subject digest:
ffc47e98ad2f6e59b3c3fc7d17e77aa2efa515b0bfa96dfb4b429a4263b22cca - Sigstore transparency entry: 763938575
- Sigstore integration time:
-
Permalink:
hairpin01/tabfix@1684e85bcc1cedf27da20a78883c50f6a092c9b1 -
Branch / Tag:
refs/tags/v1.1.1 - Owner: https://github.com/hairpin01
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1684e85bcc1cedf27da20a78883c50f6a092c9b1 -
Trigger Event:
release
-
Statement type: