We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is on master.
$ cat kill_senior_procs.py if __name__ == "__main__": for i in range(4, 8): cmd = ( r"for pid in $(ps aux | grep paster | grep -v grep | grep '\-%d' | awk '{print $2}'); do kill $pid; done" % (i) ) $ black kill_senior_procs.py error: cannot format kill_senior_procs.py: INTERNAL ERROR: Black produced different code on the second pass of the formatter. Please report a bug on https://github.com/psf/black/issues. This diff might be helpful: /var/folders/wx/zkst6jdx1zg_s32d23gz4_0r0000gn/T/blk_bgpw4vyu.log Oh no! 💥 💔 💥 1 file failed to reformat. $ cat /var/folders/wx/zkst6jdx1zg_s32d23gz4_0r0000gn/T/blk_bgpw4vyu.log --- source +++ first pass @@ -1,6 +1,7 @@ if __name__ == "__main__": for i in range(4, 8): cmd = ( - r"for pid in $(ps aux | grep paster | grep -v grep | grep '\-%d' | awk '{print $2}'); do kill $pid; done" + r"for pid in $(ps aux | grep paster | grep -v grep | grep '\-%d' | awk" + r" '{print $2}'); do kill $pid; done" % (i) ) --- first pass +++ second pass @@ -1,7 +1,6 @@ if __name__ == "__main__": for i in range(4, 8): cmd = ( r"for pid in $(ps aux | grep paster | grep -v grep | grep '\-%d' | awk" - r" '{print $2}'); do kill $pid; done" - % (i) + r" '{print $2}'); do kill $pid; done" % (i) )
The text was updated successfully, but these errors were encountered:
And a fourth git bisect pointing to 544ea9c from "Improve String Handling" (#1132).
git bisect
Sorry, something went wrong.
Also now good on master
master
$ black --check kill_senior_procs.py All done! ✨ 🍰 ✨ 1 file would be left unchanged.
Fix unstable formatting on string split + % formatting (fixes psf#1595)
f46d016
Fix unstable formatting on string split + % formatting (#1680)
e3ccabb
Fixes #1595
Fix unstable formatting on string split + % formatting (psf#1680)
0bb27b0
Fixes psf#1595
Successfully merging a pull request may close this issue.
This is on master.
The text was updated successfully, but these errors were encountered: