Nextflow lint - config files - secrets support

Hi team,

The Nextflow lint command is brilliant, I’ve already started to add into our CI and pre-commits.

But I had to ignore some config files because the linter doesn’t recognize the secrets:

≻ nextflow lint profile-bases/
Error profile-bases/codon/base.config:16:17: `secrets` is not defined
│  16 |     accessKey = secrets.FIRE_ACCESS_KEY
╰     |                 ^^^^^^^

Error profile-bases/codon/base.config:17:17: `secrets` is not defined
│  17 |     secretKey = secrets.FIRE_SECRET_KEY
╰     |                 ^^^^^^^

Would it be possible to add that? I can spend a some time adding support for this, any tips on where to start would be nice.

Cheers

1 Like