diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9fbdeb8f8d8..c4d8e57478b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,3 +16,10 @@ jobs: run: make docker-build - name: Run tests run: make docker-runtest-all + - name: Mypy Check + # You may pin to the exact commit or the version. + # uses: jpetrucciani/mypy-check@e4de43b8ca2e83e7cc9caac4ecddcd2b8f947b7e + uses: jpetrucciani/mypy-check@0.910 + with: + # File or directory to run mypy on + path: '.' diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml new file mode 100644 index 00000000000..1b17cc0ac3f --- /dev/null +++ b/.github/workflows/mypy.yml @@ -0,0 +1,18 @@ +name: Mypy + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + name: Mypy + steps: + - uses: actions/checkout@v1 + - name: Set up Python 3.8 + uses: actions/setup-python@v1 + with: + python-version: 3.8 + - name: Install Dependencies + run: | + pip install mypy + - uses: jpetrucciani/mypy-check@master diff --git a/mayan/apps/appearance/templates/appearance/generic_form_subtemplate.html b/mayan/apps/appearance/templates/appearance/generic_form_subtemplate.html index 1c29a672f1b..9e8ae9ee4e0 100644 --- a/mayan/apps/appearance/templates/appearance/generic_form_subtemplate.html +++ b/mayan/apps/appearance/templates/appearance/generic_form_subtemplate.html @@ -89,7 +89,7 @@

{% endif %} {% for button in extra_buttons %} -