Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
8129916
Create sweep.yaml
sweep-ai-deprecated[bot] Jan 18, 2024
42b0adf
Create sweep template
sweep-ai-deprecated[bot] Jan 18, 2024
982ba5a
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 18, 2024
7188ae8
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 18, 2024
2e7e50f
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 18, 2024
1efef56
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 18, 2024
41c2e3e
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 19, 2024
daa2070
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 19, 2024
b5ffd99
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 21, 2024
812d845
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 22, 2024
e3eaf81
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 22, 2024
242b569
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 22, 2024
80a9869
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 22, 2024
bc337d4
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 22, 2024
483d11e
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 22, 2024
05bd364
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 23, 2024
a74f555
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 24, 2024
ac4caf0
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 24, 2024
1560ee2
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 24, 2024
d3384d7
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 24, 2024
98c65df
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 24, 2024
25b31df
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 24, 2024
75fdd97
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 24, 2024
db4bee9
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 25, 2024
7c82dd8
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Jan 25, 2024
bdaae4f
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Feb 3, 2024
bf7cea6
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Mar 11, 2024
f1d3e44
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Mar 11, 2024
f5a0301
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Mar 11, 2024
643d7ca
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Mar 11, 2024
b362855
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Apr 19, 2024
cc0a118
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Apr 23, 2024
5bf2d64
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Apr 23, 2024
06b395e
Merge main into sweep/add-sweep-config
sweep-ai-deprecated[bot] Apr 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/sweep-template.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Sweep Issue
title: 'Sweep: '
description: For small bugs, features, refactors, and tests to be handled by Sweep, an AI-powered junior developer.
labels: sweep
body:
- type: textarea
id: description
attributes:
label: Details
description: Tell Sweep where and what to edit and provide enough context for a new developer to the codebase
placeholder: |
Unit Tests: Write unit tests for <FILE>. Test each function in the file. Make sure to test edge cases.
Bugs: The bug might be in <FILE>. Here are the logs: ...
Features: the new endpoint should use the ... class from <FILE> because it contains ... logic.
Refactors: We are migrating this function to ... version because ...
27 changes: 27 additions & 0 deletions sweep.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Sweep AI turns bugs & feature requests into code changes (https://sweep.dev)
# For details on our config file, check out our docs at https://docs.sweep.dev/usage/config

# This setting contains a list of rules that Sweep will check for. If any of these rules are broken in a new commit, Sweep will create an pull request to fix the broken rule.
rules:
- "All new business logic should have corresponding unit tests."
- "Refactor large functions to be more modular."
- "Add docstrings to all functions and file headers."

# This is the branch that Sweep will develop from and make pull requests to. Most people use 'main' or 'master' but some users also use 'dev' or 'staging'.
branch: 'main'

# By default Sweep will read the logs and outputs from your existing Github Actions. To disable this, set this to false.
gha_enabled: True

# This is the description of your project. It will be used by sweep when creating PRs. You can tell Sweep what's unique about your project, what frameworks you use, or anything else you want.
#
# Example:
#
# description: sweepai/sweep is a python project. The main api endpoints are in sweepai/api.py. Write code that adheres to PEP8.
description: ''

# This sets whether to create pull requests as drafts. If this is set to True, then all pull requests will be created as drafts and GitHub Actions will not be triggered.
draft: False

# This is a list of directories that Sweep will not be able to edit.
blocked_dirs: []