Skip to content

Commit 5bbb22d

Browse files
authored
Merge pull request #108 from opsmill/pog-upgrade-ruff
Upgrade ruff to 0.7.1
2 parents 92b9567 + 45925ed commit 5bbb22d

File tree

4 files changed

+23
-23
lines changed

4 files changed

+23
-23
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
- name: "Check out repository code"
7676
uses: "actions/checkout@v4"
7777
- name: "Setup environment"
78-
run: "pip install ruff==0.5.0"
78+
run: "pip install ruff==0.7.1"
7979
- name: "Linting: ruff check"
8080
run: "ruff check ."
8181
- name: "Linting: ruff format"

infrahub_sdk/transfer/exporter/json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def identify_many_to_many_relationships(
5454

5555
# Record the relationship only if it's not known in one way or another
5656
if not forward and not backward:
57-
many_relationship_identifiers[(node_schema.kind, relationship.peer)] = relationship.identifier
57+
many_relationship_identifiers[node_schema.kind, relationship.peer] = relationship.identifier
5858

5959
return many_relationship_identifiers
6060

poetry.lock

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ pre-commit = "^2.20.0"
6060
types-toml = "*"
6161
types-ujson = "*"
6262
types-pyyaml = "*"
63-
ruff = "0.5.0"
63+
ruff = "0.7.1"
6464
pytest-xdist = "^3.3.1"
6565
types-python-slugify = "^8.0.0.3"
6666
invoke = "^2.2.0"

0 commit comments

Comments
 (0)