Skip to content

Commit

Permalink
chore(deps-dev): bump ruff from 0.2.2 to 0.3.0 (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Mar 1, 2024
1 parent 5fbff94 commit 53bf3e0
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 24 deletions.
1 change: 1 addition & 0 deletions copier_template/{{library_name}}/extension.py.jinja
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Meltano {{ extension_name }} extension."""

from __future__ import annotations

import subprocess
Expand Down
1 change: 1 addition & 0 deletions copier_template/{{library_name}}/pass_through.py.jinja
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Passthrough shim for {{ extension_name }} extension."""

import sys

import structlog
Expand Down
1 change: 1 addition & 0 deletions meltano/edk/extension.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Meltano extension SDK base class and supporting methods."""

from __future__ import annotations

import sys
Expand Down
1 change: 1 addition & 0 deletions meltano/edk/logging.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Recommended logging configuration for extensions."""

from __future__ import annotations

import logging
Expand Down
1 change: 1 addition & 0 deletions meltano/edk/process.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Utilities for working with subprocesses."""

from __future__ import annotations

import asyncio
Expand Down
38 changes: 19 additions & 19 deletions poetry.lock

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

12 changes: 7 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,13 @@ types-pyyaml = "^6.0.12.4"

# Cookiecutter tests
mypy = "^1.6"
ruff = ">=0.1,<0.3"
ruff = ">=0.1,<0.4"
typer = ">=0.6.1,<0.10.0"

[tool.ruff]
target-version = "py38"

[tool.ruff.lint]
ignore = [
"ANN101",
]
Expand All @@ -84,12 +87,11 @@ select = [
"D",
"UP",
]
target-version = "py38"

[tool.ruff.flake8-annotations]
[tool.ruff.lint.flake8-annotations]
allow-star-arg-any = true

[tool.ruff.per-file-ignores]
[tool.ruff.lint.per-file-ignores]
"docs/**" = [
"D",
]
Expand All @@ -98,7 +100,7 @@ allow-star-arg-any = true
"D",
]

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

[build-system]
Expand Down

0 comments on commit 53bf3e0

Please sign in to comment.