Skip to content

Commit

Permalink
Update precommits (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrodmillman authored Jan 13, 2023
1 parent 3121ec2 commit 2ad0423
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/psf/black
rev: 22.10.0
rev: 22.12.0
hooks:
- id: black

Expand All @@ -31,7 +31,7 @@ repos:
args: [--prose-wrap=preserve]

- repo: https://github.com/asottile/pyupgrade
rev: v3.1.0
rev: v3.3.1
hooks:
- id: pyupgrade
args: [--py37-plus]
2 changes: 1 addition & 1 deletion devpy/cmds/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def run(cmd, cwd=None, replace=False, sys_exit=True, output=True, *args, **kwarg
if cwd:
click.secho(f"$ cd {cwd}", bold=True, fg="bright_blue")
os.chdir(cwd)
cmdstr = ' '.join(shlex.quote(arg) for arg in cmd)
cmdstr = " ".join(shlex.quote(arg) for arg in cmd)
click.secho(f"$ {cmdstr}", bold=True, fg="bright_blue")

if output is False:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies = [
]

[project.optional-dependencies]
lint = ["pre-commit >= 2.20"]
lint = ["pre-commit >= 2.21"]

[project.urls]
homepage = "https://github.com/scientific-python/devpy"
Expand Down

0 comments on commit 2ad0423

Please sign in to comment.