Can now handle basic versions of the new __editable__ package finder mechanism.
Parsing bug where directives were incorrectly flagged as inline if they were
directly followed by a function with a decorator.
Removed
Dropped 2.7 and 3.5 support. Now supporting 3.6+ Use xdoctest<=1.0.2 for 2.7
or 3.5 support.
Changed
Improved the "dump" functionality of converting doctests to unit tests.
Version 1.0.2
Added
Environs as options:
XDOCTEST_VERBOSE, XDOCTEST_OPTIONS, XDOCTEST_GLOBAL_EXEC, XDOCTEST_REPORT,
XDOCTEST_STYLE, and XDOCTEST_ANALYSIS environment variables can now be used
to specify configuration defaults.
Changed
Added experimental hidden feature --insert-skip-directive-above-failures
that can be used to modify your code such that failing doctests are marked as
skip.
Disabled traceback suppression on module import errors (this is is
configurable via the "supress_import_errors" option).
Xdoctest will no longer try to pre-import the module if none of its doctests
have any enabled lines. This also means global-exec statements will NOT run
for those tests, which means you can no longer use global-exec to
force enabling tests.
Version 1.0.1
Added
Add type stubs
Basic support for pyproject.toml under tool.xdoctest. Currently only
supports options in the native runner.
Fixed
Corner case bug in error reporting
Doctests that never run any code are now correctly marked as skipped
Issue where the "dumps" command was undocumented and has an error.
Changed
Moved some globals into a new module called global_state and allowed
environs to enable debug print statements.
Added util_deprecation module to robustly mark features as deprecated.
Modified the google style return type parser to return a type if the
Can now handle basic versions of the new __editable__ package finder mechanism.
Parsing bug where directives were incorrectly flagged as inline if they were
directly followed by a function with a decorator.
Removed
Dropped 2.7 and 3.5 support. Now supporting 3.6+ Use xdoctest<=1.0.2 for 2.7
or 3.5 support.
Changed
Improved the "dump" functionality of converting doctests to unit tests.
Version 1.0.2 - Released 2022-08-19
Added
Environs as options:
XDOCTEST_VERBOSE, XDOCTEST_OPTIONS, XDOCTEST_GLOBAL_EXEC, XDOCTEST_REPORT,
XDOCTEST_STYLE, and XDOCTEST_ANALYSIS environment variables can now be used
to specify configuration defaults.
Changed
Added experimental hidden feature --insert-skip-directive-above-failures
that can be used to modify your code such that failing doctests are marked as
skip.
Disabled traceback suppression on module import errors (this is is
configurable via the supress_import_errors option).
Xdoctest will no longer try to pre-import the module if none of its doctests
have any enabled lines. This also means global-exec statements will NOT run
for those tests, which means you can no longer use global-exec to
force enabling tests.
Version 1.0.1 - Released 2022-07-10
Added
Add type stubs
Basic support for pyproject.toml under tool.xdoctest. Currently only
supports options in the native runner.
Fixed
Corner case bug in error reporting
Doctests that never run any code are now correctly marked as skipped
Issue where the "dumps" command was undocumented and has an error.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps xdoctest from 0.15.6 to 1.1.0.
Release notes
Sourced from xdoctest's releases.
... (truncated)
Changelog
Sourced from xdoctest's changelog.
... (truncated)
Commits
9a6f1e7
Mark changelog for releasef27455b
Merge pull request #133 from Erotemic/dev/editable-install-fixes194f266
Fix errorsd99af92
Fix tests7c9cb7e
Fix directive bug2231aca
Drop Python 2.7-3.5 support8d4ad16
Add weird case to tests exposed by torch2fa56f4
Improve dump functionality03bf933
add changelog3b7fbc8
fixes for editable installsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)