krllint checks and automatically fixes KRL (KUKA Robot Language) code.
Youe can download krllint.py
either from github or with this command:
$ pip install krllint
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
:
- Explicitly defined as argument
- Current working directory
~/.config/
- Default configuration of krllint
Explicitly loading of a configuration file:
$ krllint --config krllint.config.py