Skip to content

Commit

Permalink
👷 Sync pre-commit config with lapidary-render, move mypy from project…
Browse files Browse the repository at this point in the history
… dependencies.
  • Loading branch information
Raphael Krupinski committed Jul 1, 2024
1 parent f85a0d9 commit 4bf2097
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 61 deletions.
19 changes: 18 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,34 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
default_language_version:
python: '3.9'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- id: check-toml
- id: debug-statements
- id: check-yaml
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.0
hooks:
- id: ruff
name: ruff-check
pass_filenames: false
- id: ruff-format
pass_filenames: false
- repo: https://github.com/python-poetry/poetry
rev: 1.8.3
hooks:
- id: poetry-check
- id: poetry-lock
args:
- --check
- --no-update
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.1
hooks:
- id: mypy
pass_filenames: false
60 changes: 1 addition & 59 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ typing-extensions = { python = "<3.12", version = "^4.9.0" }

[tool.poetry.group.dev.dependencies]
fastapi = "^0.109.0"
mypy = "^1.0.1"
pytest = ">=7.1,<9.0"
pytest-asyncio = "^0.23.3"

Expand Down

0 comments on commit 4bf2097

Please sign in to comment.