Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
fail_fast: true
default_stages: [commit]
default_stages: [pre-commit]
exclude: ".git|.tox"

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: check-added-large-files
Expand All @@ -17,23 +17,23 @@ repos:
- id: check-merge-conflict

- repo: https://github.com/psf/black
rev: 22.10.0
rev: 25.1.0
hooks:
- id: black

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 6.0.1
hooks:
- id: isort

- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 7.3.0
hooks:
- id: flake8
additional_dependencies: [flake8-isort]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v0.991'
rev: 'v1.17.1'
hooks:
- id: mypy
args:
Expand All @@ -51,7 +51,7 @@ repos:
- "--no-warn-return-any"

- repo: https://github.com/PyCQA/autoflake
rev: 'v2.2.1'
rev: 'v2.3.1'
hooks:
- id: autoflake
args:
Expand Down
1 change: 1 addition & 0 deletions src/nylas/crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
login_user: Fetch and return serialized user info upon logging in.
find_existed_token: Find a token in a token list.
"""

from bson import (
ObjectId,
)
Expand Down
1 change: 0 additions & 1 deletion src/utils/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

"""


from fastapi import (
FastAPI,
)
Expand Down
Loading