Skip to content

Commit

Permalink
Run pre-commit autoupdate and apply updates
Browse files Browse the repository at this point in the history
No effects were observed on Make-managed files.

Signed-off-by: Alex Nelson <[email protected]>
  • Loading branch information
ajnelson-nist committed May 22, 2024
1 parent be8fb86 commit 63a66e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

repos:
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.4.2
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
Expand Down
8 changes: 5 additions & 3 deletions case_prov/case_prov_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ def main() -> None:
# could be an error raised before the construction of the argument
# parser.
logging.basicConfig(
level=logging.DEBUG
if ("--debug" in sys.argv or "-d" in sys.argv)
else logging.INFO
level=(
logging.DEBUG
if ("--debug" in sys.argv or "-d" in sys.argv)
else logging.INFO
)
)

# Add arguments specific to case_prov_check.
Expand Down

0 comments on commit 63a66e7

Please sign in to comment.