[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3399: Evaluate adding mypy checks to code checks

Tahoe-LAFS trac at tahoe-lafs.org
Sun Nov 29 21:37:38 UTC 2020


#3399: Evaluate adding mypy checks to code checks
-----------------------------+------------------------------
     Reporter:  jaraco       |      Owner:
         Type:  enhancement  |     Status:  new
     Priority:  normal       |  Milestone:  Support Python 3
    Component:  unknown      |    Version:  n/a
   Resolution:               |   Keywords:
Launchpad Bug:               |
-----------------------------+------------------------------

Comment (by jaraco):

 Good news. With aggressive suppression of errors and a few improvements,
 the package now passes all checks on mypy:

 {{{
 tahoe-lafs 3399.mypy $ git-id
 d2d3f1f4a
 tahoe-lafs 3399.mypy $ tox -e typechecks
 typechecks installed:
 attrs==20.3.0,Automat==20.2.0,cffi==1.14.3,constantly==15.1.0,cryptography==3.2.1,foolscap
 @
 git+https://github.com/jaraco/foolscap@d70d8ecee926d3693b9fac55aebe13573d4f71c9,hyperlink==20.0.1,idna==2.10,incremental==17.5.0,mypy==0.790
 ,mypy-extensions==0.4.3,mypy-zope @ git+https://github.com/jaraco/mypy-
 zope at 48f912cc3cdb4ee37d4d3783ef466a7dce8bf0a9,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycparser==2.20,PyHamcrest==2.0.2,pyOpenSSL==19.1.0
 ,service-identity==18.1.0,six==1.15.0,Twisted==20.3.0,typed-ast==1.4.1
 ,typing-
 extensions==3.7.4.3,zope.event==4.5.0,zope.interface==5.2.0,zope.schema==6.0.0
 typechecks run-test-pre: PYTHONHASHSEED='974849251'
 typechecks run-test: commands[0] | mypy src
 Success: no issues found in 293 source files
 _____________________________________________________________ summary
 ______________________________________________________________
   typechecks: commands succeeded
   congratulations :)
 }}}

 Next steps:

 - (optional) create releases of the code in upstream branches
 - validate the CI integration
 - review and merge the PR

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3399#comment:25>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list