Skip to content

Conversation

@kingbuzzman
Copy link
Owner

@kingbuzzman kingbuzzman commented Feb 2, 2024

pip install git+https://github.com/kingbuzzman/django-squash.git@add-circular-migration-finder
python manage.py shell -c 'from django.core.management import call_command; from django_squash.management.commands.circularmigrations import Command; call_command(Command())'

Advanced.

Get the apps that are problematic, and needs to be ignored.

python manage.py shell -c 'from django.core.management import call_command; from django_squash.management.commands.circularmigrations import Command; call_command(Command())' | grep '*' | awk '{for(i=1;i<=NF;i++) print $i}' | grep -v '>\|<\|*' | grep -vE "\(" | sort | uniq

…n/django-squash into add-circular-migration-finder
@codecov-commenter
Copy link

codecov-commenter commented Jul 30, 2025

Codecov Report

❌ Patch coverage is 15.00000% with 153 lines in your changes missing coverage. Please review.
✅ Project coverage is 67.69%. Comparing base (0bb5705) to head (fc9cef7).

Files with missing lines Patch % Lines
...ent/commands/restructure_migration_dependencies.py 0.00% 89 Missing ⚠️
...o_squash/management/commands/circularmigrations.py 0.00% 56 Missing ⚠️
django_squash/db/migrations/autodetector.py 33.33% 2 Missing and 2 partials ⚠️
django_squash/db/migrations/utils.py 88.88% 1 Missing and 1 partial ⚠️
django_squash/db/migrations/writer.py 33.33% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master      #49       +/-   ##
===========================================
- Coverage   89.96%   67.69%   -22.27%     
===========================================
  Files          23       25        +2     
  Lines        1385     1523      +138     
  Branches      154      192       +38     
===========================================
- Hits         1246     1031      -215     
- Misses        115      469      +354     
+ Partials       24       23        -1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

3 participants