Skip to content

Commit c435ac3

Browse files
Bump all dev dependencies (#24)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alexander Rashed <alexander.rashed@localstack.cloud>
1 parent 3a34083 commit c435ac3

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

‎Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ clean:
2121
rm -rf *.egg-info/
2222

2323
format:
24-
$(VENV_RUN); python -m ruff check --show-source --fix .; python -m black .
24+
$(VENV_RUN); python -m ruff check --output-format=full --fix .; python -m black .
2525

2626
lint:
27-
$(VENV_RUN); python -m ruff check --show-source . && python -m black --check .
27+
$(VENV_RUN); python -m ruff check --output-format=full . && python -m black --check .
2828

2929
test: venv
3030
$(VENV_RUN); python -m pytest tests

‎localstack_snapshot/snapshots/transformer.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ def replace_val(s):
8989

9090

9191
class Transformer(Protocol):
92-
def transform(self, input_data: dict, *, ctx: TransformContext) -> dict:
93-
...
92+
def transform(self, input_data: dict, *, ctx: TransformContext) -> dict: ...
9493

9594

9695
# Transformers

‎pyproject.toml‎

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ dynamic = ["readme"]
2828

2929
[project.optional-dependencies]
3030
dev = [
31-
"black==23.10.0",
32-
"pytest>=7.0",
33-
"coverage[toml]>=5.0.0",
34-
"ruff==0.1.0"
31+
"black==26.5.1",
32+
"pytest>=9.1.1",
33+
"coverage[toml]>=7.15.4",
34+
"ruff==0.16.5"
3535
]
3636

3737
[tool.setuptools]
@@ -56,11 +56,6 @@ include = '((localstack_snapshot)/.*\.py$|tests/.*\.py$)'
5656
# Always generate Python 3.10-compatible code.
5757
target-version = "py310"
5858
line-length = 110
59-
select = ["B", "C", "E", "F", "I", "W", "T", "B9"]
60-
ignore = [
61-
"E501", # E501 Line too long - handled by black, see https://docs.astral.sh/ruff/faq/#is-ruff-compatible-with-black
62-
"C901", # C901 complex-structure - later refactoring will handle this, see https://docs.astral.sh/ruff/rules/complex-structure/#complex-structure-c901
63-
]
6459
exclude = [
6560
".venv*",
6661
"venv*",
@@ -70,3 +65,9 @@ exclude = [
7065
"*.egg-info",
7166
".git",
7267
]
68+
[tool.ruff.lint]
69+
select = ["B", "C", "E", "F", "I", "W", "T", "B9"]
70+
ignore = [
71+
"E501", # E501 Line too long - handled by black, see https://docs.astral.sh/ruff/faq/#is-ruff-compatible-with-black
72+
"C901", # C901 complex-structure - later refactoring will handle this, see https://docs.astral.sh/ruff/rules/complex-structure/#complex-structure-c901
73+
]

0 commit comments

Comments
 (0)