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

Upgrade code base #179

Merged
merged 14 commits into from
Jan 12, 2024
Merged

Upgrade code base #179

merged 14 commits into from
Jan 12, 2024

Conversation

CasperWA
Copy link
Owner

@CasperWA CasperWA commented Jan 11, 2024

Closes #178
Closes #177
Fixes #71

Upgrades the code base to at minimum use Python 3.10.
Collect all Python "administrative" files into the pyproject.toml file, utilizing hatchling as the build backend.
Remove ignoring the safety notice about the RDFlib issue - it has been solved.

Use SINTEF/ci-cd throughout for its callable workflows and pre-commit hooks.
Still rely on dependabot for updating dependencies, though.

Extend CI test job for testing the pre-commit hook against different pre-commit versions.

Configure and use ruff instead of pylint, as well as pyupgrade.

Copy link

codecov bot commented Jan 11, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (898807b) 95.08% compared to head (df9473d) 95.26%.

Files Patch % Lines
turtle_canon/canon.py 77.77% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #179      +/-   ##
==========================================
+ Coverage   95.08%   95.26%   +0.18%     
==========================================
  Files           6        6              
  Lines         183      190       +7     
==========================================
+ Hits          174      181       +7     
  Misses          9        9              
Flag Coverage Δ
turtle-canon 95.26% <93.33%> (+0.18%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@CasperWA CasperWA merged commit 86fbf80 into main Jan 12, 2024
11 checks passed
@CasperWA CasperWA deleted the cwa/close-177-178-upgrade-code-base branch January 12, 2024 09:48
@CasperWA CasperWA added skip_changelog Skip this issue/PR in the CHANGELOG.md and removed skip_changelog Skip this issue/PR in the CHANGELOG.md labels Jan 12, 2024
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.

Upgrade minimum Python support to 3.10 Refresh Python code RDFLib vulnerability
1 participant