Skip to content

Commit 576e34a

Browse files
[pre-commit.ci] pre-commit autoupdate (#507)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Steven Silvester <[email protected]>
1 parent 0243a2b commit 576e34a

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ repos:
3737
- id: black
3838

3939
- repo: https://github.com/charliermarsh/ruff-pre-commit
40-
rev: v0.0.260
40+
rev: v0.0.263
4141
hooks:
4242
- id: ruff
4343
args: ["--fix"]

.readthedocs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@ version: 2
22
sphinx:
33
configuration: docs/source/conf.py
44
python:
5-
version: 3.8
65
install:
76
# install itself with pip install .
87
- method: pip
98
path: .
109
extra_requirements:
1110
- docs
11+
build:
12+
os: ubuntu-22.04
13+
tools:
14+
python: "3.11"

jupyter_releaser/python.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def start_local_pypi():
129129
"""Start a local PyPI server"""
130130
temp_dir = TemporaryDirectory()
131131
cmd = f"pypi-server run -p 8081 -P . -a . -o -v {temp_dir.name}"
132-
proc = Popen(shlex.split(cmd), stdout=PIPE)
132+
proc = Popen(shlex.split(cmd), stdout=PIPE) # noqa
133133
# Wait for the server to start
134134
while True:
135135
assert proc.stdout is not None

jupyter_releaser/util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def _run_win(cmd, **kwargs):
110110
check = kwargs.pop("check", True)
111111

112112
try:
113-
output = check_output(parts, **kwargs).decode("utf-8").strip()
113+
output = check_output(parts, **kwargs).decode("utf-8").strip() # noqa
114114
log(output)
115115
return output
116116
except CalledProcessError as e:
@@ -727,7 +727,7 @@ def ensure_mock_github():
727727
run(f"'{python}' -m pip install fastapi uvicorn")
728728

729729
proc = subprocess.Popen(
730-
[python, "-m", "uvicorn", "jupyter_releaser.mock_github:app", "--port", str(port)]
730+
[python, "-m", "uvicorn", "jupyter_releaser.mock_github:app", "--port", str(port)] # noqa
731731
)
732732

733733
try:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ dependencies = [
9898
"black==23.3.0",
9999
"mdformat>0.7",
100100
"mdformat-gfm>=0.3.5",
101-
"ruff==0.0.260"
101+
"ruff==0.0.263"
102102
]
103103
detached = true
104104
[tool.hatch.envs.lint.scripts]

0 commit comments

Comments
 (0)