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

Commit

Permalink
Fix more ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio committed Oct 5, 2023
1 parent 0fa6eb4 commit d19bab0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions jupyterlite_xeus_python/build.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import csv
import os
import shutil
import sys
from pathlib import Path
from subprocess import run
from tempfile import TemporaryDirectory
Expand Down Expand Up @@ -143,6 +144,8 @@ def _install_pip_dependencies(prefix_path, dependencies, log=None):

run(
[
sys.executable,
"-m",
"pip",
"install",
*dependencies,
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ ignore = [
# PLR2004 Magic value used in comparison
"tests/*" = ["S101", "F841", "PLR2004"]

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

0 comments on commit d19bab0

Please sign in to comment.