[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3975: Conditional that could always be truthy.
Tahoe-LAFS
trac at tahoe-lafs.org
Tue Feb 14 16:19:20 UTC 2023
#3975: Conditional that could always be truthy.
-------------------------------+---------------------------
Reporter: daniellee | Owner: daniellee
Type: defect | Status: new
Priority: minor | Milestone: undecided
Component: code-frontend-web | Version: n/a
Keywords: | Launchpad Bug:
-------------------------------+---------------------------
While working with mypy. I came across an error that a conditional that
checks for a type: ```if bytes```. It does not specify the check on any
variable or value.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3975>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list