Skip to content

Commit

Permalink
style: bump black
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed Mar 28, 2022
1 parent d88ba3f commit fa39cbd
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
Expand Up @@ -20,7 +20,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: "22.1.0"
rev: "22.3.0"
hooks:
- id: black

Expand All @@ -30,7 +30,7 @@ repos:
- id: isort

- repo: https://github.com/asottile/pyupgrade
rev: "v2.31.0"
rev: "v2.31.1"
hooks:
- id: pyupgrade
args: ["--py36-plus"]
Expand All @@ -41,7 +41,7 @@ repos:
- id: setup-cfg-fmt

- repo: https://github.com/hadialqattan/pycln
rev: v1.1.0
rev: v1.2.5
hooks:
- id: pycln
args: [--config=pyproject.toml]
Expand All @@ -55,7 +55,7 @@ repos:
additional_dependencies: [flake8-bugbear, flake8-print, flake8-2020]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v0.931"
rev: "v0.942"
hooks:
- id: mypy
files: plumbum
Expand All @@ -64,7 +64,7 @@ repos:

# This wants the .mo files removed
- repo: https://github.com/mgedmin/check-manifest
rev: "0.47"
rev: "0.48"
hooks:
- id: check-manifest
stages: [manual]
Expand Down
2 changes: 1 addition & 1 deletion plumbum/cli/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ def switchs(by_groups, show_groups):
lgrp = T_(grp) if grp in _switch_groups else grp
print(self.COLOR_GROUP_TITLES[grp] | lgrp + ":")

for si in sorted(swinfos, key=lambda si: si.names):
for si in sorted(swinfos, key=lambda x: x.names):
swnames = ", ".join(
("-" if len(n) == 1 else "--") + n
for n in si.names
Expand Down

0 comments on commit fa39cbd

Please sign in to comment.