Skip to content

Commit f2d3c5f

Browse files
committed
bump ruff
1 parent 280962e commit f2d3c5f

File tree

5 files changed

+15
-15
lines changed

5 files changed

+15
-15
lines changed

documentation/reference/licensecheck/formatter.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
## ansi
1616

17-
[Show source in formatter.py:58](../../../licensecheck/formatter.py#L58)
17+
[Show source in formatter.py:59](../../../licensecheck/formatter.py#L59)
1818

1919
Format to ansi.
2020

@@ -44,7 +44,7 @@ def ansi(myLice: License, packages: list[PackageInfo]) -> str: ...
4444

4545
## markdown
4646

47-
[Show source in formatter.py:120](../../../licensecheck/formatter.py#L120)
47+
[Show source in formatter.py:123](../../../licensecheck/formatter.py#L123)
4848

4949
Format to markdown.
5050

@@ -74,7 +74,7 @@ def markdown(myLice: License, packages: list[PackageInfo]) -> str: ...
7474

7575
## plainText
7676

77-
[Show source in formatter.py:105](../../../licensecheck/formatter.py#L105)
77+
[Show source in formatter.py:107](../../../licensecheck/formatter.py#L107)
7878

7979
Format to ansi.
8080

@@ -104,7 +104,7 @@ def plainText(myLice: License, packages: list[PackageInfo]) -> str: ...
104104

105105
## raw
106106

107-
[Show source in formatter.py:161](../../../licensecheck/formatter.py#L161)
107+
[Show source in formatter.py:165](../../../licensecheck/formatter.py#L165)
108108

109109
Format to json.
110110

@@ -134,7 +134,7 @@ def raw(myLice: License, packages: list[PackageInfo]) -> str: ...
134134

135135
## rawCsv
136136

137-
[Show source in formatter.py:183](../../../licensecheck/formatter.py#L183)
137+
[Show source in formatter.py:188](../../../licensecheck/formatter.py#L188)
138138

139139
Format to csv.
140140

documentation/reference/licensecheck/get_deps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
## do_get_reqs
1313

14-
[Show source in get_deps.py:60](../../../licensecheck/get_deps.py#L60)
14+
[Show source in get_deps.py:61](../../../licensecheck/get_deps.py#L61)
1515

1616
#### Signature
1717

@@ -33,7 +33,7 @@ def do_get_reqs(
3333

3434
## getDepsWithLicenses
3535

36-
[Show source in get_deps.py:172](../../../licensecheck/get_deps.py#L172)
36+
[Show source in get_deps.py:173](../../../licensecheck/get_deps.py#L173)
3737

3838
Get a set of dependencies with licenses and determine license compatibility.
3939

documentation/reference/licensecheck/license_matrix.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
## depCompatWMyLice
1414

15-
[Show source in license_matrix.py:133](../../../licensecheck/license_matrix.py#L133)
15+
[Show source in license_matrix.py:135](../../../licensecheck/license_matrix.py#L135)
1616

1717
Identify if the end user license is compatible with the dependency license(s).
1818

@@ -48,7 +48,7 @@ def depCompatWMyLice(
4848

4949
## liceCompat
5050

51-
[Show source in license_matrix.py:168](../../../licensecheck/license_matrix.py#L168)
51+
[Show source in license_matrix.py:171](../../../licensecheck/license_matrix.py#L171)
5252

5353
Identify if the end user license is compatible with the dependency license.
5454

@@ -110,7 +110,7 @@ def licenseLookup(licenseStr: ucstr, ignoreLicenses: list[ucstr] | None = None)
110110

111111
## licenseType
112112

113-
[Show source in license_matrix.py:115](../../../licensecheck/license_matrix.py#L115)
113+
[Show source in license_matrix.py:116](../../../licensecheck/license_matrix.py#L116)
114114

115115
Return a list of license types from a license string.
116116

documentation/reference/licensecheck/packageinfo.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
## getModuleSize
1717

18-
[Show source in packageinfo.py:176](../../../licensecheck/packageinfo.py#L176)
18+
[Show source in packageinfo.py:180](../../../licensecheck/packageinfo.py#L180)
1919

2020
Get the size of a given module as an int.
2121

@@ -44,7 +44,7 @@ def getModuleSize(path: Path, name: ucstr) -> int: ...
4444

4545
## getMyPackageLicense
4646

47-
[Show source in packageinfo.py:158](../../../licensecheck/packageinfo.py#L158)
47+
[Show source in packageinfo.py:161](../../../licensecheck/packageinfo.py#L161)
4848

4949
Get the package license from "setup.cfg", "pyproject.toml" or user input.
5050

@@ -66,7 +66,7 @@ def getMyPackageLicense() -> ucstr: ...
6666

6767
## getMyPackageMetadata
6868

69-
[Show source in packageinfo.py:133](../../../licensecheck/packageinfo.py#L133)
69+
[Show source in packageinfo.py:135](../../../licensecheck/packageinfo.py#L135)
7070

7171
Get the package classifiers and license from "setup.cfg", "pyproject.toml".
7272

@@ -150,7 +150,7 @@ def getPackageInfoPypi(requirement: ucstr) -> PackageInfo: ...
150150

151151
## getPackages
152152

153-
[Show source in packageinfo.py:109](../../../licensecheck/packageinfo.py#L109)
153+
[Show source in packageinfo.py:110](../../../licensecheck/packageinfo.py#L110)
154154

155155
Get dependency info.
156156

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ loguru = "<2,>=0.7.2"
4040
pytest = "^8.0.2"
4141
handsdown = "^2.1.0"
4242
coverage = "^7.4.3"
43-
ruff = "^0.1.13"
43+
ruff = "^0.2.2"
4444
pyright = "^1.1.351"
4545
pytest-loguru = "^0.3.0"
4646

0 commit comments

Comments
 (0)