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]

Doc: Fix typos and URL corrections in developer documentation (#1221)

Joshua Shanksa0cf20a25559
diff --git a/docs/dev/contribute.md b/docs/dev/contribute.md
index 6adfb9b3..aef18a3f 100644
--- a/docs/dev/contribute.md
+++ b/docs/dev/contribute.md
@@ -34,7 +34,7 @@ pre-commit install
Most problems (including formatting) will be automatically fixed.
Therefore, if `pre-commit`/`git commit` fails on its first run, simply try running it a second time.
- Some more autofixes can be enabled with the `--unsafe-fixes` option from [`ruff`](https://github.com/charliermarsh/ruff):
+ Some more autofixes can be enabled with the `--unsafe-fixes` option from [`ruff`](https://github.com/astral-sh/ruff):
```bash
pipx run ruff check --fix --unsafe-fixes
@@ -115,7 +115,7 @@ to see all debug output from the agent.
However, if you make the behavior optional without complicating SWE-agent (for example by providing new [commands](../config/tools.md)),
we might be less strict.
* Please add simple unit tests or integration tests wherever possible. Take a look in the [tests directory](https://github.com/SWE-agent/SWE-agent/tree/main/tests)
- for inspiration. We emphasize simple easy-tow-rite tests that get a lot of coverage.
+ for inspiration. We emphasize simple easy-to-write tests that get a lot of coverage.
[gfi]: https://github.com/SWE-agent/SWE-agent/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22%F0%9F%91%8B+good+first+issue%22+
[help_wanted]: https://github.com/SWE-agent/SWE-agent/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22%F0%9F%99%8F+help+wanted%22
diff --git a/docs/dev/formatting_conflicts.md b/docs/dev/formatting_conflicts.md
index 41b9309e..0cbf357b 100644
--- a/docs/dev/formatting_conflicts.md
+++ b/docs/dev/formatting_conflicts.md
@@ -28,10 +28,10 @@ export FEATURE_BRANCH="main"
Next we create a copy of this branch (so we don't further modify it):
```bash
-git branch "${FEATURE_BRANCH}" "${FEATURE_BRANCH}_REBASED"
+git branch "${FEATURE_BRANCH}_REBASED" "${FEATURE_BRANCH}"
```
-And now comes the tricky bit: We rebase your changes on top of `upstream/mean`, while applying
+And now comes the tricky bit: We rebase your changes on top of `upstream/main`, while applying
the formatting fixes at every step:
```bash