Skip to content

Commit

Permalink
build(deps-dev): update ruff requirement from ^0.1 to ^0.3 (#165)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: julesbertrand <julesbertrand13@gmail.com>
  • Loading branch information
dependabot[bot] and julesbertrand committed Apr 8, 2024
1 parent 5c08106 commit 2a5b637
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 1 addition & 2 deletions deployer/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ class GraphComponentType(Protocol):

def __call__( # noqa: D102
self, component_spec: Any, pipeline_func: Callable, display_name: Optional[str] = None
):
...
): ...


def filter_lines_from(tb: TracebackType, target_file: Union[Path, str]) -> str:
Expand Down
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pytest = "^8.0"
pre-commit = "^3.3"
ipykernel = "^6.9"
nbstripout = "^0.7"
ruff = "^0.1"
ruff = "^0.3"
pytest-cov = "^4.1"
codespell = "^2.2"

Expand All @@ -47,6 +47,8 @@ build-backend = "poetry.core.masonry.api"
[tool.ruff]
target-version = "py38"
line-length = 99

[tool.ruff.lint]
ignore = [
"D100",
"D205",
Expand All @@ -66,13 +68,13 @@ select = [
"I", # isort
]

[tool.ruff.pydocstyle]
[tool.ruff.lint.pydocstyle]
convention = "google"

[tool.ruff.lint.isort]
known-first-party = ["vertex", "tests", "deployer"]

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"*cli.py" = ["D", "B008"]
"*__init__.py" = [
"F401",
Expand Down

0 comments on commit 2a5b637

Please sign in to comment.