🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
Create linting.yaml
Guohao Li9f45b5bc71ca
diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yamlnew file mode 100644index 000000000..9128fb63a--- /dev/null+++ b/.github/workflows/linting.yaml@@ -0,0 +1,51 @@+name: Linting++on:+ push:+ branches:+ - master+ pull_request:+ merge_group:++concurrency:+ cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-${{ startsWith(github.ref, 'refs/pull/') || github.run_number }}++jobs:+ flake8:+ runs-on: ubuntu-latest++ steps:+ - uses: actions/checkout@v3++ - name: Set up Python+ uses: actions/setup-python@v3+ with:+ python-version: 3.10++ - name: Install dependencies+ run: |+ pip install flake8++ - name: Run linting+ run: |+ flake8 .++ isort:+ runs-on: ubuntu-latest++ steps:+ - uses: actions/checkout@v3++ - name: Set up Python+ uses: actions/setup-python@v3+ with:+ python-version: 3.10++ - name: Install dependencies+ run: |+ pip install isort++ - name: Run linting+ run: |+ isort --check-only .