Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

Add pre-commit checks#45

Merged
danielfrankcom merged 5 commits into
mainfrom
dev/frankcom/pre-commit
Jan 21, 2026
Merged

Add pre-commit checks#45
danielfrankcom merged 5 commits into
mainfrom
dev/frankcom/pre-commit

Conversation

@danielfrankcom

Copy link
Copy Markdown
Contributor

This PR adds pre-commit checks to enforce the following:

  • Code formatting with ruff (.py files) and prettier (.yml files)
  • Linting with ruff (.py files) and actionlint (GitHub workflows)
  • Type checking with pyright
  • Copyright file headers

This aligns the SQLAlchemy repo code standards with our other Python repositories.

#42, #43, #44 make related changes to prepare the repo for these checks. This PR is currently based on an integration branch, but will be swapped to main once the dependency PRs have been merged.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@danielfrankcom danielfrankcom changed the base branch from dev/frankcom/integration-temp to main January 21, 2026 19:14
@danielfrankcom danielfrankcom force-pushed the dev/frankcom/pre-commit branch from 2b19ce2 to 511eb2a Compare January 21, 2026 19:14
@danielfrankcom danielfrankcom merged commit 338e484 into main Jan 21, 2026
13 of 20 checks passed
@danielfrankcom danielfrankcom deleted the dev/frankcom/pre-commit branch January 21, 2026 19:36
danielfrankcom added a commit that referenced this pull request Jan 26, 2026
This PR fixes a build error which was introduced by the combination of
#45 and #46. The pre-commit checks were not run against #46 due to the
merge order.

Now that the quotes are added, the build will not fail like
[here](https://github.com/awslabs/aurora-dsql-sqlalchemy/actions/runs/21368988492/job/61508301097).

By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants