Skip to content

Commit

Permalink
Merge pull request #448 from alan-turing-institute/pre-commit-ci-upda…
Browse files Browse the repository at this point in the history
…te-config

[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
Callum Mole authored Jan 5, 2023
2 parents 403b0d5 + 5cd75ce commit 6a89685
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.34.0
rev: v3.3.1
hooks:
- id: pyupgrade
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 22.12.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
rev: 6.0.0
hooks:
- id: flake8
args:
["--max-line-length=88", "--extend-ignore=E203,E501", "--builtins=c"]
- repo: https://github.com/pycqa/isort
rev: 5.10.1
rev: 5.11.4
hooks:
- id: isort
args: ["--profile", "black"]
# Autoformat: markdown, yaml
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.7.1
rev: v3.0.0-alpha.4
hooks:
- id: prettier
args: ["--write"]
2 changes: 1 addition & 1 deletion billing/calculate_billing.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def summary_stats(yml, contingency, months):
contingency = float(args.contingency) / 100.0

# Read in billing info
with open("hub23_billing.yaml", "r") as stream:
with open("hub23_billing.yaml") as stream:
try:
billing_info = yaml.safe_load(stream)
except yaml.YAMLError as exc:
Expand Down

0 comments on commit 6a89685

Please sign in to comment.