linkedin / pygradle

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

Reverted logic that has flake8 run in different venv #323

Closed elautz closed 4 years ago

elautz commented 4 years ago

Modified the Flake8Task to once again inherit from AbstractPythonMainSourceDefaultTask and use the original virtual environment instead of having a dedicated venv just for it's run. Deleted the AbstractPythonInfrastructureDefaultTask as Flake8Task was the only class using it.

Modified PythonPlugin to have flake8 be added as a build configuration instead of it's own configuration. Deleted unit and integration tests ensuring that flake8 was run in its own environment.