Skip to content
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 linter by using recent Python version #181

Merged
merged 4 commits into from
Jan 20, 2025
Merged

Conversation

AlexanderWells-diamond
Copy link
Collaborator

@AlexanderWells-diamond AlexanderWells-diamond commented Jan 20, 2025

This PR fixes issues in the Docs and Code-lint stages of the CI.

The lint step has been updated to Python 3.12, along with fixing some minor issues it raised.

The Docs workflow has been pinned to an older Ubuntu version, as it is more work to update the Docs to a more recent Python version given our current reliance on the Pipfile.lock deployment mechanism.

We have no particular reason to use 3.7 for this anymore
It seems newer versions don't handle inline comments
Copy link

codecov bot commented Jan 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.18%. Comparing base (27ae663) to head (685ab3e).
Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #181      +/-   ##
==========================================
- Coverage   88.19%   88.18%   -0.01%     
==========================================
  Files          15       15              
  Lines        1271     1270       -1     
==========================================
- Hits         1121     1120       -1     
  Misses        150      150              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

As best Michael and I can tell, the builder line was introduced during
refactoring, and does nothing so can be safely deleted
Ubuntu 24 no longer supports Python 3.7.
Its a lot of work to update the docs build to more modern python version
@AlexanderWells-diamond AlexanderWells-diamond marked this pull request as ready for review January 20, 2025 11:04
@AlexanderWells-diamond AlexanderWells-diamond merged commit e1f104a into master Jan 20, 2025
43 checks passed
@AlexanderWells-diamond AlexanderWells-diamond deleted the fix_linter branch January 20, 2025 11:05
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.

1 participant