Skip to content

Conversation

@jedcunningham
Copy link
Member

We can let pre-commit do its thing instead of running specific static-check type things explicity. There are a number of things that could mutate the file before it's ready ultimately.

This is the error we get today, though the migration file is created:

  Generating /opt/airflow/airflow/migrations/versions/ff1136b2c21b_add_something.py ...  done
  Running post write hook 'isort' ...
  FAILED
[2023-09-27T00:46:38.441+0000] {messaging.py:70} ERROR - Could not find entrypoint console_scripts.isort
  FAILED: Could not find entrypoint console_scripts.isort

We can let pre-commit do its thing instead of running specific
static-check type things explicity. There are a number of things that
could mutate the file before it's ready ultimately.
@uranusjr uranusjr merged commit db89a33 into apache:main Sep 27, 2023
@uranusjr uranusjr deleted the fix_alembic_migration_creation branch September 27, 2023 06:46
@ephraimbuddy ephraimbuddy added this to the Airflow 2.7.2 milestone Oct 3, 2023
@ephraimbuddy ephraimbuddy added the type:misc/internal Changelog: Misc changes that should appear in change log label Oct 3, 2023
ephraimbuddy pushed a commit that referenced this pull request Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:misc/internal Changelog: Misc changes that should appear in change log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants