We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 457158e commit 7387966Copy full SHA for 7387966
2 files changed
.pre-commit-config.yaml
@@ -20,7 +20,7 @@ repos:
20
- id: pyproject-fmt
21
additional_dependencies: ["tox>=4.12.1"]
22
- repo: https://github.com/astral-sh/ruff-pre-commit
23
- rev: "v0.3.5"
+ rev: "v0.3.7"
24
hooks:
25
- id: ruff-format
26
- id: ruff
src/py_discovery/_builtin.py
@@ -16,7 +16,7 @@
16
class Builtin(Discover):
17
def __init__(self, options: Namespace) -> None:
18
super().__init__(options)
19
- self.python_spec = options.python if options.python else [sys.executable]
+ self.python_spec = options.python or [sys.executable]
self.try_first_with = options.try_first_with
@classmethod
0 commit comments