Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1867

Fix mypy issues following the update to mypy 0.730

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.3.0
    • Component/s: Framework

      Description

      Mypy is getting better and better, and the last update found new issues:

      >>> Checking type annotations
      nxdrive/utils.py:1088: error: Incompatible types in assignment (expression has type "str", variable has type "Tuple[str]")
      nxdrive/utils.py:1092: error: Incompatible types in assignment (expression has type "str", variable has type "Tuple[str]")
      nxdrive/utils.py:1094: error: Incompatible types in assignment (expression has type "str", variable has type "Tuple[str]")
      nxdrive/engine/engine.py:601: error: Argument 2 to "ServerBindingSettings" has incompatible type "bool"; expected "str"
      Found 4 errors in 2 files (checked 65 source files)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 minutes
                  5m