Trento checks' ecosystem linting tool

Related tags

Command-line tlint
Overview

Rashomon

Validation engine for Trento Checks DSL.

Usage

$ tlint -h
tlint 0.9.0

USAGE:
    tlint [OPTIONS]

OPTIONS:
    -f, --file <FILE>    
    -h, --help           Print help information
    -V, --version        Print version information

Rashomon accepts standard input (until EOF):

$ cat check.yml | target/debug/tlint
  156F64   - expectations - List must not be empty

Or you can use the -f option to directly let Rashomon pick a file.

$ tlint -f check.yml 
  156F64   - expectations - List must not be empty
You might also like...
qsv - Performant CLI tool to query CSVs through SQL

qsv Performant CLI tool to query CSVs through SQL Installation After cloning the repository, you can install a binary locally using cargo install --pa

dua (- Disk Usage Analyzer) is a tool to conveniently learn about the usage of disk space of a given directory

dua (- Disk Usage Analyzer) is a tool to conveniently learn about the usage of disk space of a given directory. It's parallel by default and will max

rip is a command-line deletion tool focused on safety, ergonomics, and performance

rip (Rm ImProved) rip is a command-line deletion tool focused on safety, ergonomics, and performance. It favors a simple interface, and does not imple

A command-line benchmarking tool
A command-line benchmarking tool

hyperfine 中文 A command-line benchmarking tool. Demo: Benchmarking fd and find: Features Statistical analysis across multiple runs. Support for arbitra

An interactive cheatsheet tool for the command-line
An interactive cheatsheet tool for the command-line

navi An interactive cheatsheet tool for the command-line. navi allows you to browse through cheatsheets (that you may write yourself or download from

fastmod is a fast partial replacement for the codemod tool

fastmod is a fast partial replacement for codemod. Like codemod, it is a tool to assist you with large-scale codebase refactors, and it supports most of codemod's options.

😎 A CLI tool for fetching data and displaying it nicely

😎 A CLI tool for fetching data and displaying it nicely. (The neofetch for remote data fetching)

kwctl is the go-to CLI tool for Kubewarden users.

kwctl kwctl is the go-to CLI tool for Kubewarden users. Think of it as the docker CLI tool if you were working with containers. How does kwctl help me

A Rust CLI tool that helps you enforce Git policies through Git hooks both server and client side

GitPolicyEnforcer This is a command line utility written in Rust, that helps you utilize Git hooks, to enforce various policies. It currently supports

Comments
  • tlint does not know property 'severity'

    tlint does not know property 'severity'

    In the documentation https://www.trento-project.io/wanda/specification.html it is described that we can use a property called 'severity'. So I added the line

    severity: warning

    in the check '222A57.yaml'

    And 'tlint lint -f 222A57.yaml' shows:

    222A57 - Additional properties are not allowed ('severity' was unexpected) path:

    So for now I do not use this property inside the check definition, but we should clarify, if it is a problem of the documentation or of tlint.

    bug 
    opened by angelabriel 3
  • tlint problems validating check 'id's

    tlint problems validating check 'id's

    tlint 0.9.2 When the check id contains only digits, but no other character, tlint reports an error 790926 - 790926 is not of type "string" path: /id

    it is ignoring '0' 7E0221 - 7e221 is not of type "string" path: /id

    and really confusing 822E47 - 8.22e49 is not of type "string" path: /id

    opened by angelabriel 4
  • tlint 0.9.2 doesn't show check id of failing check

    tlint 0.9.2 doesn't show check id of failing check

    tlint 0.9.2 doesn't seem to show check id of failing check. There is no way to see which of the listed check files triggered the error message(s) when linting all files in a directory.

    $ sed -i.bak s/script/scropt/g 156F64.yaml
    $ cp 156F64.yaml 123456.yaml
    $ cp 156F64.yaml ABDCEF.yaml
    $ tlint lint -f .
      Parse error   - missing field `description`
      Parse error   - missing field `description`
      Parse error   - missing field `description`
    $ 
    
    opened by gereonvey 0
Owner
Trento
Trento
Are we lang yet? A simple website providing information about the status of Rust's language development ecosystem.

Are We Lang Yet This project answers the question "Is the Rust ecosystem ready to use for language development yet?". arewelangyet.com What is this? C

null 8 Dec 7, 2022
A statically typed language that can deeply improve the Python ecosystem

The Erg Programming Language This is the main source code repository for Erg. This contains the compiler and documentation. 日本語 | 简体中文 | 繁體中文 Erg can

The Erg Programming Language 2.1k Jan 1, 2023
A menu widget for tui-rs ecosystem

tui-menu A menu widget for tui-rs ecosystem. Features Sub menu groups. Intuitive movement. Item's data is generic as long as it Cloneable. Try cargo r

shuo 3 Nov 30, 2022
Putting a brain behind `cat`🐈‍⬛ Integrating language models in the Unix commands ecosystem through text streams.

smartcat (sc) Puts a brain behind cat! CLI interface to bring language models in the Unix ecosystem and allow power users to make the most out of llms

Emilien Fugier 28 Dec 2, 2023
A command line tool written in Rust and designed to be a modern build tool + package manager for C/C++ projects.

CCake CCake is a command line tool written in Rust and designed to be a modern build tool + package manager for C/C++ projects. Goals To be easily und

Boston Vanseghi 4 Oct 24, 2022
Rust File Management CLI is a command-line tool written in Rust that provides essential file management functionalities. Whether you're working with files or directories, this tool simplifies common file operations with ease.

Rust FileOps Rust File Management CLI is a command-line tool written in Rust that provides essential file management functionalities. Whether you're w

Harikesh Ranjan Sinha 5 May 2, 2024
Blockoli is a high-performance tool for code indexing, embedding generation and semantic search tool for use with LLMs.

blockoli ???? Blockoli is a high-performance tool for code indexing, embedding generation and semantic search tool for use with LLMs. blockoli is buil

Asterisk 76 Jul 24, 2024
CLI Tool for tagging and organizing files by tags.

wutag ?? ??️ CLI tool for tagging and organizing files by tags. Install If you use arch Linux and have AUR repositories set up you can use your favour

Wojciech Kępka 32 Dec 6, 2022
CLI tool to bake your fresh and hot MD files

At least once in your Rust dev lifetime you wanted to make sure all code examples in your markdown files are up-to-date, correct and code is formated, but you couldn't make that done with already existing tools - fear not!

Patryk Budzyński 39 May 8, 2021
A CLI tool that allow you to create a temporary new rust project using cargo with already installed dependencies

cargo-temp A CLI tool that allow you to create a new rust project in a temporary directory with already installed dependencies. Install Requires Rust

Yohan Boogaert 61 Oct 31, 2022