Metadata-Version: 2.4
Name: dsql-lint
Version: 0.1.4
Classifier: Programming Language :: Rust
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Topic :: Database
Summary: Lint SQL files for Aurora DSQL compatibility
Home-Page: https://github.com/awslabs/aurora-dsql-tools/tree/main/dsql-lint
Author: Amazon Web Services
License: MIT-0
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Homepage, https://github.com/awslabs/aurora-dsql-tools/tree/main/dsql-lint
Project-URL: Repository, https://github.com/awslabs/aurora-dsql-tools

# dsql-lint

Lint SQL files for [Amazon Aurora DSQL](https://aws.amazon.com/rds/aurora/dsql/) compatibility.

Parses SQL and reports errors (unsupported syntax) with suggested fixes. Includes an auto-fix mode that generates DSQL-compatible SQL.

## Installation

```bash
pip install dsql-lint
```

Or run without installing:

```bash
uvx dsql-lint migration.sql
```

## Usage

```bash
dsql-lint migration.sql [migration2.sql ...]
dsql-lint --format json migration.sql
dsql-lint --fix migration.sql
dsql-lint --version
dsql-lint --help
```

See the [main repository](https://github.com/awslabs/aurora-dsql-tools/tree/main/dsql-lint) for the full rule list, JSON schema, and contribution guide.

## License

MIT-0. See [LICENSE](https://github.com/awslabs/aurora-dsql-tools/blob/main/LICENSE).

