Hasty Briefsbeta

Show HN: Framework to create linters for Python, YAML, TOML, JSON

15 days ago
  • #python
  • #code-quality
  • #linting
  • lintkit is a framework for building linters/code checking rules.
  • Supports multiple formats: Python-first, YAML, JSON, and TOML.
  • Features include noqa comments, file skips, and standardized output.
  • Quick to create and run custom rules with minimal code.
  • Flexible rules over files and their subelements.
  • Minimalistic with <1000 lines of code, tutorials, and API reference.
  • Example provided for creating a custom linter with two rules.
  • Supports disabling linter using noqas out of the box.
  • Installation via pip with optional extras for additional functionality.
  • Licensed under Apache 2.0, copyrighted by open-nudge.