Skip to content

Commit

Permalink
deploy: 4439fd2
Browse files Browse the repository at this point in the history
  • Loading branch information
coordt committed Jan 27, 2024
1 parent ba65446 commit 9bf44a4
Show file tree
Hide file tree
Showing 87 changed files with 4,923 additions and 1,234 deletions.
10 changes: 8 additions & 2 deletions _modules/bumpversion/aliases.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,13 @@
<li class="toctree-l4"><a class="reference internal" href="../../reference/bumpversion/bumpversion.config.files_legacy.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.config.files_legacy</span></code></a></li>
</ul>
</li>
<li class="toctree-l3 has-children"><a class="reference internal" href="../../reference/bumpversion/bumpversion.versioning.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.versioning</span></code></a><input class="toctree-checkbox" id="toctree-checkbox-6" name="toctree-checkbox-6" role="switch" type="checkbox"/><label for="toctree-checkbox-6"><div class="visually-hidden">Toggle navigation of bumpversion.versioning</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="../../reference/bumpversion/bumpversion.versioning.conventions.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.versioning.conventions</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="../../reference/bumpversion/bumpversion.versioning.functions.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.versioning.functions</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="../../reference/bumpversion/bumpversion.versioning.models.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.versioning.models</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="../../reference/bumpversion/bumpversion.versioning.serialization.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.versioning.serialization</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.yaml_dump.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.yaml_dump</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.show.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.show</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.ui.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.ui</span></code></a></li>
Expand All @@ -194,7 +201,6 @@
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.files.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.files</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.bump.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.bump</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.indented_logger.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.indented_logger</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.functions.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.functions</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.exceptions.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.exceptions</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.__main__.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.__main__</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.cli.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.cli</span></code></a></li>
Expand All @@ -204,7 +210,7 @@
</li>
</ul>
</li>
<li class="toctree-l1 has-children"><a class="reference internal" href="../../explanation/index.html">Explanation</a><input class="toctree-checkbox" id="toctree-checkbox-6" name="toctree-checkbox-6" role="switch" type="checkbox"/><label for="toctree-checkbox-6"><div class="visually-hidden">Toggle navigation of Explanation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul class="simple">
<li class="toctree-l1 has-children"><a class="reference internal" href="../../explanation/index.html">Explanation</a><input class="toctree-checkbox" id="toctree-checkbox-7" name="toctree-checkbox-7" role="switch" type="checkbox"/><label for="toctree-checkbox-7"><div class="visually-hidden">Toggle navigation of Explanation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul class="simple">
</ul>
</li>
</ul>
Expand Down
12 changes: 10 additions & 2 deletions _modules/bumpversion/autocast.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,13 @@
<li class="toctree-l4"><a class="reference internal" href="../../reference/bumpversion/bumpversion.config.files_legacy.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.config.files_legacy</span></code></a></li>
</ul>
</li>
<li class="toctree-l3 has-children"><a class="reference internal" href="../../reference/bumpversion/bumpversion.versioning.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.versioning</span></code></a><input class="toctree-checkbox" id="toctree-checkbox-6" name="toctree-checkbox-6" role="switch" type="checkbox"/><label for="toctree-checkbox-6"><div class="visually-hidden">Toggle navigation of bumpversion.versioning</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="../../reference/bumpversion/bumpversion.versioning.conventions.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.versioning.conventions</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="../../reference/bumpversion/bumpversion.versioning.functions.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.versioning.functions</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="../../reference/bumpversion/bumpversion.versioning.models.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.versioning.models</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="../../reference/bumpversion/bumpversion.versioning.serialization.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.versioning.serialization</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.yaml_dump.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.yaml_dump</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.show.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.show</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.ui.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.ui</span></code></a></li>
Expand All @@ -194,7 +201,6 @@
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.files.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.files</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.bump.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.bump</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.indented_logger.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.indented_logger</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.functions.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.functions</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.exceptions.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.exceptions</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.__main__.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.__main__</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.cli.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.cli</span></code></a></li>
Expand All @@ -204,7 +210,7 @@
</li>
</ul>
</li>
<li class="toctree-l1 has-children"><a class="reference internal" href="../../explanation/index.html">Explanation</a><input class="toctree-checkbox" id="toctree-checkbox-6" name="toctree-checkbox-6" role="switch" type="checkbox"/><label for="toctree-checkbox-6"><div class="visually-hidden">Toggle navigation of Explanation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul class="simple">
<li class="toctree-l1 has-children"><a class="reference internal" href="../../explanation/index.html">Explanation</a><input class="toctree-checkbox" id="toctree-checkbox-7" name="toctree-checkbox-7" role="switch" type="checkbox"/><label for="toctree-checkbox-7"><div class="visually-hidden">Toggle navigation of Explanation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul class="simple">
</ul>
</li>
</ul>
Expand Down Expand Up @@ -245,6 +251,8 @@ <h1>Source code for bumpversion.autocast</h1><div class="highlight"><pre>
<span class="sd">Automatically detect the true Python type of a string and cast it to the correct type.</span>

<span class="sd">Based on https://github.com/cgreer/cgAutoCast/blob/master/cgAutoCast.py</span>

<span class="sd">Only used by Legacy configuration file parser.</span>
<span class="sd">&quot;&quot;&quot;</span>

<span class="kn">import</span> <span class="nn">contextlib</span>
Expand Down
18 changes: 12 additions & 6 deletions _modules/bumpversion/bump.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,13 @@
<li class="toctree-l4"><a class="reference internal" href="../../reference/bumpversion/bumpversion.config.files_legacy.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.config.files_legacy</span></code></a></li>
</ul>
</li>
<li class="toctree-l3 has-children"><a class="reference internal" href="../../reference/bumpversion/bumpversion.versioning.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.versioning</span></code></a><input class="toctree-checkbox" id="toctree-checkbox-6" name="toctree-checkbox-6" role="switch" type="checkbox"/><label for="toctree-checkbox-6"><div class="visually-hidden">Toggle navigation of bumpversion.versioning</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l4"><a class="reference internal" href="../../reference/bumpversion/bumpversion.versioning.conventions.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.versioning.conventions</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="../../reference/bumpversion/bumpversion.versioning.functions.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.versioning.functions</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="../../reference/bumpversion/bumpversion.versioning.models.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.versioning.models</span></code></a></li>
<li class="toctree-l4"><a class="reference internal" href="../../reference/bumpversion/bumpversion.versioning.serialization.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.versioning.serialization</span></code></a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.yaml_dump.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.yaml_dump</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.show.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.show</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.ui.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.ui</span></code></a></li>
Expand All @@ -194,7 +201,6 @@
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.files.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.files</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.bump.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.bump</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.indented_logger.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.indented_logger</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.functions.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.functions</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.exceptions.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.exceptions</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.__main__.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.__main__</span></code></a></li>
<li class="toctree-l3"><a class="reference internal" href="../../reference/bumpversion/bumpversion.cli.html"><code class="xref py py-mod docutils literal notranslate"><span class="pre">bumpversion.cli</span></code></a></li>
Expand All @@ -204,7 +210,7 @@
</li>
</ul>
</li>
<li class="toctree-l1 has-children"><a class="reference internal" href="../../explanation/index.html">Explanation</a><input class="toctree-checkbox" id="toctree-checkbox-6" name="toctree-checkbox-6" role="switch" type="checkbox"/><label for="toctree-checkbox-6"><div class="visually-hidden">Toggle navigation of Explanation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul class="simple">
<li class="toctree-l1 has-children"><a class="reference internal" href="../../explanation/index.html">Explanation</a><input class="toctree-checkbox" id="toctree-checkbox-7" name="toctree-checkbox-7" role="switch" type="checkbox"/><label for="toctree-checkbox-7"><div class="visually-hidden">Toggle navigation of Explanation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul class="simple">
</ul>
</li>
</ul>
Expand Down Expand Up @@ -248,7 +254,7 @@ <h1>Source code for bumpversion.bump</h1><div class="highlight"><pre>

<span class="k">if</span> <span class="n">TYPE_CHECKING</span><span class="p">:</span> <span class="c1"># pragma: no-coverage</span>
<span class="kn">from</span> <span class="nn">bumpversion.files</span> <span class="kn">import</span> <span class="n">ConfiguredFile</span>
<span class="kn">from</span> <span class="nn">bumpversion.version_part</span> <span class="kn">import</span> <span class="n">Version</span>
<span class="kn">from</span> <span class="nn">bumpversion.versioning.models</span> <span class="kn">import</span> <span class="n">Version</span>

<span class="kn">from</span> <span class="nn">bumpversion.config</span> <span class="kn">import</span> <span class="n">Config</span>
<span class="kn">from</span> <span class="nn">bumpversion.config.files</span> <span class="kn">import</span> <span class="n">update_config_file</span>
Expand Down Expand Up @@ -287,11 +293,11 @@ <h1>Source code for bumpversion.bump</h1><div class="highlight"><pre>
<span class="k">elif</span> <span class="n">version_part</span><span class="p">:</span>
<span class="n">logger</span><span class="o">.</span><span class="n">info</span><span class="p">(</span><span class="s2">&quot;Attempting to increment part &#39;</span><span class="si">%s</span><span class="s2">&#39;&quot;</span><span class="p">,</span> <span class="n">version_part</span><span class="p">)</span>
<span class="n">logger</span><span class="o">.</span><span class="n">indent</span><span class="p">()</span>
<span class="n">next_version</span> <span class="o">=</span> <span class="n">current_version</span><span class="o">.</span><span class="n">bump</span><span class="p">(</span><span class="n">version_part</span><span class="p">,</span> <span class="n">config</span><span class="o">.</span><span class="n">version_config</span><span class="o">.</span><span class="n">order</span><span class="p">)</span>
<span class="n">next_version</span> <span class="o">=</span> <span class="n">current_version</span><span class="o">.</span><span class="n">bump</span><span class="p">(</span><span class="n">version_part</span><span class="p">)</span>
<span class="k">else</span><span class="p">:</span>
<span class="k">raise</span> <span class="n">ConfigurationError</span><span class="p">(</span><span class="s2">&quot;Unable to get the next version.&quot;</span><span class="p">)</span>

<span class="n">logger</span><span class="o">.</span><span class="n">info</span><span class="p">(</span><span class="s2">&quot;Values are now: </span><span class="si">%s</span><span class="s2">&quot;</span><span class="p">,</span> <span class="n">key_val_string</span><span class="p">(</span><span class="n">next_version</span><span class="o">.</span><span class="n">values</span><span class="p">))</span>
<span class="n">logger</span><span class="o">.</span><span class="n">info</span><span class="p">(</span><span class="s2">&quot;Values are now: </span><span class="si">%s</span><span class="s2">&quot;</span><span class="p">,</span> <span class="n">key_val_string</span><span class="p">(</span><span class="n">next_version</span><span class="o">.</span><span class="n">components</span><span class="p">))</span>
<span class="n">logger</span><span class="o">.</span><span class="n">dedent</span><span class="p">()</span>
<span class="k">return</span> <span class="n">next_version</span></div>

Expand Down Expand Up @@ -364,7 +370,7 @@ <h1>Source code for bumpversion.bump</h1><div class="highlight"><pre>
<span class="n">dry_run</span><span class="p">:</span> <span class="nb">bool</span> <span class="o">=</span> <span class="kc">False</span><span class="p">,</span>
<span class="p">)</span> <span class="o">-&gt;</span> <span class="kc">None</span><span class="p">:</span>
<span class="w"> </span><span class="sd">&quot;&quot;&quot;</span>
<span class="sd"> Commit and tag the changes, if a tool is configured.</span>
<span class="sd"> Commit and tag the changes if a tool is configured.</span>

<span class="sd"> Args:</span>
<span class="sd"> config: The configuration</span>
Expand Down
Loading

0 comments on commit 9bf44a4

Please sign in to comment.