A project to lint and provide useful commentary on EPICS database files
Currently this project is in a very early state, as time passes, more support filetypes/field will be added.
Name suggestions, bug reports and feature requests are appreciated!
pip3 install epics-linter
pip3 install .
python3 -m epics_linter file.db
record(ai, "test", oops) {
field(DESC, "$(DESCRIPTION)")
field(DTYP, "stream")
field(EGU, "$(EGU)")
[...]
}
python3 -m epics_linter file.db
>> Too many arguments at 1:20
record(ai, "test") {
field(DESC, "a way too long description name that does not fit in the maximum limit")
field(DTYP, "stream")
field(EGU, "$(EGU)")
[...]
}
python3 -m epics_linter file.db
>> Record description too long (maximum of 40) at 2:17 to 2:89