Skip to content

Commit

Permalink
Update pre-commit versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
mareuter committed Oct 14, 2024
1 parent 12a320f commit f934b4e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v5.0.0
hooks:
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.11
rev: v0.6.9
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format

- repo: https://github.com/tox-dev/tox-ini-fmt
rev: "1.3.1"
rev: "1.4.1"
hooks:
- id: tox-ini-fmt

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.8.0
rev: v1.11.2
hooks:
- id: mypy
args: [--strict]
additional_dependencies:
- "pydantic==2.6.3"
- "fastapi==0.110.0"
- "pydantic==2.9.2"
- "fastapi==0.115.2"
3 changes: 2 additions & 1 deletion tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@
import os

from fastapi.testclient import TestClient
from lct_web.main import app
from pydantic import ValidationError
import pytest

from lct_web.main import app

client = TestClient(app)


Expand Down
1 change: 1 addition & 0 deletions tests/test_lunar_club.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from __future__ import annotations

from fastapi.testclient import TestClient

from lct_web.main import app

client = TestClient(app)
Expand Down
1 change: 1 addition & 0 deletions tests/test_lunar_two.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from __future__ import annotations

from fastapi.testclient import TestClient

from lct_web.main import app

client = TestClient(app)
Expand Down
1 change: 1 addition & 0 deletions tests/test_moon_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from __future__ import annotations

from fastapi.testclient import TestClient

from lct_web.main import app

client = TestClient(app)
Expand Down

0 comments on commit f934b4e

Please sign in to comment.