Skip to content

Commit f09f228

Browse files
committed
(should) fix undesired quote in doc index
1 parent ff7e6ef commit f09f228

File tree

4 files changed

+14
-16
lines changed

4 files changed

+14
-16
lines changed

README.rst

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ by encapsulating the validation logic in an interface method called ``apply()``.
1010

1111
The library already offers a series of common validation rules like:
1212

13-
- ``TypeRule`` (it checks that the target value is an instance of the expected type)
14-
- ``FullStringRule`` (it checks the the target value is a string with content)
15-
- ``ChoiceRule`` (it checks that the target value is contained in a list of available options)
16-
- ``MinValueRule`` (it checks that the target value is >= x) *
17-
- ``MaxValueRule`` (it checks that the target value is <= x) *
18-
- ``MinLengthRule`` (it checks that the target value length is >= x) *
19-
- ``MaxLengthRule`` (it checks that the target value length is <= x) *
20-
- ``RangeRule`` (it checks that the target value is contained in a given `range`) *
21-
- ``IntervalRule`` (it checks that the target value is contained in a given interval) *
22-
- ``PatternRule`` (it checks that the target value matches a given regular expression)
23-
- ``PastDateRule`` (it checks that the target value is a date in the past)
24-
- ``FutureDateRule`` (it checks that the target value is a date in the future)
25-
- ``UniqueItemsRule`` (it checks that the target iterable does not contain duplicated items)
13+
- ``TypeRule`` (it checks that the target value is an instance of the expected type)
14+
- ``FullStringRule`` (it checks the the target value is a string with content)
15+
- ``ChoiceRule`` (it checks that the target value is contained in a list of available options)
16+
- ``MinValueRule`` (it checks that the target value is >= x) *
17+
- ``MaxValueRule`` (it checks that the target value is <= x) *
18+
- ``MinLengthRule`` (it checks that the target value length is >= x) *
19+
- ``MaxLengthRule`` (it checks that the target value length is <= x) *
20+
- ``RangeRule`` (it checks that the target value is contained in a given `range`) *
21+
- ``IntervalRule`` (it checks that the target value is contained in a given interval) *
22+
- ``PatternRule`` (it checks that the target value matches a given regular expression)
23+
- ``PastDateRule`` (it checks that the target value is a date in the past)
24+
- ``FutureDateRule`` (it checks that the target value is a date in the future)
25+
- ``UniqueItemsRule`` (it checks that the target iterable does not contain duplicated items)
2626

2727

2828
\* where "x" is a provided reference value
0 Bytes
Binary file not shown.

docs/_build/doctrees/index.doctree

65 Bytes
Binary file not shown.

docs/_build/html/index.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,7 @@ <h2>What is pyvaru?<a class="headerlink" href="#what-is-pyvaru" title="Permalink
146146
<p>From the software design point of view, a rule is a class implementing the strategy pattern,
147147
by encapsulating the validation logic in an interface method called <code class="docutils literal"><span class="pre">apply()</span></code>.</p>
148148
<p>The library already offers a series of common validation rules like:</p>
149-
<blockquote>
150-
<div><ul class="simple">
149+
<ul class="simple">
151150
<li><code class="docutils literal"><span class="pre">TypeRule</span></code> (it checks that the target value is an instance of the expected type)</li>
152151
<li><code class="docutils literal"><span class="pre">FullStringRule</span></code> (it checks the the target value is a string with content)</li>
153152
<li><code class="docutils literal"><span class="pre">ChoiceRule</span></code> (it checks that the target value is contained in a list of available options)</li>
@@ -162,7 +161,6 @@ <h2>What is pyvaru?<a class="headerlink" href="#what-is-pyvaru" title="Permalink
162161
<li><code class="docutils literal"><span class="pre">FutureDateRule</span></code> (it checks that the target value is a date in the future)</li>
163162
<li><code class="docutils literal"><span class="pre">UniqueItemsRule</span></code> (it checks that the target iterable does not contain duplicated items)</li>
164163
</ul>
165-
</div></blockquote>
166164
<p>* where &#8220;x&#8221; is a provided reference value</p>
167165
<p>The developer is then free to create his custom rules by extending the abstract <code class="docutils literal"><span class="pre">ValidationRule</span></code>
168166
and implementing the logic in the <code class="docutils literal"><span class="pre">apply()</span></code> method.</p>

0 commit comments

Comments
 (0)