Page MenuHomePhabricator

[linter] Fix shebang lint false positive
ClosedPublic

Authored by tobias_ruck on Oct 24 2024, 09:04.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCcabdfe09fbe5: [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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable