Skip to content

Commit bcbcac2

Browse files
committed
pre-commit
1 parent 392f230 commit bcbcac2

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

documentation/reference/licensecheck/cli.md

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

1111
## cli
1212

13-
[Show source in cli.py:20](../../../licensecheck/cli.py#L20)
13+
[Show source in cli.py:21](../../../licensecheck/cli.py#L21)
1414

1515
Cli entry point.
1616

@@ -24,7 +24,7 @@ def cli() -> None: ...
2424

2525
## main
2626

27-
[Show source in cli.py:123](../../../licensecheck/cli.py#L123)
27+
[Show source in cli.py:124](../../../licensecheck/cli.py#L124)
2828

2929
Test entry point.
3030

licensecheck/cli.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
from pathlib import Path
1010
from sys import exit as sysexit
1111
from sys import stdin, stdout
12+
1213
from configurator import Config
1314
from configurator.node import ConfigNode
14-
from pathlib import Path
1515

1616
from licensecheck import checker, fmt, license_matrix, packageinfo, types
1717

@@ -144,7 +144,9 @@ def main(args: dict) -> int:
144144
for file in config_files:
145145
config += Config.from_path(file, optional=True)
146146

147-
scopedData: ConfigNode = config.get("tool", default={}).get("licensecheck", default=ConfigNode())
147+
scopedData: ConfigNode = config.get("tool", default={}).get(
148+
"licensecheck", default=ConfigNode()
149+
)
148150
scopedConfig = {**scopedData.data, **args}
149151

150152
# File

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ cattrs==24.1.2
77
certifi==2025.1.31
88
charset-normalizer==3.4.1
99
colorama==0.4.6 ; sys_platform == 'win32'
10+
configurator==3.2.0
1011
exceptiongroup==1.2.2 ; python_full_version < '3.11'
11-
fhconfparser==2024.1
1212
idna==3.10
1313
importlib-metadata==8.6.1 ; python_full_version < '3.10'
1414
license-expression==30.4.1

0 commit comments

Comments
 (0)