Skip to content

Commit

Permalink
writer: update settings-defaults typing
Browse files Browse the repository at this point in the history
Updating the writer's `settings_defaults` attribute to match the most
recent docutils typing.

Signed-off-by: James Knight <james.d.knight@live.com>
  • Loading branch information
jdknight committed Oct 5, 2024
1 parent b8cfba0 commit 8802195
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sphinxcontrib/confluencebuilder/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
from __future__ import annotations
from docutils import writers
from typing import Any
from typing import ClassVar


class ConfluenceWriter(writers.Writer):
supported = ('text',)
settings_spec = ('No options here.', '', ())
settings_defaults: dict[str, Any] = {}
settings_defaults: ClassVar[dict[str, Any]] = {}

def __init__(self, builder):
writers.Writer.__init__(self)
Expand Down

0 comments on commit 8802195

Please sign in to comment.