Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

validatetest_fmt-0.1.3.tar.gz (38.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

validatetest_fmt-0.1.3-py3-none-win_amd64.whl (166.5 kB view details)

Uploaded Python 3Windows x86-64

validatetest_fmt-0.1.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (288.6 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

validatetest_fmt-0.1.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (255.9 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

validatetest_fmt-0.1.3-py3-none-macosx_11_0_arm64.whl (254.2 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

validatetest_fmt-0.1.3-py3-none-macosx_10_12_x86_64.whl (265.5 kB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file validatetest_fmt-0.1.3.tar.gz.

File metadata

  • Download URL: validatetest_fmt-0.1.3.tar.gz
  • Upload date:
  • Size: 38.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.11.5

File hashes

Hashes for validatetest_fmt-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b01499e1a5c624dad2236c76f9ee7d99e2026936973c31f4d4b63fe7d1bca5f2
MD5 ecf758e57b810680d23c1ce0aa83864f
BLAKE2b-256 a09f5432fcfcca8d806c9a2cf93e73545a597bee2fe6ca2ca0b180ce5ea62fe9

See more details on using hashes here.

File details

Details for the file validatetest_fmt-0.1.3-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for validatetest_fmt-0.1.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 207193859fcd8f90b6a833f2e6f9f31680131d1a385c81c1cf7808f67c589ebc
MD5 9358ac2c1cd74e21e560aa6054497cc7
BLAKE2b-256 38441596bb7e4475a5a70b362dad402d124fc2eb27ec5f24bee1cda1f9aec70d

See more details on using hashes here.

File details

Details for the file validatetest_fmt-0.1.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for validatetest_fmt-0.1.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5a93e4e7eb2e7df9da84f648ae2054ccdae8a09fd9ef5b27eb01b341b5d5b40f
MD5 453a73d8c38eb2e976a786de20b11a26
BLAKE2b-256 59ea386160fee9635f873b608c169be62266df18a0ba4e017bdcae7899b64d15

See more details on using hashes here.

File details

Details for the file validatetest_fmt-0.1.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for validatetest_fmt-0.1.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 caa577cf6bbfc55f2c60d6bcabfc9d450da15a35612df29b034bc08a559b5ce8
MD5 cb7b30c9fa010a0c26ff2bc6d3919cb1
BLAKE2b-256 758cad6fd90c298af167388f156395bff25556faee68abb66c88e15e51f44a52

See more details on using hashes here.

File details

Details for the file validatetest_fmt-0.1.3-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for validatetest_fmt-0.1.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 60a45327540045851f1e6eb8ce893ee57464214ae4e8904167c26b44fb1e7a40
MD5 8001ff05f5134058a47daf00d3e20948
BLAKE2b-256 8e92d11ec01f18fe9d31177d1f1750c2787a6dbab2028f604c66950b8bedae7d

See more details on using hashes here.

File details

Details for the file validatetest_fmt-0.1.3-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for validatetest_fmt-0.1.3-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0749bf89cc2e51566c0ad7a866b6c79fb366d3dc41dce88e743b3301854a4d84
MD5 94be08d944a232f6d1bc8827c15db889
BLAKE2b-256 6501c55f16704555032fd6fc54a904dc68c428391f0f25598c2698774aa7d30e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page