Re: scalastyle failing even after ./dev/scalafmt

2020-05-16 Thread suddhu
How do you format your code before sending the PR then? Do I not need to run scalafmt? -- Sent from: http://apache-spark-developers-list.1001551.n3.nabble.com/ - To unsubscribe e-mail: dev-unsubscr...@spark.apache.org

scalastyle failing even after ./dev/scalafmt

2020-05-16 Thread suddhu
Hello :) I'm running this example form the official site: https://spark.apache.org/developer-tools.html testOnly *DAGSchedulerSuite -- -z "SPARK-12345" But I get: [error] (catalyst/*:scalaStyleOnTest) Failing because of negative scalastyle result This happens even *after* running ./dev/scalafmt

Re: ./dev/run-tests failing at master

2020-05-14 Thread suddhu
I did this and it seems to work now. sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10 even the cpython version got upgraded. Sorry if you feel I was asking too many rudimentary questions, setting up spark has been rough without a mentor. Thanks :-D FYI, I'm working

Re: ./dev/run-tests failing at master

2020-05-14 Thread suddhu
Thanks for the response!! Here is my configuration: flake8 --version 3.8.1 (mccabe: 0.6.1, pycodestyle: 2.6.0, pyflakes: 2.2.0) CPython 2.7.16 on Linux It seems I need to upgrade my CPython... -- Sent from: http://apache-spark-developers-list.1001551.n3.nabble.com/

Re: ./dev/run-tests failing at master

2020-05-14 Thread suddhu
Thanks for the response Jeff and Sean. It has been quite frustrating setting up the dev environment without any help. Its comforting to have some help finally. I've added "alias python=python3" in my bashrc. So the default python accessed is 3.7.2 I have flake8 installed in both python2 and pyt

Re: ./dev/run-tests failing at master

2020-05-14 Thread suddhu
Thanks for the response Jeff and Sean. It has been quite frustrating setting up the dev environment without any help. Its comforting to have some help finally. I've added "alias python=python3" in my bashrc. So the default python accessed is 3.7.2 I have flake8 installed in both python2 and pyt