Skip to content

Commit 96f4221

Browse files
committed
Deploying to gh-pages from @ cf8faf2 🚀
1 parent 9650243 commit 96f4221

9 files changed

Lines changed: 69 additions & 153 deletions

File tree

contributing/contributing_tldr/index.html

Lines changed: 20 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -1847,53 +1847,14 @@
18471847
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
18481848

18491849
<li class="md-nav__item">
1850-
<a href="#environment" class="md-nav__link">
1850+
<a href="#command-cheat-sheet" class="md-nav__link">
18511851
<span class="md-ellipsis">
18521852

1853-
Environment
1853+
Command Cheat Sheet
18541854

18551855
</span>
18561856
</a>
18571857

1858-
</li>
1859-
1860-
<li class="md-nav__item">
1861-
<a href="#useful-commands" class="md-nav__link">
1862-
<span class="md-ellipsis">
1863-
1864-
Useful commands
1865-
1866-
</span>
1867-
</a>
1868-
1869-
<nav class="md-nav" aria-label="Useful commands">
1870-
<ul class="md-nav__list">
1871-
1872-
<li class="md-nav__item">
1873-
<a href="#code-changes" class="md-nav__link">
1874-
<span class="md-ellipsis">
1875-
1876-
Code Changes
1877-
1878-
</span>
1879-
</a>
1880-
1881-
</li>
1882-
1883-
<li class="md-nav__item">
1884-
<a href="#documentation-changes" class="md-nav__link">
1885-
<span class="md-ellipsis">
1886-
1887-
Documentation Changes
1888-
1889-
</span>
1890-
</a>
1891-
1892-
</li>
1893-
1894-
</ul>
1895-
</nav>
1896-
18971858
</li>
18981859

18991860
</ul>
@@ -2049,53 +2010,14 @@
20492010
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
20502011

20512012
<li class="md-nav__item">
2052-
<a href="#environment" class="md-nav__link">
2013+
<a href="#command-cheat-sheet" class="md-nav__link">
20532014
<span class="md-ellipsis">
20542015

2055-
Environment
2016+
Command Cheat Sheet
20562017

20572018
</span>
20582019
</a>
20592020

2060-
</li>
2061-
2062-
<li class="md-nav__item">
2063-
<a href="#useful-commands" class="md-nav__link">
2064-
<span class="md-ellipsis">
2065-
2066-
Useful commands
2067-
2068-
</span>
2069-
</a>
2070-
2071-
<nav class="md-nav" aria-label="Useful commands">
2072-
<ul class="md-nav__list">
2073-
2074-
<li class="md-nav__item">
2075-
<a href="#code-changes" class="md-nav__link">
2076-
<span class="md-ellipsis">
2077-
2078-
Code Changes
2079-
2080-
</span>
2081-
</a>
2082-
2083-
</li>
2084-
2085-
<li class="md-nav__item">
2086-
<a href="#documentation-changes" class="md-nav__link">
2087-
<span class="md-ellipsis">
2088-
2089-
Documentation Changes
2090-
2091-
</span>
2092-
</a>
2093-
2094-
</li>
2095-
2096-
</ul>
2097-
</nav>
2098-
20992021
</li>
21002022

21012023
</ul>
@@ -2117,33 +2039,27 @@
21172039

21182040
<h1 id="contributing-tldr">Contributing TL;DR<a class="headerlink" href="#contributing-tldr" title="Permanent link">&para;</a></h1>
21192041
<p>Feel free to send a PR to update this file if you find anything useful. 🙇</p>
2120-
<h2 id="environment">Environment<a class="headerlink" href="#environment" title="Permanent link">&para;</a></h2>
2121-
<ul>
2122-
<li>Python <code>&gt;=3.10</code></li>
2123-
<li><a href="https://docs.astral.sh/uv/getting-started/installation/">uv</a> <code>&gt;=0.9.0</code></li>
2124-
</ul>
2125-
<h2 id="useful-commands">Useful commands<a class="headerlink" href="#useful-commands" title="Permanent link">&para;</a></h2>
2126-
<p>Please check the <a href="https://github.com/commitizen-tools/commitizen/blob/master/pyproject.toml">pyproject.toml</a> for a comprehensive list of commands.</p>
2127-
<h3 id="code-changes">Code Changes<a class="headerlink" href="#code-changes" title="Permanent link">&para;</a></h3>
2128-
<div class="highlight"><pre><span></span><code><span class="c1"># Ensure you have the correct dependencies</span>
2129-
uv<span class="w"> </span>sync<span class="w"> </span>--dev<span class="w"> </span>--frozen
2130-
2131-
<span class="c1"># Make ruff happy</span>
2042+
<p>For prerequisites and initial setup, see <a href="../contributing/#prerequisites-setup">Contributing to Commitizen</a>.</p>
2043+
<h2 id="command-cheat-sheet">Command Cheat Sheet<a class="headerlink" href="#command-cheat-sheet" title="Permanent link">&para;</a></h2>
2044+
<p>See <a href="https://github.com/commitizen-tools/commitizen/blob/master/pyproject.toml">pyproject.toml</a> for the full list of poe tasks.</p>
2045+
<div class="highlight"><pre><span></span><code><span class="c1"># Format code (ruff check --fix + ruff format)</span>
21322046
uv<span class="w"> </span>run<span class="w"> </span>poe<span class="w"> </span>format
21332047

2134-
<span class="c1"># Check if ruff and mypy are happy</span>
2048+
<span class="c1"># Lint (ruff check + mypy)</span>
21352049
uv<span class="w"> </span>run<span class="w"> </span>poe<span class="w"> </span>lint
21362050

2137-
<span class="c1"># Check if mypy is happy in python 3.10</span>
2138-
mypy<span class="w"> </span>--python-version<span class="w"> </span><span class="m">3</span>.10
2051+
<span class="c1"># Check mypy against a specific Python version</span>
2052+
uv<span class="w"> </span>run<span class="w"> </span>mypy<span class="w"> </span>--python-version<span class="w"> </span><span class="m">3</span>.10
21392053

2140-
<span class="c1"># Run tests in parallel.</span>
2141-
pytest<span class="w"> </span>-n<span class="w"> </span>auto<span class="w"> </span><span class="c1"># This may take a while.</span>
2142-
pytest<span class="w"> </span>-n<span class="w"> </span>auto<span class="w"> </span>&lt;test_suite&gt;
2143-
</code></pre></div>
2144-
<h3 id="documentation-changes">Documentation Changes<a class="headerlink" href="#documentation-changes" title="Permanent link">&para;</a></h3>
2145-
<div class="highlight"><pre><span></span><code><span class="c1"># Build the documentation locally and check for broken links</span>
2054+
<span class="c1"># Run tests in parallel (may take a while)</span>
2055+
uv<span class="w"> </span>run<span class="w"> </span>pytest<span class="w"> </span>-n<span class="w"> </span>auto
2056+
uv<span class="w"> </span>run<span class="w"> </span>pytest<span class="w"> </span>-n<span class="w"> </span>auto<span class="w"> </span>&lt;test_suite&gt;
2057+
2058+
<span class="c1"># Build and preview docs locally</span>
21462059
uv<span class="w"> </span>run<span class="w"> </span>poe<span class="w"> </span>doc
2060+
2061+
<span class="c1"># Run everything (format + lint + check-commit + coverage)</span>
2062+
uv<span class="w"> </span>run<span class="w"> </span>poe<span class="w"> </span>all
21472063
</code></pre></div>
21482064

21492065

@@ -2165,7 +2081,7 @@ <h3 id="documentation-changes">Documentation Changes<a class="headerlink" href="
21652081
<span class="md-icon" title="Last update">
21662082
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1zM12.5 7v5.2l4 2.4-1 1L11 13V7zM11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2z"/></svg>
21672083
</span>
2168-
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date" title="January 5, 2026 04:03:18 UTC">January 5, 2026</span>
2084+
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date" title="May 8, 2026 06:01:12 UTC">May 8, 2026</span>
21692085
</span>
21702086

21712087

images/cli_interactive/bump.gif

-470 Bytes
Loading

images/cli_interactive/commit.gif

207 Bytes
Loading

images/cli_interactive/init.gif

860 Bytes
Loading
29 Bytes
Loading
-110 Bytes
Loading

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)