Skip to content

Commit b314ba9

Browse files
committed
xtask: Copyright and license lints for more file types
Few files turned out to not have the notes, and they were fixed manually. Provide a robust solution by updating house rules in xtask. Suggested-by: Daniel Prilik <[email protected]> Reported-by: Matt Kurjanowicz <[email protected]> Fixes: #766
1 parent 3573948 commit b314ba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xtask/src/tasks/fmt/house_rules/copyright.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ pub fn check_copyright(path: &Path, fix: bool) -> anyhow::Result<()> {
1717
.and_then(|e| e.to_str())
1818
.unwrap_or_default();
1919

20-
if !matches!(ext, "rs" | "c" | "proto" | "toml" | "ts" | "js") {
20+
if !matches!(ext, "rs" | "c" | "proto" | "toml" | "ts" | "js" | "py" | "ps1" | "config") {
2121
return Ok(());
2222
}
2323

0 commit comments

Comments
 (0)