krllint

KRL code checker


License
MIT
Install
pip install krllint==0.1.8

Documentation

krllint

krllint checks and automatically fixes KRL (KUKA Robot Language) code.

Installation

Youe can download krllint.py either from github or with this command:

$ pip install krllint

Exmaple usage

Show help:

$ krllint --help

Check files or folders:

$ krllint example.src
$ krllint example.src furhter_example.src
$ krllint source_dir

Automatically fix code:

$ krllint --fix example.src

Create a configuration file at the current working directory:

$ krllint --generate-config

krllint tries to load configuration files with the following sequence: krllint.conf.py:

  1. Explicitly defined as argument
  2. Current working directory
  3. ~/.config/
  4. Default configuration of krllint

Explicitly loading of a configuration file:

$ krllint --config krllint.config.py