Closed ghost closed 2 years ago
This PR introduces pre-commit (https://pre-commit.com/) and applies black and isort changes to all the codebase, except examples folder.
pre-commit
black
isort
examples
All GDI-related repositories (https://github.com/splunk/addonfactory-ucc-generator, https://github.com/splunk/addonfactory-solutions-library-python etc) are already using pre-commit and at least black and isort configuration.
In the next PR we can add pre-commit to the CI to check all the PRs (like, https://github.com/splunk/addonfactory-ucc-generator/blob/067c3b82c7c318687be15a4ea768f396a9755884/.github/workflows/build-test-release.yml#L131-L141).
Let's start with something smaller, like #420.
This PR introduces
pre-commit
(https://pre-commit.com/) and appliesblack
andisort
changes to all the codebase, exceptexamples
folder.All GDI-related repositories (https://github.com/splunk/addonfactory-ucc-generator, https://github.com/splunk/addonfactory-solutions-library-python etc) are already using
pre-commit
and at leastblack
andisort
configuration.In the next PR we can add
pre-commit
to the CI to check all the PRs (like, https://github.com/splunk/addonfactory-ucc-generator/blob/067c3b82c7c318687be15a4ea768f396a9755884/.github/workflows/build-test-release.yml#L131-L141).