The main goal of this commit is to add '-> StorageInterface', so all storage
users automatically get type-checked.
But mypy was whining about the multiple imports, so this commit also
deduplicates the import statements as a side-effect.
Differential D3640
Add type annotations on get_storage. vlorentz on Jul 29 2020, 3:13 PM. Authored by
Details
The main goal of this commit is to add '-> StorageInterface', so all storage But mypy was whining about the multiple imports, so this commit also
Diff Detail
Event Timeline
Comment Actions Build is green Patch application report for D3640 (id=12820)Rebasing onto 21b77304a0... First, rewinding head to replay your work on top of it... Applying: Add type annotations on get_storage. Changes applied before testcommit fa45a9b83c0f61547652cfb943441524633e02db Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Wed Jul 29 15:13:04 2020 +0200 Add type annotations on get_storage. The main goal of this commit is to add '-> StorageInterface', so all storage users automatically get type-checked. But mypy was whining about the multiple imports, so this commit also deduplicates the import statements as a side-effect. See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/599/ for more details. Comment Actions Build is green Patch application report for D3640 (id=12821)Rebasing onto 21b77304a0... First, rewinding head to replay your work on top of it... Applying: Add type annotations on get_storage. Changes applied before testcommit 796cb00681ffca68f5734ea6f0245af3e333e7eb Author: Valentin Lorentz <vlorentz@softwareheritage.org> Date: Wed Jul 29 15:13:04 2020 +0200 Add type annotations on get_storage. The main goal of this commit is to add '-> StorageInterface', so all storage users automatically get type-checked. But mypy was whining about the multiple imports, so this commit also deduplicates the import statements as a side-effect. See https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/600/ for more details. Comment Actions Build is green Patch application report for D3640 (id=12851)Rebasing onto 8cf6efa2e6... First, rewinding head to replay your work on top of it... Fast-forwarded diff-target to base-revision-622-D3640. Changes applied before testSee https://jenkins.softwareheritage.org/job/DSTO/job/tests-on-diff/622/ for more details. |