Mercurial > hg
view contrib/automation/linux-requirements.txt.in @ 51740:7226f2626fb1
httppeer: avoid another bad reference before assignment warning
This wasn't a problem, because `b''` from the `AttributeError` handler is in
`bundle2.bundletypes`, so the following loop and conditional always run at least
once. But PyCharm can't figure that out on its own, and it took a little
exploring to figure out it wasn't a problem. The usage in `bundle2.writebundle`
is to look it up in the map of bundle types, so it will break in a more obvious
way in the unlikely event that the empty string is removed from the map in the
future.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 29 Jul 2024 12:10:08 -0400 |
parents | 9934920af5f7 |
children | 905bc9d0a149 |
line wrap: on
line source
# black pulls in typed-ast, which doesn't install on PyPy. black==19.10b0 ; python_version >= '3.6' and platform_python_implementation != 'PyPy' # Bazaar doesn't work with Python 3 nor PyPy. bzr ; python_version <= '2.7' and platform_python_implementation == 'CPython' docutils fuzzywuzzy # isort 5.0 drops support for Python 3.5. We can remove this line when we # drop support for 3.5. isort < 5.0 pyflakes pygments pylint # Needed to avoid warnings from fuzzywuzzy. python-Levenshtein # typed-ast dependency doesn't install on PyPy. typed-ast ; python_version >= '3.0' and platform_python_implementation != 'PyPy' vcrpy