Skip to content

Draft: Add pre-commit config and run pre-commit

Anders Lindh Olsson requested to merge add-pre-commit into master

This MR adds a .pre-commit-config.yaml with rules for python linting and formatting and for some minor checks on .cmd and .iocsh files.

As there was an significant number of linting warnings, some refactoring of various python scripts was also required.

Prior to merge all scripts and displays have to be tested to assure matching functionality.

Edited by Anders Lindh Olsson

Merge request reports