Merge #21107: test: remove type: comments in favour of actual annotat…

Merge #21107: test: remove type: comments in favour of actual annotations

9913419cc9db5f8ce7afa0c3774468c330136064 test: remove type: comments in favour of actual annotations (fanquake)

Pull request description:

  Now that we require Python 3.6+, we should be using variable type
  annotations directly rather than `# type:` comments.

  Also takes care of the discarded value issue in p2p_message_capture.py.
  See: https://github.com/bitcoin/bitcoin/pull/19509/files#r571674446.

ACKs for top commit:
  MarcoFalke:
    review ACK 9913419cc9db5f8ce7afa0c3774468c330136064
  jnewbery:
    Code review ACK 9913419cc9db5f8ce7afa0c3774468c330136064

Tree-SHA512: 63aba5eef6c1320578f66cf8a6d85ac9dbab9d30b0d21e6e966be8216e63606de12321320c2958c67933bf68d10f2e76e9c43928e5989614cea34dde4187aad8

情報元 - Merge #21107: test: remove type: comments in favour of actual annotat… · bitcoin/[email protected] · GitHub

Merge #21107: test: remove type: comments in favour of actual annotat… · bitcoin/bitcoin@b401b09 · GitHub
スポンサーリンク

シェアする

フォローする

スポンサーリンク

トップへ戻る