From fe22b069e16ebbf21972bc54fa7ddb295902bc5f Mon Sep 17 00:00:00 2001 From: Sebastien Tremblay-Johnston Date: Mon, 27 Sep 2021 13:52:51 -0700 Subject: [PATCH 1/4] install mypy as dependency --- scripts/cibuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cibuild b/scripts/cibuild index 0228f19..9f94fcb 100755 --- a/scripts/cibuild +++ b/scripts/cibuild @@ -2,7 +2,7 @@ set -e -pip install flake8==3.9.2 +pip install flake8==3.9.2 mypy==0.910 cd $(dirname $0)/.. flake8 . mypy -p oaff From 68396daa41eee18ea4d786d592755e9b5ce90ddd Mon Sep 17 00:00:00 2001 From: Sebastien Tremblay-Johnston Date: Mon, 27 Sep 2021 16:11:25 -0700 Subject: [PATCH 2/4] update cibuild --- scripts/cibuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cibuild b/scripts/cibuild index 9f94fcb..a6b40aa 100755 --- a/scripts/cibuild +++ b/scripts/cibuild @@ -5,5 +5,5 @@ set -e pip install flake8==3.9.2 mypy==0.910 cd $(dirname $0)/.. flake8 . -mypy -p oaff +mypy . scripts/test --no-cache \ No newline at end of file From d35a7d5c0ceb8503bf920ae1096f5276eb714a92 Mon Sep 17 00:00:00 2001 From: Sebastien Tremblay-Johnston Date: Tue, 28 Sep 2021 09:04:39 -0700 Subject: [PATCH 3/4] run tests on pull request --- .github/workflows/ci-tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 9377ba7..a5eae88 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -1,6 +1,7 @@ name: CI Tests on: + pull_request: push: branches: - '**' From a08428366521005a17af463de779653d4a77a2f8 Mon Sep 17 00:00:00 2001 From: Sebastien Tremblay-Johnston Date: Tue, 28 Sep 2021 09:33:13 -0700 Subject: [PATCH 4/4] add additional config options so that cibuild mypy and pre-commit outputs are the same --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 63d0d6f..70b6854 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,4 +38,6 @@ exclude="^(tests|testing)$" namespace_packages=true explicit_package_bases=true ignore_missing_imports=true -ignore_errors=true \ No newline at end of file +ignore_errors=true +install_types=true +non_interactive=true \ No newline at end of file