[pull] master from robotframework:master - #145
Open
pull[bot] wants to merge 2153 commits into
Open
Conversation
Manage this branch in SquashTest this branch here: https://master-n02a3.squash.io |
- Minor code changes. - Make new unit tests consistent with old ones. - Add some more unit tests.
Use VariableMatch that's anyway needed in different finders to avoid unnecessary decoration and undecoration. Code gets a bit simpler and there ought to be small performance benefits as well. This was done as part of investigating #5644. Some type hinting as well.
Most importantly, avoid using somewhat expensive `variable_not_found` in cases where the error message it produces would anyway be ignored. Part of #5644.
Decorating only actual recommendations is faster than decorating all candidates because there are lot less variables to decorate. This is related to enhancements for resolving variables (#5644). After earlier changes this code is run only when variables aren't actually found, so performance benefits are only seen in error situations.
Better error if Convert To Title Case is used with an invalid regexp pattern. Fixes #5648.
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6.1.0 to 6.2.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](actions/setup-python@v6.1.0...v6.2.0) --- updated-dependencies: - dependency-name: actions/setup-python dependency-version: 6.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Use `object` in typing when we actually accept any object.
Most importantly, fix handling `KeywordName`. Fixes #5655.
Contains code and tests related to #5603.
Better to have it after similar RestParser and close to their common base class. Part of #5603.
Part of #5603.
- Use helper methods for verification to avoid duplication. - Use triple quoted strings to make data easier to read. - Remove comments made redundant by the above change. - Add some more tests. Part of #5603.
Use different fences also with acceptance tests. Part of #5603.
Also enhance docs of the `Tags.robot` method.
They will be deprecated by #5657.
Most importantly: - Don't process values used with `--include/--exclude` or with `--tag-stat-combine` as part of handling command line options. - Enhance string representation of `TagPatterns` so that original pattern case is preserved. This helps deprecating `XORY` tag patterns (#5657). Also some related enhancement to typing etc.
Starting from RF 8.0, only patterns like `XORY` and `xORy` will work. Fixes #5657.
Mosty useful with unit tests.
Require using `AND` instead. Fixes #5661.
Update the User Guide docs and add related API docs. Part of #5304.
Part of #5709. --------- Co-authored-by: Vincent <vincent.verbeek@cbr.nl>
Part of #5709. Signed-off-by: shaurya2k06 <shaurya2k06@gmail.com>
- typo fix (didn't know purplish is a word) - make type checker happy
No severe issues were found. In some cases changes required updating tests.
Ruff 0.16 enabled a lot of new rules and this commit disables some of them. This configuration along with fixes in the previuos commit make code, tests and docs compatible with Ruff 0.16 and 0.15. Earlier versions don't work, because they don't recognize all of the disabled rules.
- `danger` -> `caution` - New styles to `important` Part (hopefully the final part) of #5304.
Libdoc code and tests is nowadays under `src/web`. This stuff has most likely just been forgotten.
Fixes #5760 There is also new test library, written in Python, for libdoc. It replaces the old test data file from Browser libary and test data is automatically created when "npm run start" command is given. e Please enter the commit message for your changes. Lines starting
Add Guides, Slack an Forum, remove mailing lists. Fixes #5776.
- Better way to run tests with Python 3.15 that's still in pre-release phase. - lxml ought to now support Python 3.15. Don't exclude tests that need it. - Don't run tests on Windows with Python 3.8. At least lxml doesn't seem to be available there anymore. Need to test this combination locally as long as we support Python 3.8 (which hopefully isn't long).
New attempt to avoid runnign tests with Python 3.8 on Windows.
Apparently lxml isn't available for 3.15 yet.
- Enhance API docs. - Remove unnecessary `?` from regexp.
- DataType -> Type Doc - Remove IF block that was always false - Remove unused argument
1. Have dummy objects for everything imported from `markdown`. 2. Use Markdown with standard type docs only when the library uses Markdown as the doc format. Otherwise use the Robot format. Part of #5304.
Required serializing keyword tags as a list, not as a single string, similarly as test tags. That's good for consistency as well.
`''` -> `""` in test coce that has `# fmt: skip`
Also some fixes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )