✨ [#139] Integrate django-upgrade-check#617
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #617 +/- ##
=======================================
Coverage 94.66% 94.66%
=======================================
Files 148 148
Lines 5171 5171
=======================================
Hits 4895 4895
Misses 276 276 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
f1c1920 to
5655c8a
Compare
aca3994 to
e7fb20e
Compare
Floris272
left a comment
There was a problem hiding this comment.
In conf/base.py upgrade_check needs to added to INSTALLED_APPS
and the following needs to be added:
UPGRADE_CHECK_PATHS: UpgradePaths = {
"<NEXT_VERSION_HERE>": UpgradeCheck(VersionRange(minimum="<CURRENT_VERSION_HERE>")),
}
Sergei also mentioned to add the upgrade simulation: https://github.com/maykinmedia/open-klant/pull/404/files (versions need to be changed)
UPGRADE_CHECK_STRICT = False
Sergei also mentioned to add the upgrade_simulation job https://github.com/maykinmedia/open-klant/pull/404/files
@danielmursa-dev, you mentioned yesterday that I should remove it from INSTALLED_APPS and PATHS. |
|
@Floris272 the library is already installed in |
| @@ -1,5 +1,3 @@ | |||
| from pathlib import Path | |||
There was a problem hiding this comment.
Why was this line deleted?
There was a problem hiding this comment.
It was removed to fix a ruff formatting error: "Import block is un-sorted or un-formatted."
There was a problem hiding this comment.
Mmmm weird because the Path is used within the file, for example here:
objects-api/src/objects/conf/base.py
Line 248 in c63ea03
There was a problem hiding this comment.
I added it back
0e9e603 to
e7fb20e
Compare
8a02f5d to
4edbe8d
Compare
Fixes maykinmedia/open-api-framework#139
Changes
[Describe the changes here]