Skip to content
Snippets Groups Projects
Unverified Commit 9cd13dbb authored by Kaushik Kulkarni's avatar Kaushik Kulkarni Committed by GitHub
Browse files

Merge branch 'main' into pytato

parents 3e7e3d14 634f4add
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ jobs: ...@@ -49,7 +49,7 @@ jobs:
. ./ci-support-v0 . ./ci-support-v0
build_py_project_in_conda_env build_py_project_in_conda_env
python -m pip install mypy python -m pip install mypy
python -m mypy "$(basename $GITHUB_REPOSITORY)" test ./run-mypy.sh
pytest3: pytest3:
name: Pytest Conda Py3 name: Pytest Conda Py3
......
...@@ -21,3 +21,6 @@ a.out ...@@ -21,3 +21,6 @@ a.out
.pytest_cache .pytest_cache
test/nodal-dg test/nodal-dg
.pylintrc.yml
.run-pylint.py
...@@ -96,7 +96,7 @@ Mypy: ...@@ -96,7 +96,7 @@ Mypy:
. ./ci-support-v0 . ./ci-support-v0
build_py_project_in_venv build_py_project_in_venv
python -m pip install mypy python -m pip install mypy
python -m mypy "$CI_PROJECT_NAME" test ./run-mypy.sh
tags: tags:
- python3 - python3
except: except:
......
#!/bin/bash
python -m mypy arraycontext/ examples/ test/
#!/bin/bash
set -o errexit -o nounset
ci_support="https://gitlab.tiker.net/inducer/ci-support/raw/main"
if [[ ! -f .pylintrc.yml ]]; then
curl -o .pylintrc.yml "${ci_support}/.pylintrc-default.yml"
fi
if [[ ! -f .run-pylint.py ]]; then
curl -L -o .run-pylint.py "${ci_support}/run-pylint.py"
fi
PYLINT_RUNNER_ARGS="--jobs=4 --yaml-rcfile=.pylintrc.yml"
if [[ -f .pylintrc-local.yml ]]; then
PYLINT_RUNNER_ARGS+=" --yaml-rcfile=.pylintrc-local.yml"
fi
python .run-pylint.py $PYLINT_RUNNER_ARGS $(basename $PWD) test/test_*.py examples "$@"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment