<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chan-na</author_name>
  <author_url>https://blog.hatena.ne.jp/chan-na/</author_url>
  <blog_title>iimon TECH BLOG</blog_title>
  <blog_url>https://tech.iimon.co.jp/</blog_url>
  <categories>
  </categories>
  <description>こんにちは！ 株式会社ｉｉｍｏｎでエンジニアをしている遠藤です。 今携わっているプロジェクトの Python バックエンドで、コミット時に mypy を走らせて型チェックをするようにしたいと思いました。 ただ、以前別のプロジェクトで同じことを試したときに、依存関係が不足してエラーにハマった経験があります。 そこで今回は、そのときのエラー例と、最終的に Docker イメージを使って解決できた方法 をまとめてみました。 ※本記事は --ignore-missing-importsを オフ にしている前提で書いています。 このオプションをオンにすると未解決の import は無視されますが、型チェ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.iimon.co.jp%2Fentry%2F2025%2F08%2F19%2F151753&quot; title=&quot;pre-commit × mypy を Docker イメージで動かして依存関係エラーを回避する方法 - iimon TECH BLOG&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>https://cdn-ak.f.st-hatena.com/images/fotolife/c/chan-na/20250819/20250819031512.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-08-19 15:17:53</published>
  <title>pre-commit × mypy を Docker イメージで動かして依存関係エラーを回避する方法</title>
  <type>rich</type>
  <url>https://tech.iimon.co.jp/entry/2025/08/19/151753</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
