mirror of
https://github.com/th3r00t/pyShelf.git
synced 2026-04-28 01:59:35 -04:00
Add black to pre-commit configuration
[black] is a code formatter for Python that ships with sensible defaults and requires no configuration. [black]: https://black.readthedocs.io/en/stable/
This commit is contained in:
@@ -22,3 +22,10 @@ repos:
|
||||
hooks:
|
||||
- id: isort
|
||||
additional_dependencies: ["toml"]
|
||||
|
||||
# Python code formatting
|
||||
- repo: https://github.com/psf/black
|
||||
rev: stable
|
||||
hooks:
|
||||
- id: black
|
||||
language_version: python3.7
|
||||
|
||||
Reference in New Issue
Block a user