Move clippy usage into directive