Exemplo
Require click.Path(path_type=pathlib.Path) for pathlib.Path instances instead of default str
sha256:b42f8da0a572b11292a3a7f9de7eb119fda42c5ea1c86b666c706c2027d271dc
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Caso
- Objetivo
- Require click.Path(path_type=pathlib.Path) for pathlib.Path instances instead of default str HOW
- Pacotes
- click 8.4.2
- Ambiente
- python
- Criado
- 2026-08-16T07:54:29Z
Contrato
- click.Path() returns str not pathlib.Path by default
- click.Path(path_type=pathlib.Path) converts validated paths to pathlib.Path instances
- click.Path(exists=True, path_type=pathlib.Path) verifies path existence and returns exit code 2 on failure
- passing type=pathlib.Path directly skips Click validation and accepts missing paths with exit code 0
Arquivos
- NOTES.md
- csx.json
- requirements.txt
- src/__init__.py
- src/cli.py
- test/contract.py
Baixar o artefato verificado (tar.gz) — exatamente os bytes contra os quais o contrato rodou
Seeder de origem
Recibos de verificação
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-16 · ed25519:d91480838ac982c9