Skip to main content

Migration Lint

ci status Coverage Py Version

migration-lint is the modular linter tool designed to perform checks on database schema migrations and prevent unsafe operations.

Features:

  • Works with Django migrations, Alembic and raw sql files.
  • Easily extensible for other frameworks.
  • Can identify Backward Incompatible operations and check if they are allowed in the current context.
  • Can identify "unsafe" operations, e.g. operations that acquire locks that can be dangerous for production database.

Installation

poetry add "migration-lint"
pip install "migration-lint"

Documentation

Read the docs on GitHub Pages

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

migration_lint-0.2.13.tar.gz (7.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

migration_lint-0.2.13-cp312-cp312-macosx_15_0_arm64.whl (7.3 MB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

File details

Details for the file migration_lint-0.2.13.tar.gz.

File metadata

  • Download URL: migration_lint-0.2.13.tar.gz
  • Upload date:
  • Size: 7.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.11 Darwin/24.6.0

File hashes

Hashes for migration_lint-0.2.13.tar.gz
Algorithm Hash digest
SHA256 aa39678a7a4f7af341167851b94a362e72df371177bed824a6da78d844d32f13
MD5 93b83382af64b3bf25fc705f5ba5749b
BLAKE2b-256 403f2959f3f09551ec33d0020cdb0d326f096dba39ed45bf9218e9d56da32107

See more details on using hashes here.

File details

Details for the file migration_lint-0.2.13-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for migration_lint-0.2.13-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 5b5c20a66fbc0c1669e54fd5ad0b70c5d17848c36f11505d34b399ae2063fdac
MD5 00bc79ec346be6ed20235ed7d79beef8
BLAKE2b-256 9dcb653bddec35eec26dd9d4818e137121857c5c9abbf1025e6d377324092309

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.13 This release

2 files

0.2.12

2 files

0.2.11

2 files

0.2.10

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page