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")

With logging:

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

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.1.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

tomlcheck-0.1.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tomlcheck-0.1.2.tar.gz
Algorithm Hash digest
SHA256 da8fa468c8d641986f052ab690526847e0ce9713d78fe90649591591510cc823
MD5 242abc83f973cabcc321c5c194729cb4
BLAKE2b-256 2feacced96822e0a94b43601fbb575d6f2009e473963255b23d6a8d88affc32f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tomlcheck-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 32d731757a93ef825103aa0574077f611319182edd38bf9d6ad6d07a9c96fda5
MD5 85dd68b2de1749a30c323eb8a1898f8f
BLAKE2b-256 1a3f46b777d98ffbb1f14394e3456f3dd5102eef0cc35422ee84a40359c1b3db

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