]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/commit
👷 Move to Ruff and add pre-commit (#661)
authorSebastián Ramírez <tiangolo@gmail.com>
Mon, 23 Oct 2023 07:34:50 +0000 (11:34 +0400)
committerGitHub <noreply@github.com>
Mon, 23 Oct 2023 07:34:50 +0000 (07:34 +0000)
commit065fcdc8280ab333a0e165eec9124b727d2a92e8
tree1708ed2a5f2c61d867dcd732799e08032e3f7854
parent9ba303910639a446d428aa9e1a4a4b54d79ca19c
👷 Move to Ruff and add pre-commit (#661)

* ðŸ‘· Add pre-commit

* ðŸ”§ Add pyproject.toml config for Ruff

* âž• Replace isort, flake8, autoflake with Ruff

* ðŸ”¨ Update lint and format scripts

* ðŸŽ¨ Format with Ruff

* ðŸ”§ Update Poetry config
.pre-commit-config.yaml [new file with mode: 0644]
pyproject.toml
scripts/format.sh
scripts/lint.sh
sqlmodel/__init__.py
sqlmodel/main.py