From 14fc8bd3e5a8249224b774ea9052c9a701fc8e0f Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 28 Mar 2021 09:36:07 +0800 Subject: Create FUNDING.yml Allow people to say thanks. --- .github/FUNDING.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/FUNDING.yml (limited to '.github') diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 00000000..80819f5d --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +github: byron -- cgit v1.2.1 From 9e7314c57ef56aaf5fd27a311bfa6a01d18366a2 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sat, 17 Apr 2021 13:37:42 +0800 Subject: Restore CI operation Renaming is easier, but GitHub seems to miss CI which is quite a foot/head gun --- .github/workflows/pythonpackage.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.github') diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 5e94cd05..eb5c894e 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -5,9 +5,9 @@ name: Python package on: push: - branches: [ master ] + branches: [ main ] pull_request: - branches: [ master ] + branches: [ main ] jobs: build: @@ -56,4 +56,4 @@ jobs: run: | set -x pip install -r doc/requirements.txt - make -C doc html \ No newline at end of file + make -C doc html -- cgit v1.2.1 From 043e15fe140cfff8725d4f615f42fa1c55779402 Mon Sep 17 00:00:00 2001 From: Giel van Schijndel Date: Fri, 23 Apr 2021 12:50:07 +0200 Subject: ci: check types with mypy This will result in _partial_ type checking of the type annotations by using mypy. Keep in mind though that mypy is performing _static_ analysis in a _dynamic_ language so it can only partially check for correctness. Some other tool(s) will be needed to have more complete type checking at runtime. E.g. [typeguard]. [typeguard]: https://pypi.org/project/typeguard/ --- .github/workflows/pythonpackage.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.github') diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index eb5c894e..3c7215cb 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -47,6 +47,11 @@ jobs: pip install flake8 # stop the build if there are Python syntax errors or undefined names flake8 --ignore=W293,E265,E266,W503,W504,E731 --count --show-source --statistics + - name: Check types with mypy + run: | + set -x + pip install tox + tox -e type - name: Test with nose run: | set -x -- cgit v1.2.1