black-tabby-formatter
A tool (and pre-commit hook) to run black, but with tabs instead of spaces.
Installation
$ pip install black-tabby-formatter
Usage as a pre-commit hook (recommended)
See pre-commit for instructions
Sample .pre-commit-config.yaml:
- repo: https://github.com/MarcoGorelli/black-tabby-formatter
rev: v0.1.1
hooks:
- id: black-tabby-formatter
Command-line
black-tabby-formatter file.py
To run on a directory, you can do:
black-tabby-formatter `find . -name "*.py"`
or, using pre-commit,
pre-commit try-repo https://github.com/MarcoGorelli/black-tabby-formatter
.
Configuration
You can pass extra command-line flags that black would normally accept, such as --check. Furthermore, any option you specify
in pyproject.toml will be respected.
Metadata
Release files for black-tabby-formatter 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| black_tabby_formatter-0.1.1.tar.gz | 3.5 kB | Without provenance | Details for black_tabby_formatter-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| black_tabby_formatter-0.1.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for black_tabby_formatter-0.1.1-py2.py3-none-any.whl |
Total release size: 7.4 kB
Release files / black_tabby_formatter-0.1.1.tar.gz
| Download URL | black_tabby_formatter-0.1.1.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
362dccdf68b3c26a880af4e11e00365f19cc8a1380ab70d8bb53bca695c54451
|
|
BLAKE2b-256 checksum How to use checksums |
9df7c6b6df68767950748a4e80942bc4163086db3dcfcb25f25f30d0ca005495
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
|
Release files / black_tabby_formatter-0.1.1-py2.py3-none-any.whl
| Download URL | black_tabby_formatter-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
3ed565fe7e3795ff6e4c7735522632292220eabe374bcdacf9514464ff7b8d62
|
|
BLAKE2b-256 checksum How to use checksums |
5d4d96b850d8b63a7be1b55e65edcab9e90bc7ee077eefaebb86b759e0cd6bbf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
|
Security for black-tabby-formatter 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.