Something like this could be added as well https://github.com/mdg-iitr/appi/blob/1870d2a007501d0a82d73fe2469471418587e50c/linter.py or included in the test suite.