<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mickey24</author_name>
  <author_url>https://blog.hatena.ne.jp/mickey24/</author_url>
  <blog_title>ぬいぐるみライフ？</blog_title>
  <blog_url>https://mickey24.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>github.com PytypeはGoogle製のPython用静的型検証ツールです。型ヒントなしのコードでも型推論を行って検証し、潜在的なバグを指摘してくれます。 インストール pip install pytype 使用例 例えば以下のようなfoo.pyというファイルがあったとします。 def increment(x): return x + 1 increment('0') このコードは実行するとTypeErrorをraiseします。 pytypeでこのコードを検証してみます。 $ pytype foo.py すると、以下の通り当該コードに対してunsupported operand t…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmickey24.hatenablog.com%2Fentry%2Fpytype&quot; title=&quot;pytype：型ヒントなしでも使えるPython用静的型検証ツール - ぬいぐるみライフ？&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-08-23 09:20:00</published>
  <title>pytype：型ヒントなしでも使えるPython用静的型検証ツール</title>
  <type>rich</type>
  <url>https://mickey24.hatenablog.com/entry/pytype</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
