File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- rules :
2- - pattern : " *"
3- name : " Block AGPL licenses"
4- mode : " block"
5- reason : " AGPL licenses are not allowed in this project"
6- licenses :
7- - " agpl"
8- - " agpl-1.0"
9- - " agpl-1.0-only"
10- - " agpl-1.0-or-later"
11- - " agpl-3.0"
12- - " agpl-3.0-only"
13- - " agpl-3.0-or-later"
1+ require-license : false # Some packages may not have explicit licenses
2+ require-known-license : false
3+
4+ # Allow list - licenses that are permitted
5+ allow :
6+ # Permissive licenses
7+ - MIT
8+ - Apache-2.0
9+ - BSD-2-Clause
10+ - BSD-3-Clause
11+ - BSD
12+ - BSD-License
13+ - ISC
14+ - ISC-License
15+ - 0BSD
16+
17+ # Python-specific licenses
18+ - PSF-2.0
19+ - Python-2.0
20+ - Dual-License
21+
22+ # Weak copyleft licenses (generally acceptable)
23+ - LGPL
24+ - LGPL-2.1
25+ - LGPL-2.1-or-later
26+ - LGPL-3.0
27+ - LGPL-3.0-or-later
28+ - MPL-2.0
29+
30+ # Other licenses
31+ - Unlicense
32+ - CC0-1.0
33+ - WTFPL
34+ - Artistic-License
35+ - GPL-3.0-only
36+
37+ # Block list - licenses that are not allowed
38+ block :
39+ - AGPL-1.0
40+ - AGPL-1.0-only
41+ - AGPL-1.0-or-later
42+ - AGPL-3.0
43+ - AGPL-3.0-only
44+ - AGPL-3.0-or-later
45+
46+ # Ignore specific packages if needed
47+ ignore-packages :
48+ - " UnknownPackage:*"
You can’t perform that action at this time.
0 commit comments