HomePhabricator

[linter] Fix shebang lint false positive

Description

[linter] Fix shebang lint false positive

Summary:
Rust files can start with #![attr], but this is caught by lint-files.py by accident.

Instead, we check for #![^[], which should be more robust

Test Plan: arc lint --everything

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D16980

Details

Provenance
tobias_ruckAuthored on Oct 24 2024, 08:48
tobias_ruckPushed on Oct 24 2024, 09:34
Reviewer
Restricted Project
Differential Revision
D16980: [linter] Fix shebang lint false positive
Parents
rABCbeb30ceabc8b: [ecash-secp256k1] Add `ecash-secp256k1`, use in `ecash-lib-wasm`
Branches
Unknown
Tags
Unknown