Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion strictdoc/backend/excel/import_/excel_to_sdoc_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
@relation(SDOC-SRS-152, scope=file)
"""

# mypy: disable-error-code="no-untyped-call"
import os
from typing import List, NamedTuple, Optional, Tuple, Union

Expand Down
1 change: 0 additions & 1 deletion strictdoc/backend/sdoc/free_text_reader.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
from typing import Optional, Tuple

from textx import metamodel_from_str
Expand Down
2 changes: 1 addition & 1 deletion strictdoc/backend/sdoc/models/document_grammar.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# mypy: disable-error-code="no-untyped-call,union-attr"
# mypy: disable-error-code="union-attr"
from typing import Dict, List, Optional, Set

from strictdoc.backend.sdoc.models.grammar_element import (
Expand Down
1 change: 0 additions & 1 deletion strictdoc/backend/sdoc/models/document_view.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
from typing import TYPE_CHECKING, List, Optional

from strictdoc.helpers.auto_described import auto_described
Expand Down
1 change: 0 additions & 1 deletion strictdoc/backend/sdoc/models/object_factory.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
from typing import Any, Dict, List, Optional

from strictdoc.backend.sdoc.document_reference import DocumentReference
Expand Down
1 change: 0 additions & 1 deletion strictdoc/backend/sdoc/models/reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
@relation(SDOC-SRS-31, SDOC-SRS-101, scope=file)
"""

# mypy: disable-error-code="no-untyped-call"
from typing import Any, Optional, Tuple

from strictdoc.backend.sdoc.models.grammar_element import ReferenceType
Expand Down
1 change: 0 additions & 1 deletion strictdoc/backend/sdoc_source_code/reader_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
@relation(SDOC-SRS-142, scope=file)
"""

# mypy: disable-error-code="no-untyped-call"
from itertools import islice
from typing import List, Optional, Sequence

Expand Down
1 change: 0 additions & 1 deletion strictdoc/cli/command_parser_builder.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
import argparse
import sys
from typing import List, NoReturn
Expand Down
1 change: 0 additions & 1 deletion strictdoc/core/actions/import_action.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
import os
from pathlib import Path
from typing import List, Union
Expand Down
1 change: 0 additions & 1 deletion strictdoc/core/finders/source_files_finder.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
import os
from pathlib import Path
from typing import List
Expand Down
2 changes: 1 addition & 1 deletion strictdoc/core/traceability_index_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@relation(SDOC-SRS-28, SDOC-SRS-2, scope=file)
"""

# mypy: disable-error-code="no-untyped-call,union-attr"
# mypy: disable-error-code="union-attr"
import datetime
import glob
import os
Expand Down
1 change: 0 additions & 1 deletion strictdoc/core/transforms/update_document_config.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
from collections import defaultdict
from typing import Dict, List, Optional

Expand Down
1 change: 0 additions & 1 deletion strictdoc/core/transforms/update_included_document.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
from collections import defaultdict
from typing import Dict, List

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
from typing import Dict, List, Optional

from starlette.datastructures import FormData
Expand Down
1 change: 0 additions & 1 deletion strictdoc/export/html/form_objects/grammar_form_object.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
from typing import List, Optional, Set

from markupsafe import Markup
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
import re
from collections import defaultdict
from typing import Dict, List, Optional
Expand Down
1 change: 0 additions & 1 deletion strictdoc/export/html/form_objects/section_form_object.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
from collections import defaultdict

from starlette.datastructures import FormData
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
import urllib
from dataclasses import dataclass
from typing import List, Optional, Set
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
import urllib
from dataclasses import dataclass
from typing import Optional
Expand Down
2 changes: 1 addition & 1 deletion strictdoc/export/html/html_generator.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# mypy: disable-error-code="arg-type,no-untyped-call,union-attr"
# mypy: disable-error-code="arg-type,union-attr"
import importlib
import os
import sys
Expand Down
1 change: 0 additions & 1 deletion strictdoc/export/html/html_templates.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
import datetime
import glob
import hashlib
Expand Down
1 change: 0 additions & 1 deletion strictdoc/export/html/tools/html_embedded.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
import os
from typing import Optional, Union

Expand Down
1 change: 0 additions & 1 deletion strictdoc/export/rst/rst_templates.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
from jinja2 import Environment, FileSystemLoader, StrictUndefined

from strictdoc import environment
Expand Down
1 change: 0 additions & 1 deletion strictdoc/export/rst/writer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
from enum import Enum
from typing import Optional

Expand Down
1 change: 0 additions & 1 deletion strictdoc/git/change_generator.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
from strictdoc.core.document_tree import DocumentTree
from strictdoc.core.document_tree_iterator import DocumentTreeIterator
from strictdoc.core.project_config import ProjectConfig
Expand Down
1 change: 0 additions & 1 deletion strictdoc/helpers/auto_described.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
# This function could be a separate package but keeping it within the project
# for simplicity.
__version__ = "0.0.1"
Expand Down
1 change: 0 additions & 1 deletion strictdoc/helpers/sorting.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
import re
from typing import List, Union

Expand Down
1 change: 0 additions & 1 deletion strictdoc/server/routers/other_router.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
import os
import urllib
from copy import deepcopy
Expand Down
1 change: 0 additions & 1 deletion strictdoc/server/server.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# mypy: disable-error-code="no-untyped-call"
import os
import tempfile
from contextlib import ExitStack
Expand Down
Loading