Formatter for GStreamer ValidateTest files
Project description
validatetest-fmt
A formatter for GStreamer ValidateTest files (.validatetest).
Installation
uv tool install validatetest-fmt
Usage
# Format files in place
validatetest-fmt -i file.validatetest
# Check if files are formatted (useful for CI)
validatetest-fmt --check file.validatetest
# Read from stdin, write to stdout
cat file.validatetest | validatetest-fmt
# Custom indentation (default: 4 spaces)
validatetest-fmt --indent 2 file.validatetest
# Custom line length (default: 120)
validatetest-fmt --line-length 80 file.validatetest
Pre-commit Hook
Add to your .pre-commit-config.yaml:
- repo: local
hooks:
- id: validatetest-fmt
name: validatetest-fmt
language: python
entry: validatetest-fmt --check
types_or: [file]
files: '\.validatetest$'
additional_dependencies: ["validatetest-fmt>=0.1.0"]
License
MIT
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 Distributions
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 validatetest_fmt-0.1.4.tar.gz.
File metadata
- Download URL: validatetest_fmt-0.1.4.tar.gz
- Upload date:
- Size: 39.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7d3490c39ac0d668e7ba2efedef0f81839c3bd6d02396a134c6605ff2a107ad
|
|
| MD5 |
10ec10225cc64a207fd3e64c6e2f511f
|
|
| BLAKE2b-256 |
3b845ecc47bf35af413938e3b59a8b155b34b98155a4733730712ea4f83b48f2
|
File details
Details for the file validatetest_fmt-0.1.4-py3-none-win_amd64.whl.
File metadata
- Download URL: validatetest_fmt-0.1.4-py3-none-win_amd64.whl
- Upload date:
- Size: 169.9 kB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f71d0b74f7cec592995fb8a46381ddcf9c80dc8780382e2cb0ec462355859bdb
|
|
| MD5 |
7b4b8eea5e06bff5e6cc0cf2860d01b7
|
|
| BLAKE2b-256 |
1e279eeece60b39cd0d64a817ea01ca170b4e5484f1e5816154fa1316d6aac71
|
File details
Details for the file validatetest_fmt-0.1.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: validatetest_fmt-0.1.4-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 292.3 kB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebafde07a717dcb78e90de7b358ada2d1c8ddf491809365d5d7a416b04d85ae2
|
|
| MD5 |
4b715d70b4eac5ef8afb8605da90ce12
|
|
| BLAKE2b-256 |
95562fbe642fe33044e4285f3aad302345d9ced464218d770b0fc306d35af3d3
|
File details
Details for the file validatetest_fmt-0.1.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: validatetest_fmt-0.1.4-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 259.3 kB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
780cbb0302240b1b2a6a4d6254ab5ef450151b936830f514058fc818c08a9983
|
|
| MD5 |
0895e3f01e4f67cffe0b0ee2d9e65843
|
|
| BLAKE2b-256 |
ec5133f41104df79d2ef7be8828db022cb7c4e0d0f3a539f0b7eeeb706be8ea6
|
File details
Details for the file validatetest_fmt-0.1.4-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: validatetest_fmt-0.1.4-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 257.5 kB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fb3b92c80e92d062301d77a5205bdb5719afd94ecdf7324465af48c183d458d
|
|
| MD5 |
d0b23905062e4b374801dc714219a8e5
|
|
| BLAKE2b-256 |
3d1022dea56ca3ebe64bc7a4218d4fe73718474081fa7972cb1cb26406ceba1c
|
File details
Details for the file validatetest_fmt-0.1.4-py3-none-macosx_10_12_x86_64.whl.
File metadata
- Download URL: validatetest_fmt-0.1.4-py3-none-macosx_10_12_x86_64.whl
- Upload date:
- Size: 269.2 kB
- Tags: Python 3, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4607a4d5b2a9610da3f52575ba6657c6bb90d59a20babe34774ea3c3b574c46
|
|
| MD5 |
4528c3777c6ad18344aead387d3abe61
|
|
| BLAKE2b-256 |
867eca3b3c1127eef967db011cc2fb350b09d8aaac97cfe487d4b1974cb9acc9
|