[pre-commit.ci] pre-commit autoupdate (#950)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 21.11b1 → 21.12b0](https://github.com/psf/black/compare/21.11b1...21.12b0) * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
parent
53b8f8149c
commit
f8bd6a502b
@@ -38,7 +38,7 @@ repos:
|
||||
- id: isort
|
||||
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 21.11b1
|
||||
rev: 21.12b0
|
||||
hooks:
|
||||
- id: black
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ if sys.version_info < (3, 8):
|
||||
def get_constant(x: ast.Str) -> str:
|
||||
return x.s
|
||||
|
||||
|
||||
else:
|
||||
Constant = ast.Constant
|
||||
|
||||
|
||||
Reference in New Issue
Block a user