<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>a1026302</author_name>
  <author_url>https://blog.hatena.ne.jp/a1026302/</author_url>
  <blog_title>ものづくりのブログ</blog_title>
  <blog_url>https://a1026302.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>Python-autopep8</anon>
    <anon>Python-CodeFormatter</anon>
  </categories>
  <description>python コードが汚いので、autopep8 を使ってきれいなコードにしてみました。 autopep8 インストール 使い方 デフォルトのコード整形 --aggressive オプションをつけた場合 変更点表示 autopep8 autopep8 は自動的にPEP 8スタイルガイドに適合するように Python コードをフォーマットしてくれます。 pypi.python.org インストール 以下のコマンドで autopep8 をインストールします。 $ pip install autopep8 使い方 デフォルトのコード整形 デフォルトでコードの整形をしてみます。 $ autopep8 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa1026302.hatenablog.com%2Fentry%2F2021%2F02%2F24%2F001857&quot; title=&quot;【python】autopep8 で自動コード整形してみる - ものづくりのブログ&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.user.blog.st-hatena.com/default_entry_og_image/157314735/1599576939808917</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-02-24 00:18:57</published>
  <title>【python】autopep8 で自動コード整形してみる</title>
  <type>rich</type>
  <url>https://a1026302.hatenablog.com/entry/2021/02/24/001857</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
