Skip to content

Commit

Permalink
Deploy preview for PR 346 🛫
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsDrike committed Aug 9, 2024
1 parent 63f4717 commit 56ac7ba
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
10 changes: 4 additions & 6 deletions pr-preview/pr-346/contributing/guides/precommit/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1200,7 +1200,7 @@ <h1 id="pre-commit">Pre-commit<a class="headerlink" href="#pre-commit" title="Pe
<summary>Abstract</summary>
<p>This guide explains what is pre-commit and how to set it up as a git hook that will run automatically before your
commits. It also describes how to run pre-commit manually from the CLI, how to skip some or all of the individual
checks it performs and where it's configuration file is.</p>
checks it performs, what happens when hooks edit files and where it's configuration file is.</p>
</details>
<p>Now that you've seen the linters, formatters, type-checkers and other tools that we use in the project, you might be
wondering whether you're really expected to run all of those commands manually, after each change. And of course, no,
Expand All @@ -1214,15 +1214,13 @@ <h2 id="installing-pre-commit">Installing pre-commit<a class="headerlink" href="
<p>To install pre-commit as a git hook all you need to do is to run:</p>
<div class="highlight"><pre><span></span><code><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a>pre-commit<span class="w"> </span>install
</code></pre></div>
<div class="admonition note">
<p>Don't forget to <a href="../setup/#activating-the-environment">activate</a> the poetry virtual environment before running.</p>
</div>
<p>This will install pre-commit as a git hook into your git repository, which will mean it will run automatically before
every new commit you make.</p>
<div class="admonition warning">
<p class="admonition-title">Warning</p>
<p>Pre-commit itself will be installed via poetry, which means you will need to have an activated poetry environment
whenever you make a new commit, otherwise, the pre-commit git hook will fail with command not found.</p>
<p>Pre-commit itself will be installed via poetry, which means you will need to have an
<a href="../setup/#activating-the-environment">activated</a> poetry environment whenever you make a new commit, otherwise,
the pre-commit git hook will fail with command not found.</p>
</div>
<h2 id="hooks-that-modify-files">Hooks that modify files<a class="headerlink" href="#hooks-that-modify-files" title="Permanent link">&para;</a></h2>
<p>Sometimes, hooks can end up modifying your files, for example the ruff format hook may do so if your file wasn't
Expand Down
14 changes: 7 additions & 7 deletions pr-preview/pr-346/installation/changelog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -498,13 +498,13 @@
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>

<li class="md-nav__item">
<a href="#exec-1--version-v050-185-g34111-2024-08-09" class="md-nav__link">
<a href="#exec-1--version-v050-185-g9a44e-2024-08-09" class="md-nav__link">
<span class="md-ellipsis">
Version v0.5.0-185-g34111 (2024-08-09)
Version v0.5.0-185-g9a44e (2024-08-09)
</span>
</a>

<nav class="md-nav" aria-label="Version v0.5.0-185-g34111 (2024-08-09)">
<nav class="md-nav" aria-label="Version v0.5.0-185-g9a44e (2024-08-09)">
<ul class="md-nav__list">

<li class="md-nav__item">
Expand Down Expand Up @@ -1312,13 +1312,13 @@
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>

<li class="md-nav__item">
<a href="#exec-1--version-v050-185-g34111-2024-08-09" class="md-nav__link">
<a href="#exec-1--version-v050-185-g9a44e-2024-08-09" class="md-nav__link">
<span class="md-ellipsis">
Version v0.5.0-185-g34111 (2024-08-09)
Version v0.5.0-185-g9a44e (2024-08-09)
</span>
</a>

<nav class="md-nav" aria-label="Version v0.5.0-185-g34111 (2024-08-09)">
<nav class="md-nav" aria-label="Version v0.5.0-185-g9a44e (2024-08-09)">
<ul class="md-nav__list">

<li class="md-nav__item">
Expand Down Expand Up @@ -1581,7 +1581,7 @@ <h1 id="changelog">Changelog<a class="headerlink" href="#changelog" title="Perma
</div>
<p><details class="example" open="open">
<summary>Unreleased Changes</summary>
<h2 id="exec-1--version-v050-185-g34111-2024-08-09">Version v0.5.0-185-g34111 (2024-08-09)<a class="headerlink" href="#exec-1--version-v050-185-g34111-2024-08-09" title="Permanent link">&para;</a></h2>
<h2 id="exec-1--version-v050-185-g9a44e-2024-08-09">Version v0.5.0-185-g9a44e (2024-08-09)<a class="headerlink" href="#exec-1--version-v050-185-g9a44e-2024-08-09" title="Permanent link">&para;</a></h2>
<h3 id="exec-1--features">Features<a class="headerlink" href="#exec-1--features" title="Permanent link">&para;</a></h3>
<ul>
<li><a href="https://github.com/py-mine/mcproto/issues/209">#209</a>: Added <code>InvalidPacketContentError</code> exception, raised when deserializing of a specific packet fails. This error inherits from <code>IOError</code>, making it backwards compatible with the original implementation.</li>
Expand Down
2 changes: 1 addition & 1 deletion pr-preview/pr-346/search/search_index.json

Large diffs are not rendered by default.

0 comments on commit 56ac7ba

Please sign in to comment.