-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Ensure sublack integration for all project files
Previously [sublack](https://github.com/jgirardet/sublack) integration via `pre-commit-run-black-entry` works only for files from project root, this commit fixes that and ensure it now works for all project files. To achieve that `main_black` (and `main`) changed to, - Find project's root `.pre-commit-config.yaml` file - Find project's root `pyproject.toml` file - Print `tmp_path` content within `main_black` function
- Loading branch information
1 parent
a2d1a1a
commit 09c7134
Showing
2 changed files
with
78 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters