Skip to content

Commit 09565f0

Browse files
committed
[ci skip] DOC add mention of pre-commit a784506
1 parent 5a5f558 commit 09565f0

28 files changed

+128
-91
lines changed

.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: f4ed13ed34cc7b1f69ceaf744249b8b8
3+
config: 0ce5cfc3128298ad3a1c530d86a4235a
44
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file not shown.
Binary file not shown.

_sources/auto_examples/plot_classifier.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Use scikit-learn to display the decision boundary
110110
111111
.. rst-class:: sphx-glr-timing
112112

113-
**Total running time of the script:** (0 minutes 0.136 seconds)
113+
**Total running time of the script:** (0 minutes 0.137 seconds)
114114

115115

116116
.. _sphx_glr_download_auto_examples_plot_classifier.py:

_sources/auto_examples/plot_transformer.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ An example plot of :class:`skltemplate.template.TemplateTransformer`
6363
6464
.. rst-class:: sphx-glr-timing
6565

66-
**Total running time of the script:** (0 minutes 0.063 seconds)
66+
**Total running time of the script:** (0 minutes 0.061 seconds)
6767

6868

6969
.. _sphx_glr_download_auto_examples_plot_transformer.py:

_sources/auto_examples/sg_execution_times.rst.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Computation times
88
=================
9-
**00:00.275** total execution time for 3 files **from auto_examples**:
9+
**00:00.273** total execution time for 3 files **from auto_examples**:
1010

1111
.. container::
1212

@@ -33,11 +33,11 @@ Computation times
3333
- Time
3434
- Mem (MB)
3535
* - :ref:`sphx_glr_auto_examples_plot_classifier.py` (``plot_classifier.py``)
36-
- 00:00.136
36+
- 00:00.137
3737
- 0.0
3838
* - :ref:`sphx_glr_auto_examples_plot_template.py` (``plot_template.py``)
3939
- 00:00.075
4040
- 0.0
4141
* - :ref:`sphx_glr_auto_examples_plot_transformer.py` (``plot_transformer.py``)
42-
- 00:00.063
42+
- 00:00.061
4343
- 0.0

_sources/quick_start.rst.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,30 @@ In addition, you have a linter task to check the code consistency in terms of st
134134

135135
pixi run lint
136136

137+
Activating the development environment
138+
--------------------------------------
139+
140+
In the case that you don't want to use the `pixi run` commands and directly interact
141+
with the usual python tools, you can activate the development environment:
142+
143+
.. prompt:: bash $
144+
145+
pixi shell -e dev
146+
147+
This will activate an environment containing the dependencies needed to run the linters,
148+
tests, and build the documentation. So for instance, you can run the tests with:
149+
150+
.. prompt:: bash $
151+
152+
pytest -vsl skltemplate
153+
154+
In this case, you can even use pre-commit before using git. You will need to initialize
155+
it with:
156+
157+
.. prompt:: bash $
158+
159+
pre-commit install
160+
137161
Setup the continuous integration
138162
--------------------------------
139163

_sources/sg_execution_times.rst.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Computation times
88
=================
9-
**00:00.275** total execution time for 3 files **from all galleries**:
9+
**00:00.273** total execution time for 3 files **from all galleries**:
1010

1111
.. container::
1212

@@ -33,11 +33,11 @@ Computation times
3333
- Time
3434
- Mem (MB)
3535
* - :ref:`sphx_glr_auto_examples_plot_classifier.py` (``../examples/plot_classifier.py``)
36-
- 00:00.136
36+
- 00:00.137
3737
- 0.0
3838
* - :ref:`sphx_glr_auto_examples_plot_template.py` (``../examples/plot_template.py``)
3939
- 00:00.075
4040
- 0.0
4141
* - :ref:`sphx_glr_auto_examples_plot_transformer.py` (``../examples/plot_transformer.py``)
42-
- 00:00.063
42+
- 00:00.061
4343
- 0.0

_static/documentation_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const DOCUMENTATION_OPTIONS = {
2-
VERSION: '0.1.2.dev1+g939dd4e',
2+
VERSION: '0.1.2.dev3+ga784506',
33
LANGUAGE: 'en',
44
COLLAPSE_INDEX: false,
55
BUILDER: 'html',

api.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta charset="utf-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
1010

11-
<title>API Reference &#8212; Scikit-learn Project Template 0.1.2.dev1+g939dd4e documentation</title>
11+
<title>API Reference &#8212; Scikit-learn Project Template 0.1.2.dev3+ga784506 documentation</title>
1212

1313

1414

@@ -42,7 +42,7 @@
4242
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=8d27b9dea8ad943066ae" />
4343
<script src="_static/vendor/fontawesome/6.5.1/js/all.min.js?digest=8d27b9dea8ad943066ae"></script>
4444

45-
<script src="_static/documentation_options.js?v=8d1d479a"></script>
45+
<script src="_static/documentation_options.js?v=4262caba"></script>
4646
<script src="_static/doctools.js?v=9a2dae69"></script>
4747
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
4848
<script src="_static/design-tabs.js?v=36754332"></script>
@@ -127,8 +127,8 @@
127127

128128

129129

130-
<img src="_static/logo.png" class="logo__image only-light" alt="Scikit-learn Project Template 0.1.2.dev1+g939dd4e documentation - Home"/>
131-
<script>document.write(`<img src="_static/logo.png" class="logo__image only-dark" alt="Scikit-learn Project Template 0.1.2.dev1+g939dd4e documentation - Home"/>`);</script>
130+
<img src="_static/logo.png" class="logo__image only-light" alt="Scikit-learn Project Template 0.1.2.dev3+ga784506 documentation - Home"/>
131+
<script>document.write(`<img src="_static/logo.png" class="logo__image only-dark" alt="Scikit-learn Project Template 0.1.2.dev3+ga784506 documentation - Home"/>`);</script>
132132

133133

134134
</a></div>

0 commit comments

Comments
 (0)