Snowflake-Labs / schemachange

A Database Change Management tool for Snowflake
Apache License 2.0
481 stars 219 forks source link

Add and configure initial pre-commit hooks #185

Closed IndexSeek closed 10 months ago

IndexSeek commented 11 months ago

This PR adds a configuration for pre-commit and aims to implement standardizations to prevent future syntax errors, typos, bad formatting, and styling inconsistencies.

For now, the only hooks being used are:

Some people may prefer black rather than [autoflake]; we could look to do this instead if preferred.

I added tox to the dev extras in setup.cfg.

Closes #168