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

Include date hierarchy in quick removal links #218

Merged

Conversation

merwok
Copy link
Contributor

@merwok merwok commented Nov 30, 2022

fixes #181

@codecov
Copy link

codecov bot commented Nov 30, 2022

Codecov Report

Base: 94.64% // Head: 97.58% // Increases project coverage by +2.94% 🎉

Coverage data is based on head (9e79928) compared to base (c414c3a).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #218      +/-   ##
==========================================
+ Coverage   94.64%   97.58%   +2.94%     
==========================================
  Files          36       36              
  Lines         392      414      +22     
==========================================
+ Hits          371      404      +33     
+ Misses         21       10      -11     
Flag Coverage Δ
unittests 97.58% <100.00%> (+2.94%) ⬆️

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

Impacted Files Coverage Δ
...min_interface/templatetags/admin_interface_tags.py 95.23% <100.00%> (+14.51%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@fabiocaccamo
Copy link
Owner

Tests are broken due to the use of f-strings, do you want to take care of #176 ?

@fabiocaccamo fabiocaccamo added the enhancement New feature or request label Dec 1, 2022
@fabiocaccamo
Copy link
Owner

Now that #176 is done, you can continue on this PR.

@merwok merwok marked this pull request as draft December 3, 2022 17:53
@fabiocaccamo
Copy link
Owner

When this will be completed I will publish a new release.

@fabiocaccamo
Copy link
Owner

@merwok is this PR ready or would you still like to make some changes?

@merwok
Copy link
Contributor Author

merwok commented Dec 9, 2022

I want to add unit tests with mocks. Functional tests can come later.

@merwok merwok marked this pull request as ready for review December 10, 2022 19:53
@merwok merwok force-pushed the feature/date-hierarchy-removal-link branch from 63bd293 to d95f945 Compare December 10, 2022 19:59
it's not easy to instantiate ChangeList, and speccing from
the class means that many attributes are not recognized
@merwok merwok requested a review from fabiocaccamo December 10, 2022 21:47
@@ -13,7 +13,7 @@ python =
3.11: py311

[testenv]
passenv = CI GITHUB_WORKFLOW
passenv = CI,GITHUB_WORKFLOW
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I totally missed this change from tox 3 to 4, thank you very much!
BTW, tox is not used anymore in the CI, for this reason I have not noticed the breaking change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It’s used for the lint checks! (see preceding commit)

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tox is still used but these env variables are not used anymore.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I understand! tox still complained about the format (no spaces allowed)

@fabiocaccamo fabiocaccamo merged commit 19cbeea into fabiocaccamo:master Dec 11, 2022
@merwok merwok deleted the feature/date-hierarchy-removal-link branch December 11, 2022 19:54
@merwok
Copy link
Contributor Author

merwok commented Dec 11, 2022

For some unfathomable reason, github pre-fills squash merge commit description with all the commit messages, which makes very messy messages. I use the Refined Github browser extension that avoids that (and has many other goodies).

@fabiocaccamo
Copy link
Owner

fabiocaccamo commented Dec 11, 2022

Is that extension safe and from trusted developers?
I will give it a look!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Show active filters at the top of the sidebar with clear button
2 participants