mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +00:00
downstream: pyproject: Move tool deps from to requirements-tools.txt
Because uv was always trying to install when starting a venv in `ifcopenshell` folder, though they might be already available globally. And also they were listed twice - in pyproject and in the ci-lint.yml, now there's a single source of truth.
This commit is contained in:
@@ -27,10 +27,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||||
uv tool install ruff
|
cat requirements-tools.txt | xargs -L1 uv tool install
|
||||||
uv tool install black
|
|
||||||
uv tool install poethepoet
|
|
||||||
uv tool install ty==0.0.34
|
|
||||||
|
|
||||||
# black doesn't catch all syntax errors, so we check them explicitly.
|
# black doesn't catch all syntax errors, so we check them explicitly.
|
||||||
- name: Check syntax errors
|
- name: Check syntax errors
|
||||||
|
|||||||
@@ -1,13 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "IfcOpenShell"
|
name = "IfcOpenShell"
|
||||||
version = "0.0.0"
|
version = "0.0.0"
|
||||||
dependencies = [
|
|
||||||
"black==26.3.1",
|
|
||||||
"ruff==0.15.12",
|
|
||||||
"poethepoet",
|
|
||||||
"ty==0.0.32",
|
|
||||||
"gersemi==0.26.1",
|
|
||||||
]
|
|
||||||
|
|
||||||
[tool.black]
|
[tool.black]
|
||||||
line-length = 120
|
line-length = 120
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
black==26.3.1
|
||||||
|
ruff==0.15.12
|
||||||
|
poethepoet
|
||||||
|
ty==0.0.59
|
||||||
|
gersemi==0.26.1
|
||||||
Reference in New Issue
Block a user