Skip to content

Commit 6a89685

Browse files
author
Callum Mole
authored
Merge pull request #448 from alan-turing-institute/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 403b0d5 + 5cd75ce commit 6a89685

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.pre-commit-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
repos:
22
- repo: https://github.com/asottile/pyupgrade
3-
rev: v2.34.0
3+
rev: v3.3.1
44
hooks:
55
- id: pyupgrade
66
- repo: https://github.com/psf/black
7-
rev: 22.3.0
7+
rev: 22.12.0
88
hooks:
99
- id: black
1010
- repo: https://github.com/pycqa/flake8
11-
rev: 4.0.1
11+
rev: 6.0.0
1212
hooks:
1313
- id: flake8
1414
args:
1515
["--max-line-length=88", "--extend-ignore=E203,E501", "--builtins=c"]
1616
- repo: https://github.com/pycqa/isort
17-
rev: 5.10.1
17+
rev: 5.11.4
1818
hooks:
1919
- id: isort
2020
args: ["--profile", "black"]
2121
# Autoformat: markdown, yaml
2222
- repo: https://github.com/pre-commit/mirrors-prettier
23-
rev: v2.7.1
23+
rev: v3.0.0-alpha.4
2424
hooks:
2525
- id: prettier
2626
args: ["--write"]

billing/calculate_billing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def summary_stats(yml, contingency, months):
116116
contingency = float(args.contingency) / 100.0
117117

118118
# Read in billing info
119-
with open("hub23_billing.yaml", "r") as stream:
119+
with open("hub23_billing.yaml") as stream:
120120
try:
121121
billing_info = yaml.safe_load(stream)
122122
except yaml.YAMLError as exc:

0 commit comments

Comments
 (0)