Skip to content

Commit

Permalink
style: Upgrade pre commit config
Browse files Browse the repository at this point in the history
Signed-off-by: Mahendra Paipuri <[email protected]>
  • Loading branch information
mahendrapaipuri committed Feb 8, 2024
1 parent 0526afe commit 38234a3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ repos:
- id: reorder-python-imports
language_version: python3
- repo: https://github.com/psf/black
rev: 23.9.1
rev: 24.1.1
hooks:
- id: black
- repo: https://github.com/PyCQA/flake8
rev: '6.1.0'
rev: '7.0.0'
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0
rev: v4.0.0-alpha.8
hooks:
- id: prettier
additional_dependencies:
- [email protected]
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.43.0
rev: v9.0.0-alpha.2
hooks:
- id: eslint
files: \.[jt]sx?$ # *.js, *.jsx, *.ts and *.tsx
Expand All @@ -32,7 +32,7 @@ repos:
- [email protected]
- [email protected]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: end-of-file-fixer
- id: check-json
Expand Down
6 changes: 3 additions & 3 deletions jupyter_power_usage/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ def filter_rapl_domains():
filtered_domains_power_limits[unq_dom_name] = read_power_limit_uw_counter(
dom_dict['energy_uj']
)
filtered_domains_overflow_counters[
unq_dom_name
] = read_max_energy_uj_counter(dom_dict['energy_uj'])
filtered_domains_overflow_counters[unq_dom_name] = (
read_max_energy_uj_counter(dom_dict['energy_uj'])
)
return (
filtered_domains,
filtered_domains_power_limits,
Expand Down

0 comments on commit 38234a3

Please sign in to comment.