Mercurial > hg
view rustfmt.toml @ 51799:1888846a1ee2
typing: fix the hint for the `mode` argument of `platform.copymode()`
The posix module is doing a bitwise AND with this and an integer, so it can't be
bytes. The only caller that provides the argument is `util.mktempcopy()`, and
pytype infers the type as Any, which explains why this wasn't caught.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 10 Aug 2024 14:18:44 -0400 |
parents | 426294d06ddc |
children |
line wrap: on
line source
edition = "2018" max_width = 79 wrap_comments = true error_on_line_overflow = true