prigdom
/ˈpraɪɡdəm/Definitions
1. noun
a person who is self-righteously critical of minor infractions or deviations from rules, often in a pedantic or annoying manner.
“The strict professor was known as a prigdom for always pointing out the slightest mistakes in the students’ work.”