linkedin / pygradle

Using Gradle to build Python projects
https://github.com/linkedin/pygradle
Apache License 2.0
586 stars 147 forks source link

Minor bug fix for Flake8 Task #334

Closed elautz closed 4 years ago

elautz commented 4 years ago

We don't want to perform the preExecution() function twice in the flake8 task, since it is adding arguements and subarguments and we don't want to do that again. To enforce this, I moved the call to preExecution() into the task action in AbstractPythonMainSourceDefaultTask and out of the executePythonProcess() method.