Skip to main content

A simple toml syntax checker

Project description

A simple toml syntax checker.

Designed to be used by pre-commit hooks.

Installation

pip install -U tomlcheck

Usage

Check files:

tomlcheck $(find . -type f -name "*.toml")

# Or read from stdin

find . -type f -name "*.toml" | tomlcheck -

With logging:

tomlcheck --log-level DEBUG $(find . -type f -name "*.toml")

# Or read from stdin

find . -type f -name "*.toml" | tomlcheck --log-level DEBUG -

In pre-commit config:

# .pre-commit-config.yaml

- repo: local
  hooks:
  - id: tomlcheck
    name: Check TOML Syntax
    description: Checks TOML files for valid syntax.
    entry: tomlcheck
    language: system
    files: \**/*.toml$
    stages: [commit, push, manual]

Help Menu

tomlcheck --help

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

tomlcheck-0.2.2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

tomlcheck-0.2.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file tomlcheck-0.2.2.tar.gz.

File metadata

  • Download URL: tomlcheck-0.2.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.6 Darwin/19.5.0

File hashes

Hashes for tomlcheck-0.2.2.tar.gz
Algorithm Hash digest
SHA256 ac15f5e0817501b10be6f99b7ac07947333e9d944644ed945a8e7c5630b3ae50
MD5 1cc621b26a3db5b193e3f707b770aac5
BLAKE2b-256 7bb629eb65b9c3ceae0bc591b8dfa65f59ec03ff33dcee7412afcec698b87f82

See more details on using hashes here.

File details

Details for the file tomlcheck-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: tomlcheck-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.6 Darwin/19.5.0

File hashes

Hashes for tomlcheck-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6ec8aeed8e586afbc53636867b6630a32feef51dc4776614721cd89b51ff2a9e
MD5 dea1eb87ef6dbb6238ced3d31e48ad8c
BLAKE2b-256 4ba03f3cfdafe10e2513f7d6c634e452d0745ee744e7abe8c40abb9b1ddac891

See more details on using hashes here.

Supported by

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