extendr / rextendr

An R package that helps scaffolding extendr-enabled packages or compiling Rust code dynamically
https://extendr.github.io/rextendr/
Other
181 stars 27 forks source link

Exclude wrappers from linting #214

Closed Ilia-Kosenkov closed 1 year ago

Ilia-Kosenkov commented 1 year ago

See discussion in #169

Ilia-Kosenkov commented 1 year ago

So this is a kinda hacky but useful (IMO) fix -- when emitting wrappers, we first right out that 'it was generated by extendr' and then wrap all of the actual code with nolint since it is auto-generated. I thought of updating extendr and how it generates wrappers but decided to do it here in {rextendr} as a post-processing step.