You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Defer exit in lint() and fix all duplicate-word cases
Restructure the duplicate-word check in lint() to set a failure flag
instead of calling sys.exit(1) immediately, so all checks run before
exiting. Fix all existing duplicate-word cases across the codebase by
deduplicating or rephrasing as appropriate. Also require 2+ letter
words in the duplicate-word pattern to avoid false positives from
single-letter matches in escape sequences.
Co-Authored-By: Claude Opus 4.6 <[email protected]>
Copy file name to clipboardExpand all lines: hypothesis-python/docs/changelog.rst
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8272,7 +8272,7 @@ caused an internal error. This bug was introduced in :ref:`version 5.8.1 <v5.8.
8272
8272
5.10.1 - 2020-04-19
8273
8273
-------------------
8274
8274
8275
-
This release is a small internal refactoring to how shrinking interacts with :ref:`targeted property-based testing <targeted>` that should have no user user visible impact.
8275
+
This release is a small internal refactoring to how shrinking interacts with :ref:`targeted property-based testing <targeted>` that should have no user visible impact.
8276
8276
8277
8277
.. _v5.10.0:
8278
8278
@@ -8773,7 +8773,7 @@ Removals
8773
8773
- ``hypothesis.settings.buffer``, without replacement
8774
8774
- ``hypothesis.PrintSettings``, because :obj:`hypothesis.settings.print_blob` takes ``True`` or ``False``
8775
8775
- ``hypothesis.settings.timeout``, in favor of :obj:`hypothesis.settings.deadline`
8776
-
- ``hypothesis.unlimited`` without replacement (only only useful as argument to ``timeout``)
8776
+
- ``hypothesis.unlimited`` without replacement (only useful as argument to ``timeout``)
8777
8777
8778
8778
Hypothesis 4.x
8779
8779
==============
@@ -14193,7 +14193,7 @@ Hypothesis now emits deprecation warnings if you apply
14193
14193
:func:`@given <hypothesis.given>` more than once to a target.
14194
14194
14195
14195
Applying :func:`@given <hypothesis.given>` repeatedly wraps the target multiple
14196
-
times. Each wrapper will search the space of of possible parameters separately.
14196
+
times. Each wrapper will search the space of possible parameters separately.
14197
14197
This is equivalent but will be much more inefficient than doing it with a
14198
14198
single call to :func:`@given <hypothesis.given>`.
14199
14199
@@ -15659,7 +15659,7 @@ Minor bug fix release.
15659
15659
can both now be called with an empty argument
15660
15660
list, in which case they also never generate any values.
15661
15661
* :func:`~hypothesis.strategies.one_of` may now be called with a single argument that is a collection of strategies
15662
-
as well as as varargs.
15662
+
as well as varargs.
15663
15663
* Add a :func:`~hypothesis.strategies.runner` strategy which returns the instance of the current test object
15664
15664
if there is one.
15665
15665
* 'Bundle' for RuleBasedStateMachine is now a normal(ish) strategy and can be used
@@ -16807,7 +16807,7 @@ This release could also be called 1.0-RC1.
16807
16807
16808
16808
It contains a teeny tiny bugfix, but the real point of this release is to declare
16809
16809
feature freeze. There will be zero functionality changes between 0.9.0 and 1.0 unless
16810
-
something goes really really wrong. No new features will be added, no breaking API changes
16810
+
something goes seriously wrong. No new features will be added, no breaking API changes
16811
16811
will occur, etc. This is the final shakedown before I declare Hypothesis stable and ready
16812
16812
to use and throw a party to celebrate.
16813
16813
@@ -17026,7 +17026,7 @@ Bug fixes:
17026
17026
17027
17027
Other:
17028
17028
17029
-
* A lot of internals have been been rewritten. This shouldn't affect you at all, but
17029
+
* A lot of internals have been rewritten. This shouldn't affect you at all, but
17030
17030
it opens the way for certain of hypothesis's oddities to be a lot more extensible by
17031
17031
users. Whether this is a good thing may be up for debate...
0 commit comments