mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Configure black for Python formatting (#97)
This commit is contained in:
@@ -31,7 +31,12 @@ repos:
|
||||
additional_dependencies: [markdown-toc]
|
||||
files: .*\.md$
|
||||
exclude: ^src/jekyll/theme/
|
||||
# Prettier should be run late so that it can re-format any prior changes.
|
||||
# Formatters should be run late so that they can re-format any prior changes.
|
||||
- repo: https://github.com/psf/black
|
||||
rev: stable
|
||||
hooks:
|
||||
- id: black
|
||||
language_version: python3.6
|
||||
- repo: https://github.com/prettier/prettier
|
||||
rev: 2.0.5
|
||||
hooks:
|
||||
|
||||
Reference in New Issue
Block a user