formate-black
Use black with formate.
Tests |
|
|---|---|
PyPI |
|
Activity |
|
QA |
|
Other |
Installation
formate-black can be installed from PyPI.
To install with pip:
$ python -m pip install formate-black
Hooks
formate-black provides a single hook for formate, which allows the black code formatter to be used.
black
Calls black, using the given keyword arguments as its configuration.
This hook only takes keyword arguments.
The max line length can be provided via the line_length keyword argument or in the config table as line_length.
The indent can also be set to tabs via the use_tabs keyword argument or in the config table as indent.
Example Configuration
[hooks]
reformat-generics = 40
collections-import-rewrite = 20
noqa-reformat = 60
ellipsis-reformat = 70
[hooks.black]
priority = 50
[hooks.black.kwargs]
string_normalization = false
magic_trailing_comma = false
[config]
indent = "\t"
line_length = 115
Metadata
Release files for formate-black 0.3.0
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 |
|---|---|---|---|---|
| formate_black-0.3.0.tar.gz | 4.7 kB | Without provenance | Details for formate_black-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| formate_black-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for formate_black-0.3.0-py3-none-any.whl |
Total release size: 10.4 kB
Release files / formate_black-0.3.0.tar.gz
| Download URL | formate_black-0.3.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6020cd3643a3a9347b3e8e33ea92f3b3a499f9331a94a782639d4899ef124606
|
|
BLAKE2b-256 checksum How to use checksums |
a95f8e839601219ccae4c56e5026db9e7d825223a267ef08d02db0cf5217f98c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / formate_black-0.3.0-py3-none-any.whl
| Download URL | formate_black-0.3.0-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ddb3ead869d45334da96892e4be6c383b8d78d3286eaafbee50e76cefe3fcd4
|
|
BLAKE2b-256 checksum How to use checksums |
ac530129a67df6b85731784758d506dee6acc65c998b1fa88c6a7121c2912d3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for formate-black 0.3.0
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.