<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nigimitama</author_name>
  <author_url>https://blog.hatena.ne.jp/nigimitama/</author_url>
  <blog_title>盆暗の学習記録</blog_title>
  <blog_url>https://nigimitama.hatenablog.jp/</blog_url>
  <categories>
    <anon>エンジニアリング</anon>
    <anon>Python</anon>
  </categories>
  <description>lintや型チェックなどの静的解析はバグを未然に防ぐのに役立ちますし、formatterの実行は規約に反するコードを自動で修正してきれいなコードベースを保つうえで便利です。 しかし、コードを変更するたびに手動でコマンドを実行するのは面倒なので、自動で実行したいです。 LintやFormatを自動化する方法をいくつかまとめます（主にPython向けですが、他の言語でも考え方は同じです） VS Codeで実行する 拡張機能の導入 Formatter の実行 commit 時に Git hook で実行する Github Actions で実行する 静的解析をGithub Actionsで実行する …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnigimitama.hatenablog.jp%2Fentry%2F2025%2F09%2F14%2F210538&quot; title=&quot;LintやFormat、型チェックを自動実行する方法まとめ - 盆暗の学習記録&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/n/nigimitama/20250914/20250914165309.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-09-14 21:05:38</published>
  <title>LintやFormat、型チェックを自動実行する方法まとめ</title>
  <type>rich</type>
  <url>https://nigimitama.hatenablog.jp/entry/2025/09/14/210538</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
