Adjectives

(s)pro forma, perfunctorydone or produced as a formality only“a one-candidate pro forma election”

Adverbs

(r)perfunctorily, pro formain a set manner without serious attention; as a formality“they answered my letter pro forma”, “he kissed her cheek perfunctorily”