From d728f09d86336f0c930eee1a32c59ac7e1fa50ab Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 14 Jul 2026 14:21:53 +0500 Subject: [PATCH] Bump ty Dropping `conflicting-argument-forms` rule as it was removed in ty 0.0.49. --- .github/workflows/ci-lint.yaml | 2 +- pyproject.toml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-lint.yaml b/.github/workflows/ci-lint.yaml index 677ec10c25..2716850215 100644 --- a/.github/workflows/ci-lint.yaml +++ b/.github/workflows/ci-lint.yaml @@ -30,7 +30,7 @@ jobs: uv tool install ruff uv tool install black uv tool install poethepoet - uv tool install ty==0.0.34 + uv tool install ty==0.0.59 # black doesn't catch all syntax errors, so we check them explicitly. - name: Check syntax errors diff --git a/pyproject.toml b/pyproject.toml index a244e0e007..46f5a8c022 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ dependencies = [ "black==26.3.1", "ruff==0.15.12", "poethepoet", - "ty==0.0.32", + "ty==0.0.59", "gersemi==0.26.1", ] @@ -159,7 +159,6 @@ unused-awaitable = "error" # Function argument rules: # Conflicts with `ifcopenshell.api.geometry.add_representation` type of callables we have, confusing them with a module. # call-non-callable = "error" -conflicting-argument-forms = "error" # Too many false positives. # invalid-argument-type = "error" missing-argument = "error"