forked from Significant-Gravitas/AutoGPT
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/BillSchumacher/Auto-GPT i…
…nto plugin-support
- Loading branch information
Showing
49 changed files
with
634 additions
and
251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Upon entering directory, direnv requests user permission once to automatically load project dependencies onwards. | ||
# Eliminating the need of running "nix develop github:superherointj/nix-auto-gpt" for Nix users to develop/use Auto-GPT. | ||
|
||
[[ -z $IN_NIX_SHELL ]] && use flake github:superherointj/nix-auto-gpt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
[flake8] | ||
max-line-length = 88 | ||
extend-ignore = E203 | ||
select = "E303, W293, W291, W292, E305, E231, E302" | ||
exclude = | ||
.tox, | ||
__pycache__, | ||
*.pyc, | ||
.env | ||
venv/* | ||
.venv/* | ||
reports/* | ||
dist/* | ||
venv*/*, | ||
.venv/*, | ||
reports/*, | ||
dist/*, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: "Pull Request auto-label" | ||
on: | ||
# So that PRs touching the same files as the push are updated | ||
push: | ||
# So that the `dirtyLabel` is removed if conflicts are resolve | ||
# We recommend `pull_request_target` so that github secrets are available. | ||
# In `pull_request` we wouldn't be able to change labels of fork PRs | ||
pull_request_target: | ||
types: [opened, synchronize] | ||
concurrency: | ||
group: ${{ format('pr-label-{0}', github.event.pull_request.number || github.sha) }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
conflicts: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
steps: | ||
- name: Update PRs with conflict labels | ||
uses: eps1lon/actions-label-merge-conflict@releases/2.x | ||
with: | ||
dirtyLabel: "conflicts" | ||
#removeOnDirtyLabel: "PR: ready to ship" | ||
repoToken: "${{ secrets.GITHUB_TOKEN }}" | ||
commentOnDirty: "This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request." | ||
commentOnClean: "Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,32 @@ | ||
repos: | ||
- repo: https://github.com/sourcery-ai/sourcery | ||
rev: v1.1.0 # Get the latest tag from https://github.com/sourcery-ai/sourcery/tags | ||
hooks: | ||
- id: sourcery | ||
|
||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v0.9.2 | ||
hooks: | ||
- id: check-added-large-files | ||
args: [ '--maxkb=500' ] | ||
args: ['--maxkb=500'] | ||
- id: check-byte-order-marker | ||
- id: check-case-conflict | ||
- id: check-merge-conflict | ||
- id: check-symlinks | ||
- id: debug-statements | ||
|
||
- repo: local | ||
|
||
- repo: https://github.com/pycqa/isort | ||
rev: 5.12.0 | ||
hooks: | ||
- id: isort | ||
name: isort-local | ||
entry: isort | ||
language: python | ||
types: [ python ] | ||
exclude: .+/(dist|.venv|venv|build)/.+ | ||
pass_filenames: true | ||
language_version: python3.10 | ||
|
||
- repo: https://github.com/psf/black | ||
rev: 23.3.0 | ||
hooks: | ||
- id: black | ||
name: black-local | ||
entry: black | ||
language: python | ||
types: [ python ] | ||
exclude: .+/(dist|.venv|venv|build)/.+ | ||
pass_filenames: true | ||
language_version: python3.10 | ||
|
||
- repo: local | ||
hooks: | ||
- id: pytest-check | ||
name: pytest-check | ||
entry: pytest --cov=autogpt --without-integration --without-slow-integration | ||
language: system | ||
pass_filenames: false | ||
always_run: true | ||
always_run: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Welcome to Auto-GPT! We'll keep you informed of the latest news and features by printing messages here. | ||
If you don't wish to see this message, you can run Auto-GPT with the --skip-news flag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.