Skip to content

Commit

Permalink
Update sweep config
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer authored Nov 20, 2023
1 parent b1d75d3 commit f1eaf9b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions sweep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
# 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 docstrings and comments should be up to date."
['All new business logic should have corresponding unit tests.', 'Refactor large functions to be more modular.', 'Add docstrings to all functions and file headers.']
- "All new logic should have corresponding unit tests."

# 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'
branch: 'master'

# By default Sweep will read the logs and outputs from your existing Github Actions. To disable this, set this to false.
gha_enabled: True
Expand All @@ -17,7 +17,7 @@ gha_enabled: True
# Example:
#
# description: sweepai/sweep is a python project. The main api endpoints are in sweepai/api.py. Write code that adheres to PEP8.
description: ''
description: 'SymbolicRegression.jl is a Julia project. The main search code is in src/SymbolicRegression.jl.'

# 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
Expand All @@ -31,7 +31,9 @@ blocked_dirs: []
#
# docs:
# - PyGitHub: ["https://pygithub.readthedocs.io/en/latest/", "We use pygithub to interact with the GitHub API"]
docs: []
docs:
- DynamicExpressions.jl: ["https://symbolicml.org/DynamicExpressions.jl/stable/", "We use DynamicExpressions.jl for storing expressions and evaluating them"]
- Optim.jl: ["https://julianlsolvers.github.io/Optim.jl/stable/", "We use Optim.jl for optimizing constants during a symbolic regression search"]

# Sandbox executes commands in a sandboxed environment to validate code changes after every edit to guarantee pristine code. For more details, see the [Sandbox](./sandbox) page.
sandbox:
Expand Down

0 comments on commit f1eaf9b

Please sign in to comment.