Use django stubs for mypy to remove the following error in models.py:
Need type annotation for 'url'.
Details
Details
- Reviewers
ardumont - Group Reviewers
Reviewers - Commits
- rDAUTH7ff9562451a2: mypy: Fix django related error by using stubs
Diff Detail
Diff Detail
- Repository
- rDAUTH Common authentication libraries
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Build is green
Patch application report for D5313 (id=19062)
Rebasing onto b3d3ff6039...
Current branch diff-target is up to date.
Changes applied before test
commit 7ff9562451a29dab37c7444da979a015de7f8e7a Author: Antoine Lambert <antoine.lambert@inria.fr> Date: Tue Mar 23 18:10:01 2021 +0100 mypy: Fix django related error by using stubs Use django stubs for mypy to remove the following error in models.py: "Need type annotation for 'url'".
See https://jenkins.softwareheritage.org/job/DAUTH/job/tests-on-diff/45/ for more details.