Closed mcaceresb closed 2 years ago
git diff upstream/master -u -- "*.py" | flake8 --diff
@kylebarron Just tagging you in case you know how to make pexpect match the parenthesis when you pass \(? to the regex. Otherwise I'll keep my ad-hoc fix of manually adding the parenthesis; seems clunky but it works.
pexpect
\(?
@kylebarron Just tagging you in case you know how to make pexpect match the parenthesis when you pass \(? to the regex.
No idea on the top of my head. I'd have to look at the docs
git diff upstream/master -u -- "*.py" | flake8 --diff
@kylebarron Just tagging you in case you know how to make
pexpect
match the parenthesis when you pass\(?
to the regex. Otherwise I'll keep my ad-hoc fix of manually adding the parenthesis; seems clunky but it works.