File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -191,23 +191,27 @@ outside WeeChat, which is rare.
191191
192192### Info: missing_spdx_copyright
193193
194+ <!-- REUSE-IgnoreStart -->
194195** Score** : -1
195196
196197** Issue** : the copyright tag ` SPDX-FileCopyrightText ` is missing in the script header.
197198
198199** How to fix** : add the [ SPDX] ( https://spdx.dev/ ) copyright tag ` SPDX-FileCopyrightText `
199200in the script header
200201(see [ Scripting contributing guide] ( https://github.com/weechat/scripts/blob/main/CONTRIBUTING.md#copyright-and-license ) ).
202+ <!-- REUSE-IgnoreEnd -->
201203
202204### Info: missing_spdx_license
203205
206+ <!-- REUSE-IgnoreStart -->
204207** Score** : -1
205208
206209** Issue** : the license tag ` SPDX-License-Identifier ` is missing in the script header.
207210
208211** How to fix** : add the [ SPDX] ( https://spdx.dev/ ) license tag ` SPDX-License-Identifier `
209212in the script header
210213(see [ Scripting contributing guide] ( https://github.com/weechat/scripts/blob/main/CONTRIBUTING.md#copyright-and-license ) ).
214+ <!-- REUSE-IgnoreEnd -->
211215
212216## Example
213217
Original file line number Diff line number Diff line change 100100 - 1 ,
101101 "URL {link} should be changed to https://weechat.org" ,
102102 ),
103+ # REUSE-IgnoreStart
103104 "missing_spdx_copyright" : (
104105 - 1 ,
105106 "copyright tag 'SPDX-FileCopyrightText' is missing" ,
108109 - 1 ,
109110 "license tag 'SPDX-License-Identifier' is missing" ,
110111 ),
112+ # REUSE-IgnoreEnd
111113 },
112114}
113115
@@ -382,10 +384,12 @@ def _check_weechat_site(self) -> None:
382384
383385 def _check_spdx_tags (self ) -> None :
384386 """Check if SPDX tags are present."""
387+ # REUSE-IgnoreStart
385388 if not self .search_regex (r"SPDX-FileCopyrightText:" ):
386389 self .message ("info" , "missing_spdx_copyright" )
387390 if not self .search_regex (r"SPDX-License-Identifier:" ):
388391 self .message ("info" , "missing_spdx_license" )
392+ # REUSE-IgnoreEnd
389393
390394 # run all checks, display report
391395
You can’t perform that action at this time.
0 commit comments