Skip to main content

A configurable lint runner

Project description

Infinilint

Infinilint is a configurable lint runner. The base yaml configuration includes many common linters and a new linter is added with 3 or 4 lines of yaml. The linters are Docker images and are run in parallel to maximize feedback and make it practical to run continuously during development and as a stage in CI.

Requirements

Infinilint depends on Docker. Install the latest version for your platform.

Installing

Clone this repo and run:

pip install infinilint

Usage

To see the configured linters:

infinilint --list

To run a single linter:

infinilint rubocop

Run all enabled linters:

infinilint

Watch a folder continuously and run linters on any changes:

infinilint --watch

Configuration

In the root of your repository, create a .infinilint.yml file. This file will be combined with the base.yml in application folder. To enabled linters, create a file that looks like:

linters:
    rubocop:
        enabled: true
    yamllint:
        enabled: true

To add a linter not configured in the base.yml, create entries using the base.yml as a model.

Additional root values you can set in your config:

timeout: maximum number of seconds the tool is allowed to run
proxy: address of a local docker registry to pull the images from instead of dockerhub

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

infinilint-0.1.5.tar.gz (5.8 kB view details)

Uploaded Source

File details

Details for the file infinilint-0.1.5.tar.gz.

File metadata

  • Download URL: infinilint-0.1.5.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for infinilint-0.1.5.tar.gz
Algorithm Hash digest
SHA256 78a0434763fcf2b11d5e31b2ac6b8c6ca36b535594a7d5ce866b462a2e689c8e
MD5 9f7de20dce2b5acb4e7a8eff7eab03b9
BLAKE2b-256 839ba37fec425b44b89f396fec01404fd3f7704b61e70c591c794ebb2e08d37e

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