Skip to content

Commit f8d5dea

Browse files
authored
Merge pull request SeequentEvo#119 from wordsworthc/chore/update-ruff
Update ruff
2 parents 02af36a + 76a616e commit f8d5dea

9 files changed

Lines changed: 44 additions & 28 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/charliermarsh/ruff-pre-commit
3-
rev: v0.9.1 # keep in sync with pyproject.toml
3+
rev: v0.14.0 # keep in sync with pyproject.toml
44
hooks:
55
- id: ruff
66
name: Run linter

packages/evo-blockmodels/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ line-length = 120
5151
[tool.ruff.lint]
5252
extend-select = ["I", "RUF022"]
5353

54+
[tool.ruff.lint.isort]
55+
known-first-party = ["evo"]
56+
5457
[build-system]
5558
requires = ["hatchling", "hatch-fancy-pypi-readme"]
5659
build-backend = "hatchling.build"

packages/evo-colormaps/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ line-length = 120
5050
[tool.ruff.lint]
5151
extend-select = ["I", "RUF022"]
5252

53+
[tool.ruff.lint.isort]
54+
known-first-party = ["evo"]
55+
5356
[build-system]
5457
requires = ["hatchling", "hatch-fancy-pypi-readme"]
5558
build-backend = "hatchling.build"

packages/evo-files/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ line-length = 120
5050
[tool.ruff.lint]
5151
extend-select = ["I", "RUF022"]
5252

53+
[tool.ruff.lint.isort]
54+
known-first-party = ["evo"]
55+
5356
[build-system]
5457
requires = ["hatchling", "hatch-fancy-pypi-readme"]
5558
build-backend = "hatchling.build"

packages/evo-objects/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ line-length = 120
5252
[tool.ruff.lint]
5353
extend-select = ["I", "RUF022"]
5454

55+
[tool.ruff.lint.isort]
56+
known-first-party = ["evo"]
57+
5558
[build-system]
5659
requires = ["hatchling", "hatch-fancy-pypi-readme"]
5760
build-backend = "hatchling.build"

packages/evo-sdk-common/.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/charliermarsh/ruff-pre-commit
3-
rev: v0.9.1 # keep in sync with pyproject.toml
3+
rev: v0.14.0 # keep in sync with pyproject.toml
44
hooks:
55
- id: ruff
66
args: [ --fix, --no-cache]

packages/evo-sdk-common/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ dev = [
4747
"evo-sdk-common[aiohttp,jmespath]",
4848
"bumpver",
4949
"coverage[toml]",
50-
"ruff==0.9.1", # keep in sync with .pre-commit-config.yaml
50+
"ruff==0.14.0", # keep in sync with .pre-commit-config.yaml
5151
"pre-commit",
5252
{include-group="test"},
5353
]

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ test = [
2828
]
2929
dev = [
3030
"pre-commit >= 4",
31-
"ruff==0.9.1", # keep in sync with .pre-commit-config.yaml
31+
"ruff==0.14.0", # keep in sync with .pre-commit-config.yaml
3232
"bumpver",
3333
"coverage[toml]",
3434
{ include-group = "test" },
@@ -40,6 +40,9 @@ line-length = 120
4040
[tool.ruff.lint]
4141
extend-select = ["I", "RUF022"]
4242

43+
[tool.ruff.lint.isort]
44+
known-first-party = ["evo"]
45+
4346
[tool.uv.sources]
4447
evo-sdk-common = { workspace = true }
4548
evo-blockmodels = { workspace = true }

uv.lock

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

0 commit comments

Comments
 (0)