]> git.ipfire.org Git - thirdparty/git.git/commit
git-p4: ensure there is a single space around all operators
authorJoel Holdsworth <jholdsworth@nvidia.com>
Fri, 1 Apr 2022 14:24:58 +0000 (15:24 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 1 Apr 2022 20:15:44 +0000 (13:15 -0700)
commit6febb9f84307fab60af6873258006d98d97be87f
tree82d75552bb43a2038c35535311eee818b472866b
parentc785e2029c478dce241f9e07e657ec372b633e6c
git-p4: ensure there is a single space around all operators

PEP8 requires that binary operators such as assignment and comparison
operators should always be surrounded by a pair of single spaces, and
recommends that all other binary operators should typically be surround
by single spaces.

The recommendation is given here in the "Other Recommendations"
section

https://www.python.org/dev/peps/pep-0008/#other-recommendations

Signed-off-by: Joel Holdsworth <jholdsworth@nvidia.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py