Skip to content

Commit bc59fda

Browse files
committed
reduce more log noise
1 parent 1842173 commit bc59fda

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.github/workflows/test.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ on:
2323
- "pre-commit-ci-update-config"
2424
workflow_dispatch:
2525

26+
env:
27+
# avoid warnings about config paths
28+
JUPYTER_PLATFORM_DIRS: "1"
29+
2630
jobs:
2731
build:
2832
runs-on: ubuntu-22.04

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ addopts = [
191191
"--cov-context=test",
192192
"--cov-report=term-missing:skip-covered",
193193
"--cov-report=html:build/coverage",
194+
"--no-cov-on-fail",
194195
"--html=build/pytest/index.html",
195196
"--color=yes",
196197
]

tests/resources/jupyter_server_config.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,11 @@ def cats_only(response, path):
124124
c.ServerProxy.non_service_rewrite_response = hello_to_foo
125125

126126
c.ServerApp.jpserver_extensions = {"proxyextension": True}
127+
127128
c.NotebookApp.nbserver_extensions = {"proxyextension": True}
128129

130+
# disable notebook 7 banner
131+
c.ServerApp.show_banner = False
132+
133+
# disable slow/noisy discovery of language servers
129134
c.LanguageServerManager.autodetect = False

0 commit comments

Comments
 (0)