Skip to content

Commit 7387966

Browse files
[pre-commit.ci] pre-commit autoupdate (#14)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 457158e commit 7387966

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repos:
2020
- id: pyproject-fmt
2121
additional_dependencies: ["tox>=4.12.1"]
2222
- repo: https://github.com/astral-sh/ruff-pre-commit
23-
rev: "v0.3.5"
23+
rev: "v0.3.7"
2424
hooks:
2525
- id: ruff-format
2626
- id: ruff

src/py_discovery/_builtin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
class Builtin(Discover):
1717
def __init__(self, options: Namespace) -> None:
1818
super().__init__(options)
19-
self.python_spec = options.python if options.python else [sys.executable]
19+
self.python_spec = options.python or [sys.executable]
2020
self.try_first_with = options.try_first_with
2121

2222
@classmethod

0 commit comments

Comments
 (0)