This reformats the code with the black code formatter, which has become the de-facto standard for automatically formatting Python code. It’s used in many open source projects.
This also adds a pre-commit hook that checks whether the code is correctly formatted at commit time.
Also, a CI check was added that fails if the code is not formatted the way black would do it.
This reformats the code with the black code formatter, which has become the de-facto standard for automatically formatting Python code. It’s used in many open source projects.
This also adds a pre-commit hook that checks whether the code is correctly formatted at commit time.
Also, a CI check was added that fails if the code is not formatted the way black would do it.