Skip to content

SWE-agent takes a GitHub issue and tries to automatically fix it, using your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges. [NeurIPS 2024]

Add dev dependencies (#414)

Kilian Lieret49020496cafb
diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml
index 51162ed7..25f08790 100644
--- a/.github/workflows/pytest.yaml
+++ b/.github/workflows/pytest.yaml
@@ -40,8 +40,7 @@ jobs:
curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Install dependencies
run: |
- uv pip install --python ${Python_ROOT_DIR} .
- uv pip install --python ${Python_ROOT_DIR} pytest pytest-cov
+ uv pip install --python ${Python_ROOT_DIR} '.[dev]'
- name: Run pytest
run: |
pytest --cov
diff --git a/pyproject.toml b/pyproject.toml
index 5aeaba1f..d36e81f1 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -36,6 +36,16 @@ classifiers = [
"Programming Language :: Python :: 3 :: Only",
]
+[project.optional-dependencies]
+dev = [
+ "mkdocs-material",
+ "mkdocs-glightbox",
+ "mkdocs-include-markdown-plugin",
+ "pytest",
+ "pytest-cov",
+ "pipx",
+]
+
[tool.setuptools]
include-package-data = true