Automatic source format compliance check