calm-artist-46894
03/30/2020, 6:29 AMpants_version = "1.27.0.dev1"
With V2 engine, is there a way to config my pants.toml so that it will default ipython instead of python for Python repl ?
Also, I saw that there was a lot discussion about having a single repl goal V.S. one goal per implementation. However, with the version I am having right now, I still only see a single repl goal from ./pants gals. Is this settled? Or still subject to change.hundreds-father-404
03/30/2020, 6:34 AM[repl]
shell = "ipython"
I think it’s still open to discussion on whether we should have a single repl goal or have distinct goals like python, ipython, ammonite, jshell. For now, we went with using --repl-shell to control which one you use.calm-artist-46894
03/30/2020, 4:27 PM[repl]
shell = “ipython”This would overwrite the
repl shell for all languages, (we currently do both python and go )hundreds-father-404
03/30/2020, 4:32 PM--repl-shell doesn’t impact the V1 implementation of repl. So, it should be safe to configure this in pants.toml.
But, this is good data for what the option should look like moving forward.plain-sundown-25537
04/12/2020, 5:20 AMhundreds-father-404
04/12/2020, 5:22 AMhundreds-father-404
04/12/2020, 5:23 AM./pants repl --shell=ipython or set this in `pants.toml`:
[repl]
shell = "ipython"plain-sundown-25537
04/12/2020, 5:23 AMplain-sundown-25537
04/12/2020, 5:23 AMhundreds-father-404
04/12/2020, 5:26 AMrun and binary so that we don’t re-resolve requirements when you only changed source files. That doesn’t yet apply to repl, but will be in the release after that.plain-sundown-25537
04/12/2020, 5:28 AMhundreds-father-404
04/12/2020, 5:32 AM