context7-cli-0.1.0
default.checks.x86_64-linux.package-context7-cli
· build #37
· raw
1Sourcing python-remove-tests-dir-hook2Sourcing python-catch-conflicts-hook.sh3Sourcing python-remove-bin-bytecode-hook.sh4Sourcing python-imports-check-hook.sh5Using pythonImportsCheckPhase6Sourcing python-namespaces-hook
unpackPhase
7unpacking source archive /nix/store/hirq361mw42wfwdiz4kdv637xxq67p34-context7-cli8source root is context7-cli9setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "context7-cli/skills/SKILL.md"configurePhase
10no configure script, doing nothingfixupPhase
11shrinking RPATHs of ELF executables and libraries in /nix/store/rj6n7b5vcxyk6r6xwn99nl4x19p8i9ld-context7-cli-0.1.012checking for references to /build/ in /nix/store/rj6n7b5vcxyk6r6xwn99nl4x19p8i9ld-context7-cli-0.1.0...13patching script interpreter paths in /nix/store/rj6n7b5vcxyk6r6xwn99nl4x19p8i9ld-context7-cli-0.1.014/nix/store/rj6n7b5vcxyk6r6xwn99nl4x19p8i9ld-context7-cli-0.1.0/bin/context7-cli: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/gxzhl7aaiid7zp3y47jqqiq7zg5mqpwp-python3-3.14.6/bin/python3"15stripping (with command strip and flags -S -p) in /nix/store/rj6n7b5vcxyk6r6xwn99nl4x19p8i9ld-context7-cli-0.1.0/bin16Rewriting #!/nix/store/gxzhl7aaiid7zp3y47jqqiq7zg5mqpwp-python3-3.14.6/bin/python3 to #!/nix/store/gxzhl7aaiid7zp3y47jqqiq7zg5mqpwp-python3-3.14.617wrapping `/nix/store/rj6n7b5vcxyk6r6xwn99nl4x19p8i9ld-context7-cli-0.1.0/bin/context7-cli'...18Executing pythonRemoveTestsDir19Finished executing pythonRemoveTestsDirinstallCheckPhase
20RUF100 [*] Unused `noqa` directive (non-enabled: `S602`)21 --> context7_cli.py:136:3522 |23134 | # config file, similar to how kagi-search handles password_command.24135 | # The user controls both the config and the command being executed.25136 | result = subprocess.run( # noqa: S60226 | ^^^^^^^^^^^^27137 | command,28138 | shell=True,29 |30help: Remove unused `noqa` directive31 |32135 | # The user controls both the config and the command being executed.33 - result = subprocess.run( # noqa: S60234136 + result = subprocess.run(35137 | command,36 |3738RUF100 [*] Unused `noqa` directive (non-enabled: `S310`)39 --> context7_cli.py:245:6840 |41243 | validate_url(url)42244 |43245 | request = urllib.request.Request(url, headers=make_headers()) # noqa: S31044 | ^^^^^^^^^^^^45246 |46247 | try:47 |48help: Remove unused `noqa` directive49 |50244 |51 - request = urllib.request.Request(url, headers=make_headers()) # noqa: S31052245 + request = urllib.request.Request(url, headers=make_headers())53246 |54 |5556RUF100 [*] Unused `noqa` directive (non-enabled: `S310`)57 --> context7_cli.py:248:7258 |59247 | try:60248 | with urllib.request.urlopen(request, timeout=30) as response: # noqa: S31061 | ^^^^^^^^^^^^62249 | data = json.loads(response.read().decode("utf-8"))63250 | results = [64 |65help: Remove unused `noqa` directive66 |67247 | try:68 - with urllib.request.urlopen(request, timeout=30) as response: # noqa: S31069248 + with urllib.request.urlopen(request, timeout=30) as response:70249 | data = json.loads(response.read().decode("utf-8"))71 |7273RUF100 [*] Unused `noqa` directive (non-enabled: `S310`)74 --> context7_cli.py:300:6175 |76298 | headers["Accept"] = "text/plain"77299 |78300 | request = urllib.request.Request(url, headers=headers) # noqa: S31079 | ^^^^^^^^^^^^80301 |81302 | try:82 |83help: Remove unused `noqa` directive84 |85299 |86 - request = urllib.request.Request(url, headers=headers) # noqa: S31087300 + request = urllib.request.Request(url, headers=headers)88301 |89 |9091RUF100 [*] Unused `noqa` directive (non-enabled: `S310`)92 --> context7_cli.py:303:7293 |94302 | try:95303 | with urllib.request.urlopen(request, timeout=60) as response: # noqa: S31096 | ^^^^^^^^^^^^97304 | content: str = response.read().decode("utf-8")98305 | return content99 |100help: Remove unused `noqa` directive101 |102302 | try:103 - with urllib.request.urlopen(request, timeout=60) as response: # noqa: S310104303 + with urllib.request.urlopen(request, timeout=60) as response:105304 | content: str = response.read().decode("utf-8")106 |107108Found 5 errors.109[*] 5 fixable with the `--fix` option.