Skip to main content

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

Metadata

Release files for tomlcheck 0.2.3

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

Source distribution (sdist)

Source distribution for tomlcheck 0.2.3
File Size Uploaded
tomlcheck-0.2.3.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tomlcheck 0.2.3
File Interpreter ABI Platform
tomlcheck-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 5.5 kB

Release files / tomlcheck-0.2.3.tar.gz

Download URL tomlcheck-0.2.3.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0865ae7ccaf41f1a36a3b0de48c59289d9a5d00998fcd338199c8c69ddd11405
BLAKE2b-256 checksum
How to use checksums
e94b4ceedc53234fbea932bd6db9e63ca7d139356c1461cd8f7a5c4d19910375
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release files / tomlcheck-0.2.3-py3-none-any.whl

Download URL tomlcheck-0.2.3-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f4f9e4e87e83b5d7577fbca63f3f51712b986781ee6ff69987d3c0cd703425d
BLAKE2b-256 checksum
How to use checksums
47d43f06ee42f779f1acccb568e108055811bfd98d085df3e92413c1dfc2b2ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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