From 1b862e6061117968aab21179f18a902f8b6dd456 Mon Sep 17 00:00:00 2001 From: Travis Dent Date: Fri, 6 Dec 2024 11:45:33 -0800 Subject: [PATCH] Create mypy action --- .github/workflows/mypy.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/mypy.yml diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml new file mode 100644 index 00000000..79ac248c --- /dev/null +++ b/.github/workflows/mypy.yml @@ -0,0 +1,23 @@ +name: MyPy + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.10", "3.11", "3.12"] + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install .[dev] + - name: Analysing the code with pylint + run: | + mypy agentstack