-
Notifications
You must be signed in to change notification settings - Fork 11
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
Fix/report bug #134
Fix/report bug #134
Conversation
…into fix/report_bug
…ade/output/output.py.
…into fix/report_bug
…de/output/output.py.
…rts in gatorgrade/output/output.py.
… gatorgrade/output/output.py.
…rade/output/output.py.
…n gatorgrade/input/in_file_path.py.
…tput/check_result.py file.
…ut/command_line_generator.py file.
…t all functions have type annotations.
…ave correct character encoding.
…github/workflows/main.yml.
…ut/output.py so it only writes to GITHUB_ENV when it is set.
…t exist in gatorgrade/output/output.py.
@rebekahrudd I think that this PR resolves all of the issues that we discussed on Thursday and Friday of this week. Due to the fact that I am facing severe time constraints in light of upcoming travel, I am going to merge the PR and make a new release to PyPI and then invite other members of our team to test it further. I will also test it through some existing assignments and confirm that everything works in GitHub Actions and that the new diagnostic messages are also output when run either in GitHub Actions or in the terminal window on a laptop. |
Tentative Fix for the Report Generation Defect
Description
Aims to give the problems with (i) the build failing and (ii) defective release to PyPI. The main problem is that the command
gatorgrade --report env md GITHUB_STEP_SUMMARY
seems to crash when it is run in GitHub Actions with this feature. This PR also resolves several defects where, for instance,gatorgrade
will crash when it is run on a laptop with the aforementioned command --- even though that command will, in fact, work correctly when it is run in GitHub Actions. It is also important to note that this PR moves this project over to the use ofruff
and stops the use of other tools likepylint
. Finally, the PR removes one or two test cases that were flaky and no longer running predictably.Type of Change
Contributors
Reminder
Notes
This is currently a draft PR so that others can see the progress that @rebekahrudd is making and to then give feedback and try it out and to suggest additional fixes as needed. Thanks!