Skip to content

Conversation

@jameshilliard
Copy link
Contributor

No description provided.

if: matrix.run_lint == true
run: |
ruff .
ruff check .
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This a mixture of CI and version bumps, as written earlier:

  • CI changes are in seperate PR
  • version bumps are in a seperate PR.

This is done for several reasons:

  • mixed changes are harder to bisect
  • version bumps need to be clearly identifiable in the changelog for users
  • CI changes and version bumps needs extra handling in github actions

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Split the CI change out to #2242.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one still contains the CI part.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed it from this one(although tests fail again without that).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test should not be affected by the 3rd party version numbers, but I will ask CI to run on this PR (due to CI setup it is more than just starting CI).

Copy link
Collaborator

@janiversen janiversen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@janiversen janiversen merged commit 3dea7ac into pymodbus-dev:dev Jul 19, 2024
@alexrudd2
Copy link
Collaborator

The change from ruff . to ruff check . is not a change in CI functionality, it's a required migration for Ruff 0.5.0.

See documentation of the change here: https://astral.sh/blog/ruff-v0.5.0#removed-deprecated-features

@jameshilliard jameshilliard deleted the update-dev-deps branch July 19, 2024 18:48
@janiversen
Copy link
Collaborator

@alexrudd2 I agree, I read the same, but nonetheless CI changes are in a separate CI, which are merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants