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: migrations formatting #1438

Merged
merged 1 commit into from Jun 21, 2023
Merged

Fix: migrations formatting #1438

merged 1 commit into from Jun 21, 2023

Conversation

angela-tran
Copy link
Member

Closes #1437

Modifies the formatting command so that it only applies to Python files.

@angela-tran angela-tran requested a review from a team as a code owner June 21, 2023 16:38
@angela-tran angela-tran self-assigned this Jun 21, 2023
@github-actions github-actions bot added the deployment-dev [auto] Changes that will trigger a deploy if merged to dev label Jun 21, 2023
@angela-tran angela-tran added this to the Veterans milestone Jun 21, 2023
Copy link
Member

@machikoyasuda machikoyasuda left a comment

Choose a reason for hiding this comment

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

LGTM! After I ran the command, the .json files were not updated.

Testing steps

  1. Run bin/makemigrations.sh
  2. Ensure that any .json files are not updated.
$ bin/makemessages.sh
processing locale es
processing locale en
$ git status
On branch fix/migrations-formatting
Your branch is up to date with 'origin/fix/migrations-formatting'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   benefits/locale/en/LC_MESSAGES/django.po
        modified:   benefits/locale/es/LC_MESSAGES/django.po

@angela-tran angela-tran merged commit 7ffd66b into dev Jun 21, 2023
10 checks passed
@angela-tran angela-tran deleted the fix/migrations-formatting branch June 21, 2023 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment-dev [auto] Changes that will trigger a deploy if merged to dev
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Unable to make migration and initialize
2 participants