Add blacken-docs and pycln pre-commit hooks (#3292)

* Apply blacken-docs and fix language-hints

* Add blacken-docs pre-commit hook

* Add pycln pre-commit hook

* Enable a few builtin hooks

* Black no longer ignores pyi files
This commit is contained in:
Aaron Gokaslan
2021-09-22 15:38:50 -04:00
committed by GitHub
parent ee0c5ee405
commit 0fb981b219
17 changed files with 72 additions and 60 deletions

View File

@@ -173,6 +173,7 @@ Keyword arguments are also supported. In Python, there is the usual call syntax:
def f(number, say, to):
... # function code
f(1234, say="hello", to=some_instance) # keyword call in Python
In C++, the same call can be made using: