Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#103)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.6.0...v5.0.0)
- [github.com/astral-sh/ruff-pre-commit: v0.6.8 → v0.6.9](astral-sh/ruff-pre-commit@v0.6.8...v0.6.9)

* Upgrading pre-commit dependency and add one more thing to try to get rid of the flakiness

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Lotif <[email protected]>
Co-authored-by: Marcelo Lotif <[email protected]>
  • Loading branch information
3 people authored Oct 21, 2024
1 parent dcaf48d commit a544a9a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
5 changes: 3 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0 # Use the ref you want to point at
rev: v5.0.0 # Use the ref you want to point at
hooks:
- id: trailing-whitespace
- id: check-ast
Expand All @@ -16,7 +16,7 @@ repos:
- id: check-toml

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.6.8'
rev: 'v0.6.9'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down Expand Up @@ -47,6 +47,7 @@ repos:
language: node
additional_dependencies:
- typescript
exclude: ^[^.]+$|\.(?!(tsx)$)([^.]+$) # excludes everything but .tsx files

- repo: local
hooks:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"prod": "concurrently \"npm run next-dev\" \"npm run fastapi-prod\"",
"build": "next build",
"start": "next start",
"lint": "next lint florist **/*.tsx",
"lint": "next lint florist",
"prettier": "prettier florist/app florist/tests/unit/app --write",
"unit-test": "jest --coverage florist/tests/unit/",
"integration-test": "jest --coverage florist/tests/integration/"
Expand Down
10 changes: 5 additions & 5 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ optional = true

[tool.poetry.group.test.dependencies]
pytest = "^7.1.1"
pre-commit = "^2.17.0"
pre-commit = "^4.0.1"
pytest-cov = "^3.0.0"
codecov = "^2.1.13"
mypy = "^1.7.0"
Expand Down

0 comments on commit a544a9a

Please sign in to comment.