<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/atom.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Posts tagged: pre-commit</title>
  <id>https://waylonwalker.com/tags/pre-commit/atom.xml</id>
  <updated>2020-09-30T05:00:00Z</updated>
  <subtitle>All posts with the tag &#34;pre-commit&#34;</subtitle>
  <link href="https://waylonwalker.com/tags/pre-commit/" rel="alternate" type="text/html"></link>
  <link href="https://waylonwalker.com/tags/pre-commit/atom.xml" rel="self" type="application/atom+xml"></link>
  <author>
    <name>Waylon Walker</name>
  </author>
  <generator uri="https://github.com/WaylonWalker/markata-go">markata-go</generator>
  <entry>
    <title>Strip Trailing Whitespace from Git projects</title>
    <id>https://waylonwalker.com/strip-trailing-whitespace/</id>
    <updated>2020-09-30T05:00:00Z</updated>
    <published>2020-09-30T05:00:00Z</published>
    <link href="https://waylonwalker.com/strip-trailing-whitespace/" rel="alternate" type="text/html"></link>
    <summary type="text">A common linting error thrown by various linters is for trailing whitespace. I most often use flake8. I generally have pre-commit hooks setup to strip this,...</summary>
    <content type="html">&lt;p&gt;A common linting error thrown by various linters is for trailing whitespace.  I&#xA;most often use flake8.  I generally have&#xA;[pre-commit](&lt;a href=&#34;https://waylonwalker.com/pre-commit-is-awesome/&#34;&gt;https://waylonwalker.com/pre-commit-is-awesome&lt;/a&gt;&#xA;hooks setup to strip this,&#xA;but sometimes I run into situations where I jump into a project without it, and&#xA;my editor lights up with errors.  A simple fix is to run this one-liner.&lt;/p&gt;&#xA;&lt;h2 id=&#34;one-liner-to-strip-whitespace&#34;&gt;One-Liner to strip whitespace &lt;a href=&#34;#one-liner-to-strip-whitespace&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;em&gt;&lt;small&gt;&lt;mark&gt;bash&lt;/mark&gt;&lt;/small&gt;&lt;/em&gt;&lt;/p&gt;&#xA;&lt;pre class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;git grep -I --name-only -z -e &lt;span class=&#34;s1&#34;&gt;&amp;#39;&amp;#39;&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; xargs -0 sed -i -e &lt;span class=&#34;s1&#34;&gt;&amp;#39;s/[ \t]\+\(\r\?\)$/\1/&amp;#39;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;p style=&#34;text-align: center&#34; align=&#34;center&#34;&gt;&#xA;&lt;a href=&#34;https://waylonwalker.com/pre-commit-is-awesome&#34;&gt;&#xA;  &lt;img class=&#34;glightbox&#34; style=&#34;width:400px; max-width:80%; margin: auto;&#34; width=&#34;400&#34; src=&#34;https://images.waylonwalker.com/pre-commit-is-awesome.png&#34; alt=&#34;pre-commit article&#34;/ data-glightbox=&#34;description: pre-commit article&#34;&gt;&#xA;  &lt;/a&gt;&#xA;&lt;/p&gt;&#xA;&lt;p&gt;read more about how  &lt;a href=&#34;/pre-commit-is-awesome/&#34; class=&#34;wikilink&#34; data-title=&#34;pre-commit is awesome&#34; data-description=&#34;I recently discovered the ✨ awesomeness that is pre-commit. I steered away from it for so long because it seemed like a big daunting thing to set up, but...&#34; data-date=&#34;2020-06-05&#34; data-preview=&#34;I recently discovered the ✨ awesomeness that is pre-commit. I steered away from it for so long because it seemed like a big daunting thing to set up, but...&#34;&gt;pre-commit is awesome&lt;/a&gt;&lt;/p&gt;&#xA;</content>
    <author>
      <name>Waylon Walker</name>
      <email>hello@waylonwalker.com</email>
      <uri>https://waylonwalker.com</uri>
    </author>
  </entry>
  <entry>
    <title>Serverless things to investigate</title>
    <id>https://waylonwalker.com/serverless-things-to-investigate/</id>
    <updated>2020-02-10T15:00:00Z</updated>
    <published>2020-02-10T15:00:00Z</published>
    <link href="https://waylonwalker.com/serverless-things-to-investigate/" rel="alternate" type="text/html"></link>
    <summary type="text">Free - only one step is free - can take rss to social</summary>
    <content type="html">&lt;h2 id=&#34;social-automation&#34;&gt;Social Automation &lt;a href=&#34;#social-automation&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;h3 id=&#34;zappier&#34;&gt;Zappier &lt;a href=&#34;#zappier&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Free&lt;/li&gt;&#xA;&lt;li&gt;only one step is free&lt;/li&gt;&#xA;&lt;li&gt;can take rss to social&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;automateio&#34;&gt;Automate.io &lt;a href=&#34;#automateio&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;form-submission&#34;&gt;Form submission &lt;a href=&#34;#form-submission&#34; class=&#34;heading-anchor&#34;&gt;#&lt;/a&gt;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://getform.io/&#34; title=&#34;https://getform.io&#34; style=&#34;--favicon-url: url(&amp;#39;/assets/markata/link-avatars/getform.io.ico&amp;#39;);&#34; data-favicon=&#34;/assets/markata/link-avatars/getform.io.ico&#34; class=&#34;has-avatar  has-avatar-before&#34;&gt;https://getform.io&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Free to get started&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://formkeep.com/&#34; style=&#34;--favicon-url: url(&amp;#39;/assets/markata/link-avatars/formkeep.com.png&amp;#39;);&#34; data-favicon=&#34;/assets/markata/link-avatars/formkeep.com.png&#34; class=&#34;has-avatar  has-avatar-before&#34;&gt;https://formkeep.com/?#pricing&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Free 7 day trial $4.99 cheapest after&lt;/p&gt;&#xA;</content>
    <author>
      <name>Waylon Walker</name>
      <email>hello@waylonwalker.com</email>
      <uri>https://waylonwalker.com</uri>
    </author>
  </entry>
</feed>