From 2396fa88892c9ffdf81505675fb08bf33819aa44 Mon Sep 17 00:00:00 2001 From: ArnauBN <117755502+ArnauBN@users.noreply.github.com> Date: Sun, 1 Jun 2025 17:03:37 +0200 Subject: [PATCH] add mypy workflow --- .github/workflows/mypy.yaml | 27 +++++++++++++++++++++++++++ README.md | 9 ++++++++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/mypy.yaml diff --git a/.github/workflows/mypy.yaml b/.github/workflows/mypy.yaml new file mode 100644 index 0000000..df7ca32 --- /dev/null +++ b/.github/workflows/mypy.yaml @@ -0,0 +1,27 @@ +# .github/workflows/mypy.yml +name: Mypy + +on: + pull_request: + branches: [ main ] + +jobs: + pytest: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: "3.13" + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + + - name: Run mypy + run: mypy . diff --git a/README.md b/README.md index 2544258..8e34f36 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,11 @@ -[](https://github.com/Cliper27/cpp_fqn_parser/actions/workflows/pytest.yaml) +
# cpp_fqn_parser