-
Notifications
You must be signed in to change notification settings - Fork 784
Migrate lint/format tooling to Ruff, update CI matrix, and stabilize cross-platform/firefox tests #1978
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
yuriverweij
wants to merge
21
commits into
robotframework:master
Choose a base branch
from
yuriverweij:fix/update-linting-checking-and-formatting
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Migrate lint/format tooling to Ruff, update CI matrix, and stabilize cross-platform/firefox tests #1978
Changes from 15 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
3cf3262
Migrate from flake8 to Ruff for linting and formatting; update Python…
yuriverweij a401b04
Refactor and optimize code across multiple modules
yuriverweij 9538508
Add early return in wait_until_location_is for improved flow control
yuriverweij a6e6f62
Refactor tests to use pytest and improve error handling
yuriverweij b68eb40
Update linting configuration and remove unnecessary skip conditions f…
yuriverweij d49a0c3
Add new test configuration for Firefox
yuriverweij e234c34
Fix variable interpolation in artifact name for better clarity
yuriverweij b33a8f1
Update linting and formatting workflows with new actions versions
yuriverweij b8a0d3e
Enhance browser opening logic to handle different browser names and p…
yuriverweij 984d2a3
ruff format fixes
yuriverweij c3cad3f
Mouse Over error Firefox known issue
yuriverweij 0261814
Update Ruff format check to include 'atest/' directory for comprehens…
yuriverweij da2f1b8
Update linting and formatting setup to use latest actions and enhance…
yuriverweij b8c1c5f
Add SKIP_ON_WINDOWS tag to relevant test cases and update run.py to e…
yuriverweij 25da5f2
removed whitespace
yuriverweij 6bec53f
fixes for copilot review comments.
yuriverweij 1ab8845
fix: correct command for Ruff format check in workflow
yuriverweij 57f3edf
chore: update Python, Robot Framework, and Selenium versions in CI wo…
yuriverweij 068128b
fix: update Robot Framework version in CI and moved linting checks in…
yuriverweij 4e638fb
fix: correct lint suppression comments
yuriverweij 118cdd5
refactor: move Creator class definition inside creator function
yuriverweij File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| *.approved.txt text eol=lf |
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
|
aaltat marked this conversation as resolved.
Outdated
|
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| name: Lint and Format Check | ||
|
|
||
| on: [push, pull_request] | ||
|
|
||
| jobs: | ||
| ruff: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v6 | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@v6 | ||
| with: | ||
| python-version: "3.13" | ||
|
|
||
| - name: Install dev dependencies | ||
| run: | | ||
| python -m pip install --upgrade pip | ||
| pip install -r requirements-dev.txt | ||
|
|
||
| - name: Ruff format check | ||
| id: format | ||
| continue-on-error: true | ||
| run: | | ||
| python -m invoke format --check | ||
|
|
||
| - name: Ruff lint | ||
| id: lint | ||
| continue-on-error: true | ||
| run: | | ||
| python -m invoke lint | ||
|
|
||
| - name: Fail if any Ruff step failed | ||
| if: always() | ||
| run: | | ||
| echo "format outcome: ${{ steps.format.outcome }}" | ||
| echo "lint outcome: ${{ steps.lint.outcome }}" | ||
| if [ "${{ steps.format.outcome }}" != "success" ] || [ "${{ steps.lint.outcome }}" != "success" ]; then | ||
| exit 1 | ||
| fi |
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.