Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arraycontext
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexandru Fikl
arraycontext
Commits
9cd13dbb
Unverified
Commit
9cd13dbb
authored
3 years ago
by
Kaushik Kulkarni
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Plain Diff
Merge branch 'main' into pytato
parents
3e7e3d14
634f4add
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.github/workflows/ci.yml
+1
-1
1 addition, 1 deletion
.github/workflows/ci.yml
.gitignore
+3
-0
3 additions, 0 deletions
.gitignore
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
run-mypy.sh
+3
-0
3 additions, 0 deletions
run-mypy.sh
run-pylint.sh
+23
-0
23 additions, 0 deletions
run-pylint.sh
with
31 additions
and
2 deletions
.github/workflows/ci.yml
+
1
−
1
View file @
9cd13dbb
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
.gitignore
+
3
−
0
View file @
9cd13dbb
...
@@ -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
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
1
−
1
View file @
9cd13dbb
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
run-mypy.sh
0 → 100755
+
3
−
0
View file @
9cd13dbb
#!/bin/bash
python
-m
mypy arraycontext/ examples/
test
/
This diff is collapsed.
Click to expand it.
run-pylint.sh
0 → 100755
+
23
−
0
View file @
9cd13dbb
#!/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
"
$@
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment