Conversation
this will revert the .github workflow that @PurpleProg helped with, only thing that is added now is to have it check on python files, so any markdown or yml configurations will not use this workflow anymore
…ub repository - Updated the workflow to use the reusable workflow `lint_and_test.yml` from the PyCeas/.github repository. - Simplified workflow maintenance by centralizing the logic in the `.github` repository. - Removed duplication of Python version management and dependency installation logic in individual workflows. - Added flexibility for future updates and enhancements to global workflows.
This will fix the readme once again, just some things I forgot since my last PR, it will make the changes more clear and better to read.
testing if the linter now properly works on .py files
This reverts commit 63876fe.
testing out if the workflow works again properly
this will help by reducing to put in some things like ignore imports for mypy. import pygame is a good example for this, since the pip package is called pygame-ce it is still referred as pygame and mypy brakes on this for some reason.
this adds the message in settings.py why some imports are not type checked because of, see previous commit.
line length is 120 correct ruff commands added removed mypy commands no longer needed
when running the commands from the readme it will make it more clear what needs to be changed and where exactly
from different files, mypy didn't like it so no it should be ignored by the toml config
for safety reasons i added # type: ignore to not let mypy typecheck pygame imports
This will help make the instructions for setting up pyceas via a virtual environment for multiple os's
- Enabled .idea/ in the .gitignore to ensure that all PyCharm-specific project files are ignored. - This prevents unnecessary files such as workspace.xml, caches, and other IDE-specific settings from being committed to version control. - Helps maintain a cleaner repository and avoids conflicts with collaborators using different environments or IDEs.
Davidek523
requested changes
Mar 15, 2025
Collaborator
Author
Davidek523
reviewed
Mar 15, 2025
Collaborator
Davidek523
left a comment
There was a problem hiding this comment.
Could you show me the commands you used??
Collaborator
Author
Yes I used these, but it depends what you use. If your terminal is powershell you can use these, otherwise use the git bash commands ruff format .; |
Davidek523
reviewed
Mar 15, 2025
Collaborator
Davidek523
left a comment
There was a problem hiding this comment.
I used these commands with powershell and got the problem
Collaborator
Author
Collaborator
Author
Davidek523
approved these changes
Mar 19, 2025
Collaborator
Davidek523
left a comment
There was a problem hiding this comment.
Works good without any issues or erros!
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.






Revert Pull Request Template
Summary
This PR fixes changes made in PR #99 and simplifies the management of CI workflows by using a reusable workflow (
lint_and_test.yml) from the.githubrepository.Note
Full testing of the reusable workflow requires merging this PR. Testing locally verifies that the
.tomlconfiguration works as expected, but integration with the reusable workflow can only be confirmed after merging or updating references to a test branch.Key Changes:
.githubrepository..githubrepository to manage Python linting (ruff) and type-checking (mypy) logic in one place..githubrepository..tomlfile to defineruffandmypysettings for the project.Steps for testing the changes
To validate these changes:
Reviewer notes
.githubrepository.Please review and approve the changes to adopt the reusable workflow approach.
Related Issues
This PR fixes issue(s) #99 the license URL in the README was broken, also made some other fixes to the structure of the README.
✅ Checklist: