Skip to content

Commit

Permalink
Do not consider sphinx warnings as errors anymore.
Browse files Browse the repository at this point in the history
  • Loading branch information
don4get committed Mar 28, 2021
1 parent 1073082 commit d160a05
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion nodedge/editor_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def hasName(self) -> bool:
:rtype: ``bool``
"""
return self.filename is not None
return self.filename is not ""

@property
def shortName(self) -> str:
Expand Down
4 changes: 1 addition & 3 deletions nodedge/mdi_widget.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-
"""
Editor widget module containing :class:`~nodedge.editor_widget.EditorWidget` class.
Mdi widget module containing :class:`~nodedge.mdi_widget.MdiWidget` class.
"""
import logging
from typing import Callable, List, Optional
Expand Down Expand Up @@ -39,8 +39,6 @@ class MdiWidget(EditorWidget):
def __init__(self):
super().__init__()

self.filename: str = ""

self.__logger = logging.getLogger(__file__)
self.__logger.setLevel(logging.INFO)

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ commands =
changedir = docs
deps = -rrequirements_docs.txt
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees ./source {envtmpdir}/html
sphinx-build -b html -d {envtmpdir}/doctrees ./source {envtmpdir}/html

0 comments on commit d160a05

Please sign in to comment.