Skip to main content

ci pre-commit.ci status

double-indent

A code formatter to add double indentation to function and method definitions.

Installation

pip install double-indent

usage

usage: double-indent [-h] [-i INDENT] [filenames ...]

positional arguments:
  filenames

optional arguments:
  -h, --help            show this help message and exit
  -i INDENT, --indent INDENT
                        number of spaces for indentation

pre-commit hook

See pre-commit for instructions

Sample .pre-commit-config.yaml:

- repo: https://github.com/jkittner/double-indent
  rev: 0.1.5
  hooks:
    - id: double-indent

indent function and method definitions twice

 def func(
-    arg,
-    arg2,
+        arg,
+        arg2,
 ):
     ...
 class C:
     def __init__(
-        self,
-        arg,
+            self,
+            arg,
     ):
         ...

Metadata

Release files for double-indent 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for double-indent 0.1.5
File Size Uploaded Provenance Actions
double_indent-0.1.5.tar.gz 4.3 kB Without provenance Details for double_indent-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for double-indent 0.1.5
File Interpreter ABI Platform Actions
double_indent-0.1.5-py2.py3-none-any.whl Python 2, Python 3 none any Details for double_indent-0.1.5-py2.py3-none-any.whl

Total release size: 8.9 kB

Release files / double_indent-0.1.5.tar.gz

Download URL double_indent-0.1.5.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
50d89b34a21e116b760f11211d96b4f802c3aaba82e2bbab3a5f0d72844a645e
BLAKE2b-256 checksum
How to use checksums
926b4df90e44fd48469501b0a36d27dbc2dce3d32465081f44b5e3ad8d42265c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.19

Release files / double_indent-0.1.5-py2.py3-none-any.whl

Download URL double_indent-0.1.5-py2.py3-none-any.whl
Size 4.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9507d4698da854312655134ce3a0f1863a9834d4b67fbd6027654801bf39245d
BLAKE2b-256 checksum
How to use checksums
b1ed39089461bdad6ce3e148a517a3794f987cf7bb216a156c03111ef4945c29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.19

Security for double-indent 0.1.5

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page