Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jupyter-server-terminals for
openSUSE:Factory checked in at 2023-01-23 18:31:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyter-server-terminals (Old)
and /work/SRC/openSUSE:Factory/.python-jupyter-server-terminals.new.32243
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter-server-terminals"
Mon Jan 23 18:31:31 2023 rev:2 rq:1060264 version:0.4.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyter-server-terminals/python-jupyter-server-terminals.changes
2023-01-03 15:05:02.298395328 +0100
+++
/work/SRC/openSUSE:Factory/.python-jupyter-server-terminals.new.32243/python-jupyter-server-terminals.changes
2023-01-23 18:31:56.648054828 +0100
@@ -1,0 +2,7 @@
+Sun Jan 22 13:00:36 UTC 2023 - Ben Greiner <[email protected]>
+
+- Update to 0.4.4
+ * Add typing file #74 (@blink1073)
+ * Add spelling and docstring enforcement #72 (@blink1073)
+
+-------------------------------------------------------------------
Old:
----
jupyter_server_terminals-0.4.3.tar.gz
New:
----
jupyter_server_terminals-0.4.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyter-server-terminals.spec ++++++
--- /var/tmp/diff_new_pack.s2rBqd/_old 2023-01-23 18:31:57.300058852 +0100
+++ /var/tmp/diff_new_pack.s2rBqd/_new 2023-01-23 18:31:57.304058876 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package python-jupyter-server-terminals
+# spec file
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,25 +26,25 @@
%endif
Name: python-jupyter-server-terminals%{psuffix}
-Version: 0.4.3
+Version: 0.4.4
Release: 0
Summary: A Jupyter Server Extension Providing Terminals
License: BSD-3-Clause
URL: https://github.com/jupyter-server/jupyter_server_terminals
-Source:
https://files.pythonhosted.org/packages/source/j/jupyter_server_terminals/jupyter_server_terminals-0.4.3.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/j/jupyter_server_terminals/jupyter_server_terminals-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: fdupes
-BuildRequires: python-rpm-macros
BuildRequires: jupyter-rpm-macros
-Requires: python-terminado >= 0.8.3
+BuildRequires: python-rpm-macros
Requires: jupyter-server-terminals = %{version}
+Requires: python-terminado >= 0.8.3
Provides: python-jupyter_server_terminals = %{version}-%{release}
BuildArch: noarch
%if %{with test}
-BuildRequires: %{python_module jupyter-server-terminals = %{version}}
BuildRequires: %{python_module jupyter-server >= 2}
+BuildRequires: %{python_module jupyter-server-terminals = %{version}}
BuildRequires: %{python_module pytest >= 7.0}
BuildRequires: %{python_module pytest-jupyter-server >= 0.5.3}
BuildRequires: %{python_module pytest-timeout}
++++++ jupyter_server_terminals-0.4.3.tar.gz ->
jupyter_server_terminals-0.4.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_server_terminals-0.4.3/.github/workflows/test.yml
new/jupyter_server_terminals-0.4.4/.github/workflows/test.yml
--- old/jupyter_server_terminals-0.4.3/.github/workflows/test.yml
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_server_terminals-0.4.4/.github/workflows/test.yml
2020-02-02 01:00:00.000000000 +0100
@@ -22,7 +22,7 @@
run: |
hatch run typing:test
hatch run lint:style
- pipx run 'validate-pyproject[all]' pyproject.toml
+ pipx run interrogate .
pipx run doc8 --max-line-length=200
test:
@@ -60,7 +60,7 @@
test_docs:
name: Test Docs
- runs-on: ubuntu-latest
+ runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_server_terminals-0.4.3/.pre-commit-config.yaml
new/jupyter_server_terminals-0.4.4/.pre-commit-config.yaml
--- old/jupyter_server_terminals-0.4.3/.pre-commit-config.yaml 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyter_server_terminals-0.4.4/.pre-commit-config.yaml 2020-02-02
01:00:00.000000000 +0100
@@ -5,17 +5,17 @@
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- - id: end-of-file-fixer
- id: check-case-conflict
+ - id: check-ast
+ - id: check-docstring-first
- id: check-executables-have-shebangs
- - id: requirements-txt-fixer
- id: check-added-large-files
- id: check-case-conflict
+ - id: check-merge-conflict
+ - id: check-json
- id: check-toml
- id: check-yaml
- - id: debug-statements
- - id: forbid-new-submodules
- - id: check-builtin-literals
+ - id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/python-jsonschema/check-jsonschema
@@ -31,12 +31,12 @@
[mdformat-gfm, mdformat-frontmatter, mdformat-footnote]
- repo: https://github.com/psf/black
- rev: 22.10.0
+ rev: 22.12.0
hooks:
- id: black
- repo: https://github.com/charliermarsh/ruff-pre-commit
- rev: v0.0.181
+ rev: v0.0.206
hooks:
- id: ruff
args: ["--fix"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_server_terminals-0.4.3/CHANGELOG.md
new/jupyter_server_terminals-0.4.4/CHANGELOG.md
--- old/jupyter_server_terminals-0.4.3/CHANGELOG.md 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyter_server_terminals-0.4.4/CHANGELOG.md 2020-02-02
01:00:00.000000000 +0100
@@ -4,6 +4,23 @@
<!-- <START NEW CHANGELOG ENTRY> -->
+## 0.4.4
+
+([Full
Changelog](https://github.com/jupyter-server/jupyter_server_terminals/compare/v0.4.3...6791413888e45d2aeab5d9d154c98ca9dbd828d8))
+
+### Maintenance and upkeep improvements
+
+- Add typing file
[#74](https://github.com/jupyter-server/jupyter_server_terminals/pull/74)
([@blink1073](https://github.com/blink1073))
+- Add spelling and docstring enforcement
[#72](https://github.com/jupyter-server/jupyter_server_terminals/pull/72)
([@blink1073](https://github.com/blink1073))
+
+### Contributors to this release
+
+([GitHub contributors page for this
release](https://github.com/jupyter-server/jupyter_server_terminals/graphs/contributors?from=2022-12-19&to=2023-01-09&type=c))
+
+[@blink1073](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server_terminals+involves%3Ablink1073+updated%3A2022-12-19..2023-01-09&type=Issues)
|
[@codecov](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server_terminals+involves%3Acodecov+updated%3A2022-12-19..2023-01-09&type=Issues)
|
[@pre-commit-ci](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server_terminals+involves%3Apre-commit-ci+updated%3A2022-12-19..2023-01-09&type=Issues)
+
+<!-- <END NEW CHANGELOG ENTRY> -->
+
## 0.4.3
([Full
Changelog](https://github.com/jupyter-server/jupyter_server_terminals/compare/v0.4.2...b1f2a99b062192e809d770c517ce02988d32d121))
@@ -23,8 +40,6 @@
[@blink1073](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server_terminals+involves%3Ablink1073+updated%3A2022-12-01..2022-12-19&type=Issues)
|
[@codecov](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server_terminals+involves%3Acodecov+updated%3A2022-12-01..2022-12-19&type=Issues)
|
[@dependabot](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server_terminals+involves%3Adependabot+updated%3A2022-12-01..2022-12-19&type=Issues)
|
[@pre-commit-ci](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server_terminals+involves%3Apre-commit-ci+updated%3A2022-12-01..2022-12-19&type=Issues)
-<!-- <END NEW CHANGELOG ENTRY> -->
-
## 0.4.2
([Full
Changelog](https://github.com/jupyter-server/jupyter_server_terminals/compare/v0.4.1...744451298913d2c2d81698f94d16dfb595df897f))
@@ -198,10 +213,10 @@
### Documentation improvements
-- Fix links in readme
[#3](https://github.com/jupyter-server/jupyter_server_terminals/pull/3)
([@jweill-aws](https://github.com/jweill-aws))
+- Fix links in readme
[#3](https://github.com/jupyter-server/jupyter_server_terminals/pull/3)
([@jasonweill](https://github.com/jasonweill))
### Contributors to this release
([GitHub contributors page for this
release](https://github.com/jupyter-server/jupyter_server_terminals/graphs/contributors?from=2021-12-26&to=2022-04-02&type=c))
-[@blink1073](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server_terminals+involves%3Ablink1073+updated%3A2021-12-26..2022-04-02&type=Issues)
|
[@jweill-aws](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server_terminals+involves%3Ajweill-aws+updated%3A2021-12-26..2022-04-02&type=Issues)
|
[@welcome](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server_terminals+involves%3Awelcome+updated%3A2021-12-26..2022-04-02&type=Issues)
|
[@Wh1isper](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server_terminals+involves%3AWh1isper+updated%3A2021-12-26..2022-04-02&type=Issues)
|
[@Zsailer](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server_terminals+involves%3AZsailer+updated%3A2021-12-26..2022-04-02&type=Issues)
+[@blink1073](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server_terminals+involves%3Ablink1073+updated%3A2021-12-26..2022-04-02&type=Issues)
|
[@jasonweills](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server_terminals+involves%3Ajasonweill+updated%3A2021-12-26..2022-04-02&type=Issues)
|
[@welcome](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server_terminals+involves%3Awelcome+updated%3A2021-12-26..2022-04-02&type=Issues)
|
[@Wh1isper](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server_terminals+involves%3AWh1isper+updated%3A2021-12-26..2022-04-02&type=Issues)
|
[@Zsailer](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_server_terminals+involves%3AZsailer+updated%3A2021-12-26..2022-04-02&type=Issues)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_server_terminals-0.4.3/PKG-INFO
new/jupyter_server_terminals-0.4.4/PKG-INFO
--- old/jupyter_server_terminals-0.4.3/PKG-INFO 2020-02-02 01:00:00.000000000
+0100
+++ new/jupyter_server_terminals-0.4.4/PKG-INFO 2020-02-02 01:00:00.000000000
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: jupyter_server_terminals
-Version: 0.4.3
+Version: 0.4.4
Summary: A Jupyter Server Extension Providing Terminals.
Project-URL: Homepage, https://jupyter.org
Author-email: Jupyter Development Team <[email protected]>
@@ -87,6 +87,7 @@
Requires-Dist: pydata-sphinx-theme; extra == 'docs'
Requires-Dist: sphinxcontrib-github-alt; extra == 'docs'
Requires-Dist: sphinxcontrib-openapi; extra == 'docs'
+Requires-Dist: sphinxcontrib-spelling; extra == 'docs'
Requires-Dist: sphinxemoji; extra == 'docs'
Requires-Dist: tornado; extra == 'docs'
Provides-Extra: test
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_server_terminals-0.4.3/docs/source/conf.py
new/jupyter_server_terminals-0.4.4/docs/source/conf.py
--- old/jupyter_server_terminals-0.4.3/docs/source/conf.py 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyter_server_terminals-0.4.4/docs/source/conf.py 2020-02-02
01:00:00.000000000 +0100
@@ -67,6 +67,13 @@
"sphinxemoji.sphinxemoji",
]
+try:
+ import enchant # type:ignore # noqa
+
+ extensions += ["sphinxcontrib.spelling"]
+except ImportError:
+ pass
+
myst_enable_extensions = ["html_image"]
# Add any paths that contain templates here, relative to this directory.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_server_terminals-0.4.3/jupyter_server_terminals/_version.py
new/jupyter_server_terminals-0.4.4/jupyter_server_terminals/_version.py
--- old/jupyter_server_terminals-0.4.3/jupyter_server_terminals/_version.py
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_server_terminals-0.4.4/jupyter_server_terminals/_version.py
2020-02-02 01:00:00.000000000 +0100
@@ -1 +1,2 @@
-__version__ = "0.4.3"
+"""Version info for jupyter_server_terminals."""
+__version__ = "0.4.4"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_server_terminals-0.4.3/jupyter_server_terminals/api_handlers.py
new/jupyter_server_terminals-0.4.4/jupyter_server_terminals/api_handlers.py
--- old/jupyter_server_terminals-0.4.3/jupyter_server_terminals/api_handlers.py
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_server_terminals-0.4.4/jupyter_server_terminals/api_handlers.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,3 +1,4 @@
+"""API handlers for terminals."""
import json
from pathlib import Path
from typing import Optional
@@ -12,13 +13,18 @@
class TerminalAPIHandler(APIHandler):
+ """The base terminal handler."""
+
auth_resource = AUTH_RESOURCE
class TerminalRootHandler(TerminalsMixin, TerminalAPIHandler):
+ """The root termanal API handler."""
+
@web.authenticated
@authorized
def get(self):
+ """Get the list of terminals."""
models = self.terminal_manager.list()
self.finish(json.dumps(models))
@@ -55,17 +61,21 @@
class TerminalHandler(TerminalsMixin, TerminalAPIHandler):
+ """A handler for a specific terminal."""
+
SUPPORTED_METHODS = ("GET", "DELETE") # type:ignore[assignment]
@web.authenticated
@authorized
def get(self, name):
+ """Get a terminal by name."""
model = self.terminal_manager.get(name)
self.finish(json.dumps(model))
@web.authenticated
@authorized
async def delete(self, name):
+ """Remove a terminal by name."""
await self.terminal_manager.terminate(name, force=True)
self.set_status(204)
self.finish()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_server_terminals-0.4.3/jupyter_server_terminals/app.py
new/jupyter_server_terminals-0.4.4/jupyter_server_terminals/app.py
--- old/jupyter_server_terminals-0.4.3/jupyter_server_terminals/app.py
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_server_terminals-0.4.4/jupyter_server_terminals/app.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,3 +1,4 @@
+"""A terminals extension app."""
import os
import shlex
import sys
@@ -13,6 +14,7 @@
class TerminalsExtensionApp(ExtensionApp):
+ """A terminals extension app."""
name = "jupyter_server_terminals"
@@ -30,12 +32,14 @@
terminals_available = False
def initialize_settings(self):
+ """Initialize settings."""
self.initialize_configurables()
self.settings.update(
{"terminals_available": True, "terminal_manager":
self.terminal_manager}
)
def initialize_configurables(self):
+ """Initialize configurables."""
if os.name == "nt":
default_shell = "powershell.exe"
else:
@@ -65,6 +69,7 @@
self.terminal_manager.log = self.serverapp.log
def initialize_handlers(self):
+ """Initialize handlers."""
self.handlers.append(
(
r"/terminals/websocket/(\w+)",
@@ -79,6 +84,7 @@
]
def current_activity(self):
+ """Get current activity info."""
if self.terminals_available:
terminals = self.terminal_manager.terminals
if terminals:
@@ -102,4 +108,5 @@
await ensure_async(terminal_manager.terminate_all())
async def stop_extension(self):
+ """Stop the extension."""
await self.cleanup_terminals()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_server_terminals-0.4.3/jupyter_server_terminals/base.py
new/jupyter_server_terminals-0.4.4/jupyter_server_terminals/base.py
--- old/jupyter_server_terminals-0.4.3/jupyter_server_terminals/base.py
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_server_terminals-0.4.4/jupyter_server_terminals/base.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,7 +1,10 @@
+"""Base classes."""
from jupyter_server.extension.handler import ExtensionHandlerMixin
class TerminalsMixin(ExtensionHandlerMixin):
+ """An extension mixin for terminals."""
+
@property
def terminal_manager(self):
return self.settings["terminal_manager"] # type:ignore[attr-defined]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_server_terminals-0.4.3/jupyter_server_terminals/handlers.py
new/jupyter_server_terminals-0.4.4/jupyter_server_terminals/handlers.py
--- old/jupyter_server_terminals-0.4.3/jupyter_server_terminals/handlers.py
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyter_server_terminals-0.4.4/jupyter_server_terminals/handlers.py
2020-02-02 01:00:00.000000000 +0100
@@ -14,10 +14,12 @@
class TermSocket(TerminalsMixin, WebSocketMixin, JupyterHandler,
BaseTermSocket):
+ """A terminal websocket."""
auth_resource = AUTH_RESOURCE
def initialize(self, name, term_manager, **kwargs):
+ """Initialize the socket."""
BaseTermSocket.initialize(self, term_manager, **kwargs)
TerminalsMixin.initialize(self, name)
@@ -28,6 +30,7 @@
return True
def get(self, *args, **kwargs):
+ """Get the terminal socket."""
user = self.current_user
if not user:
@@ -45,10 +48,12 @@
return super().get(*args, **kwargs)
def on_message(self, message):
+ """Handle a socket mesage."""
super().on_message(message)
self._update_activity()
def write_message(self, message, binary=False):
+ """Write a message to the socket."""
super().write_message(message, binary=binary)
self._update_activity()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyter_server_terminals-0.4.3/jupyter_server_terminals/terminalmanager.py
new/jupyter_server_terminals-0.4.4/jupyter_server_terminals/terminalmanager.py
---
old/jupyter_server_terminals-0.4.3/jupyter_server_terminals/terminalmanager.py
2020-02-02 01:00:00.000000000 +0100
+++
new/jupyter_server_terminals-0.4.4/jupyter_server_terminals/terminalmanager.py
2020-02-02 01:00:00.000000000 +0100
@@ -7,18 +7,18 @@
from datetime import timedelta
from jupyter_server._tz import isoformat, utcnow
-from jupyter_server.prometheus.metrics import ( # type:ignore[attr-defined]
- TERMINAL_CURRENTLY_RUNNING_TOTAL,
-)
+from jupyter_server.prometheus import metrics
from terminado.management import NamedTermManager
from tornado import web
from tornado.ioloop import IOLoop, PeriodicCallback
from traitlets import Integer
from traitlets.config import LoggingConfigurable
+RUNNING_TOTAL = metrics.TERMINAL_CURRENTLY_RUNNING_TOTAL #
type:ignore[attr-defined]
+
class TerminalManager(LoggingConfigurable, NamedTermManager): #
type:ignore[misc]
- """ """
+ """A MultiTerminalManager for use in the notebook webserver"""
_culler_callback = None
@@ -41,9 +41,6 @@
# -------------------------------------------------------------------------
# Methods for managing terminals
# -------------------------------------------------------------------------
- def __init__(self, *args, **kwargs):
- super().__init__(*args, **kwargs)
-
def create(self, **kwargs):
"""Create a new terminal."""
name, term = self.new_named_terminal(**kwargs)
@@ -53,7 +50,7 @@
term.last_activity = utcnow()
model = self.get_terminal_model(name)
# Increase the metric by one because a new terminal was created
- TERMINAL_CURRENTLY_RUNNING_TOTAL.inc()
+ RUNNING_TOTAL.inc()
# Ensure culler is initialized
self._initialize_culler()
return model
@@ -68,7 +65,7 @@
models = [self.get_terminal_model(name) for name in self.terminals]
# Update the metric below to the length of the list 'terms'
- TERMINAL_CURRENTLY_RUNNING_TOTAL.set(len(models))
+ RUNNING_TOTAL.set(len(models))
return models
async def terminate(self, name, force=False):
@@ -78,7 +75,7 @@
# Decrease the metric below by one
# because a terminal has been shutdown
- TERMINAL_CURRENTLY_RUNNING_TOTAL.dec()
+ RUNNING_TOTAL.dec()
async def terminate_all(self):
"""Terminate all terminals."""
@@ -166,4 +163,5 @@
await self.terminate(name, force=True)
def pre_pty_read_hook(self, ptywclients):
+ """The pre-pty read hook."""
ptywclients.last_activity = utcnow()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyter_server_terminals-0.4.3/pyproject.toml
new/jupyter_server_terminals-0.4.4/pyproject.toml
--- old/jupyter_server_terminals-0.4.3/pyproject.toml 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyter_server_terminals-0.4.4/pyproject.toml 2020-02-02
01:00:00.000000000 +0100
@@ -54,6 +54,7 @@
"sphinxcontrib-openapi",
"sphinxcontrib_github_alt",
"sphinxemoji",
+"sphinxcontrib-spelling",
]
[tool.hatch.version]
@@ -88,10 +89,10 @@
[tool.hatch.envs.lint]
dependencies = [
- "black[jupyter]==22.10.0",
+ "black[jupyter]==22.12.0",
"mdformat>0.7",
"mdformat-gfm>=0.3.5",
- "ruff==0.0.181"
+ "ruff==0.0.206"
]
detached = true
[tool.hatch.envs.lint.scripts]
@@ -192,3 +193,13 @@
# B011: Do not call assert False since python -O removes these calls
# F841 local variable 'foo' is assigned to but never used
"tests/*" = ["B011", "F841"]
+
+[tool.interrogate]
+ignore-init-module=true
+ignore-private=true
+ignore-semiprivate=true
+ignore-property-decorators=true
+ignore-nested-functions=true
+ignore-nested-classes=true
+fail-under=100
+exclude = ["tests", "docs"]