Skip to content

Conversation

@mpagot
Copy link
Contributor

@mpagot mpagot commented Oct 30, 2025

Validate the file using validate-pyproject

Ticket: https://progress.opensuse.org/issues/191328

@mpagot mpagot force-pushed the pyproject_validate branch from feb4705 to 5808a27 Compare October 30, 2025 13:55
Makefile Outdated
checkpyproject: validate-pyproject pyproject.toml

.PHONY: test
test: only-test checkstyle
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
test: only-test checkstyle
test: only-test checkstyle checkpyproject

Comment on lines 24 to 30
.PHONY: checkstyle
checkstyle: ruff

.PHONY: checkpyproject
checkpyproject: validate-pyproject pyproject.toml

Copy link
Member

Choose a reason for hiding this comment

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

I don't think this can work. Did you test this? This should probably be

Suggested change
.PHONY: checkstyle
checkstyle: ruff
.PHONY: checkpyproject
checkpyproject: validate-pyproject pyproject.toml
.PHONY: checkpyproject
checkpyproject:
validate-pyproject pyproject.toml
.PHONY: checkstyle
checkstyle: ruff checkpyproject

and probably we should change the github CI instructions to just call make checkstyle instead of individually mention all checks

Validate the file using validate-pyproject
Add the test as part of the main `test` target.
Add a workflow step to run the test.
@mpagot mpagot force-pushed the pyproject_validate branch from 5808a27 to be1df92 Compare October 30, 2025 14:37
@mergify
Copy link
Contributor

mergify bot commented Nov 5, 2025

This pull request is now in conflicts. Could you fix it? 🙏

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.

2 participants