diff --git a/.github/workflows/ci-lint.yaml b/.github/workflows/ci-lint.yaml index 2716850215..b1098e8607 100644 --- a/.github/workflows/ci-lint.yaml +++ b/.github/workflows/ci-lint.yaml @@ -27,10 +27,7 @@ jobs: - name: Install dependencies run: | curl -LsSf https://astral.sh/uv/install.sh | sh - uv tool install ruff - uv tool install black - uv tool install poethepoet - uv tool install ty==0.0.59 + cat requirements-tools.txt | xargs -L1 uv tool install # 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 46f5a8c022..8a01875d93 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,13 +1,6 @@ [project] name = "IfcOpenShell" version = "0.0.0" -dependencies = [ - "black==26.3.1", - "ruff==0.15.12", - "poethepoet", - "ty==0.0.59", - "gersemi==0.26.1", -] [tool.black] line-length = 120 diff --git a/requirements-tools.txt b/requirements-tools.txt new file mode 100644 index 0000000000..33a2505707 --- /dev/null +++ b/requirements-tools.txt @@ -0,0 +1,5 @@ +black==26.3.1 +ruff==0.15.12 +poethepoet +ty==0.0.59 +gersemi==0.26.1