Mercurial > hg
view rust/hg-cpython/Cargo.toml @ 51701:97d013f48cae
zeroconf: fix boolean return value
This was (wrongly) flagged by Pytype as being undefined since it doesn't
seem to understand `try` blocks. However, the caller is expecting a boolean
and the fix to appease Pytype is simple, so we do both.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Thu, 18 Jul 2024 12:02:01 +0200 |
parents | 5844cd8e81ca |
children | 37a079410507 |
line wrap: on
line source
[package] name = "hg-cpython" version = "0.1.0" authors = ["Georges Racinet <gracinet@anybox.fr>"] edition = "2021" [lib] name='rusthg' crate-type = ["cdylib"] [dependencies] cpython = { version = "0.7.1", features = ["extension-module"] } crossbeam-channel = "0.5.6" hg-core = { path = "../hg-core"} libc = "0.2.137" log = "0.4.17" env_logger = "0.9.3" stable_deref_trait = "1.2.0" vcsgraph = "0.2.0"