Skip to content

Commit

Permalink
Merge pull request #76 from zfit/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-eschle authored Apr 4, 2022
2 parents e8e22ed + a3ca37e commit 1b7849c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,30 +57,30 @@ repos:
- id: isort

- repo: https://github.com/asottile/pyupgrade
rev: v2.31.0
rev: v2.31.1
hooks:
- id: pyupgrade
args: [--py37-plus]

- repo: https://github.com/mgedmin/check-manifest
rev: "0.47"
rev: "0.48"
hooks:
- id: check-manifest
stages: [manual]

- repo: https://github.com/sondrelg/pep585-upgrade
rev: "v1" # Use the sha / tag you want to point at
rev: "v1.0" # Use the sha / tag you want to point at
hooks:
- id: upgrade-type-hints
args: ["--futures=true"]

- repo: https://github.com/psf/black
rev: 21.12b0
rev: 22.3.0
hooks:
- id: black

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.5.1
rev: v2.6.2
hooks:
- id: prettier

Expand Down
2 changes: 1 addition & 1 deletion benchmark/bench_phasespace.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def memory_usage():
import psutil

process = psutil.Process(pid)
mem = process.memory_info()[0] / float(2 ** 20)
mem = process.memory_info()[0] / float(2**20)
except ImportError:
import subprocess

Expand Down
2 changes: 1 addition & 1 deletion benchmark/monitoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def memory_usage():
import psutil

process = psutil.Process(pid)
mem = process.memory_info()[0] / float(2 ** 20)
mem = process.memory_info()[0] / float(2**20)
except ImportError:
import subprocess

Expand Down

0 comments on commit 1b7849c

Please sign in to comment.