punq
punq copied to clipboard
Bump xdoctest from 0.15.10 to 1.1.0
Bumps xdoctest from 0.15.10 to 1.1.0.
Release notes
Sourced from xdoctest's releases.
Version 1.1.0
Fixed
- 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, andXDOCTEST_ANALYSISenvironment variables can now be used to specify configuration defaults.Changed
- Added experimental hidden feature
--insert-skip-directive-above-failuresthat 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_stateand allowed environs to enable debug print statements.- Added
util_deprecationmodule to robustly mark features as deprecated.- Modified the google style return type parser to return a type if the
... (truncated)
Changelog
Sourced from xdoctest's changelog.
Version 1.1.0 - Released 2022-09-05
Fixed
- 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, andXDOCTEST_ANALYSISenvironment variables can now be used to specify configuration defaults.Changed
- Added experimental hidden feature
--insert-skip-directive-above-failuresthat 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_errorsoption).- 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.
... (truncated)
Commits
9a6f1e7Mark changelog for releasef27455bMerge pull request #133 from Erotemic/dev/editable-install-fixes194f266Fix errorsd99af92Fix tests7c9cb7eFix directive bug2231acaDrop Python 2.7-3.5 support8d4ad16Add weird case to tests exposed by torch2fa56f4Improve dump functionality03bf933add changelog3b7fbc8fixes for editable installs- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Codecov Report
Merging #130 (ec5394f) into master (f757519) will not change coverage. The diff coverage is
n/a.
@@ Coverage Diff @@
## master #130 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 159 159
Branches 35 35
=========================================
Hits 159 159
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
Superseded by #167.