Skip to content

Commit ede2998

Browse files
committed
bump ruff
1 parent d625980 commit ede2998

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

documentation/reference/licensematrix/license_matrix.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def buildLicenses(
8787

8888
### LicenseMatrix().closestSPDX
8989

90-
[Show source in license_matrix.py:135](../../../licensematrix/license_matrix.py#L135)
90+
[Show source in license_matrix.py:140](../../../licensematrix/license_matrix.py#L140)
9191

9292
Guarantee a license from a spdx id (may be inaccurate).
9393

@@ -107,7 +107,7 @@ def closestSPDX(self, spdx: str) -> License: ...
107107

108108
### LicenseMatrix().closestTitle
109109

110-
[Show source in license_matrix.py:149](../../../licensematrix/license_matrix.py#L149)
110+
[Show source in license_matrix.py:156](../../../licensematrix/license_matrix.py#L156)
111111

112112
Guarantee a license from a name (may be inaccurate).
113113

@@ -127,7 +127,7 @@ def closestTitle(self, name: str) -> License: ...
127127

128128
### LicenseMatrix().licenseFromAltName
129129

130-
[Show source in license_matrix.py:100](../../../licensematrix/license_matrix.py#L100)
130+
[Show source in license_matrix.py:105](../../../licensematrix/license_matrix.py#L105)
131131

132132
Get the license from an altName.
133133

@@ -147,7 +147,7 @@ def licenseFromAltName(self, altName: str) -> License | None: ...
147147

148148
### LicenseMatrix().licenseFromName
149149

150-
[Show source in license_matrix.py:86](../../../licensematrix/license_matrix.py#L86)
150+
[Show source in license_matrix.py:91](../../../licensematrix/license_matrix.py#L91)
151151

152152
Get the license from a name.
153153

@@ -167,7 +167,7 @@ def licenseFromName(self, name: str) -> License | None: ...
167167

168168
### LicenseMatrix().licenseFromSPDX
169169

170-
[Show source in license_matrix.py:72](../../../licensematrix/license_matrix.py#L72)
170+
[Show source in license_matrix.py:77](../../../licensematrix/license_matrix.py#L77)
171171

172172
Get the license from a spdx id.
173173

@@ -187,7 +187,7 @@ def licenseFromSPDX(self, spdx: str) -> License | None: ...
187187

188188
### LicenseMatrix().searchLicenses
189189

190-
[Show source in license_matrix.py:115](../../../licensematrix/license_matrix.py#L115)
190+
[Show source in license_matrix.py:120](../../../licensematrix/license_matrix.py#L120)
191191

192192
Get a list of candidate licenses from a search string.
193193

documentation/reference/licensematrix/license_type.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def mergeIntoDest(self, dest: License): ...
181181

182182
### License().naiveCompatDest
183183

184-
[Show source in license_type.py:225](../../../licensematrix/license_type.py#L225)
184+
[Show source in license_type.py:229](../../../licensematrix/license_type.py#L229)
185185

186186
Check the source (self) is compatible with the destination license (rhs).
187187

@@ -201,7 +201,7 @@ def naiveCompatDest(self, dest: License) -> bool: ...
201201

202202
### License().naiveCompatDestLinking
203203

204-
[Show source in license_type.py:205](../../../licensematrix/license_type.py#L205)
204+
[Show source in license_type.py:207](../../../licensematrix/license_type.py#L207)
205205

206206
Check the source (self) is compatible with the destination license (rhs).
207207

@@ -223,7 +223,7 @@ def naiveCompatDestLinking(self, dest: License) -> bool: ...
223223

224224
### License().naiveCompatSource
225225

226-
[Show source in license_type.py:187](../../../licensematrix/license_type.py#L187)
226+
[Show source in license_type.py:189](../../../licensematrix/license_type.py#L189)
227227

228228
Check the destination (rhs) is compatible with the source license (self).
229229

@@ -287,7 +287,7 @@ def termsCompatible(self, dest: License) -> bool: ...
287287

288288
## equal
289289

290-
[Show source in license_type.py:281](../../../licensematrix/license_type.py#L281)
290+
[Show source in license_type.py:285](../../../licensematrix/license_type.py#L285)
291291

292292
Are two licenses equal?
293293

@@ -314,7 +314,7 @@ def equal(licenseA: License, licenseB: License) -> bool: ...
314314

315315
## getMostStrictType
316316

317-
[Show source in license_type.py:246](../../../licensematrix/license_type.py#L246)
317+
[Show source in license_type.py:250](../../../licensematrix/license_type.py#L250)
318318

319319
Return the most 'strict' type of license from the available types.
320320

@@ -337,7 +337,7 @@ def getMostStrictType(typeA: str, typeB: str) -> str: ...
337337

338338
## mergeSPDX
339339

340-
[Show source in license_type.py:264](../../../licensematrix/license_type.py#L264)
340+
[Show source in license_type.py:268](../../../licensematrix/license_type.py#L268)
341341

342342
Combine the spdx ids.
343343

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

0 commit comments

Comments
 (0)