Skip to content

Commit

Permalink
refactor: stop overiding type of existing class members (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau authored Jun 6, 2024
2 parents 629f28a + c972f4e commit 97259d4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sphinxcontrib/video/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import urllib.parse
from pathlib import Path
from typing import Any, Dict, List, Tuple
from typing import Dict, List, Tuple

from docutils import nodes
from docutils.parsers.rst import directives
Expand Down Expand Up @@ -83,10 +83,10 @@ class Video(SphinxDirective):
Wrapper for the html <video> tag embeding all the supported options
"""

has_content: bool = True
required_arguments: int = 1
optional_arguments: int = 1
option_spec: Dict[str, Any] = {
has_content = True
required_arguments = 1
optional_arguments = 1
option_spec = {
"alt": directives.unchanged,
"autoplay": directives.flag,
"nocontrols": directives.flag,
Expand Down

0 comments on commit 97259d4

Please sign in to comment.