Skip to content
This repository was archived by the owner on Feb 14, 2024. It is now read-only.

Commit c24e4e2

Browse files
jtpiomartinRenou
authored andcommitted
Fix more ruff
1 parent 4781fca commit c24e4e2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

jupyterlite_xeus_python/build.py

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import csv
22
import os
33
import shutil
4+
import sys
45
from pathlib import Path
56
from subprocess import run
67
from tempfile import TemporaryDirectory
@@ -143,6 +144,8 @@ def _install_pip_dependencies(prefix_path, dependencies, log=None):
143144

144145
run(
145146
[
147+
sys.executable,
148+
"-m",
146149
"pip",
147150
"install",
148151
*dependencies,

pyproject.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ ignore = [
135135
# PLR2004 Magic value used in comparison
136136
"tests/*" = ["S101", "F841", "PLR2004"]
137137

138+
# B008 Do not perform function call `typer.Option` in argument defaults
138139
# E501 `subprocess` call: check for execution of untrusted input
139140
# S603 `subprocess` call: check for execution of untrusted input
140-
"jupyterlite_xeus_python/build.py" = ["E501", "S603"]
141+
"jupyterlite_xeus_python/build.py" = ["B008", "E501", "S603"]

0 commit comments

Comments
 (0)