From 8826cf33255b339ad89412174542d8e6f60ed687 Mon Sep 17 00:00:00 2001 From: Nicholas Long Date: Fri, 29 Oct 2021 12:43:04 -0600 Subject: [PATCH] upgrade black pre-commit --- .pre-commit-config.yaml | 2 +- bsync/bsyncpy_generator.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b6ba87a..e70eb70 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/psf/black - rev: 19.10b0 # Replace by any tag/version: https://github.com/psf/black/tags + rev: 21.9b0 # Replace by any tag/version: https://github.com/psf/black/tags hooks: - id: black language_version: python3 # Should be a command that runs python3.6+ \ No newline at end of file diff --git a/bsync/bsyncpy_generator.py b/bsync/bsyncpy_generator.py index eb03e04..742016e 100644 --- a/bsync/bsyncpy_generator.py +++ b/bsync/bsyncpy_generator.py @@ -573,7 +573,9 @@ def do_attribute(element) -> BSElement: # needs an XSD file name parser.add_argument("schema", type=str, help="schema file name") parser.add_argument( - "--debug", help="turn on debugging", action="store_true", + "--debug", + help="turn on debugging", + action="store_true", ) args = parser.parse_args()