Skip to content

Commit

Permalink
Merge pull request #38 from NGSolve/uz/CI
Browse files Browse the repository at this point in the history
Fix CI
  • Loading branch information
UZerbinati authored May 28, 2024
2 parents acf4bc1 + 414a9f3 commit 843d6e4
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ngsPETSc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,6 @@ jobs:
run: |
. /home/firedrake/firedrake/bin/activate
cd $VIRTUAL_ENV/src/firedrake
pytest -v tests/regression/test_netgen.py
pytest -v tests/multigrid/test_netgen_gmg.py
pytest tests/regression/test_poisson_strong_bcs.py
pytest tests/multigrid/test_netgen_gmg.py
pytest tests/regression/test_netgen.py
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ else
PYLINT_FORMAT=
endif
lint:
pylint ${PYLINT_FORMAT} --disable=C0412,C0103,C0415,C0321,E0401,E1101,E0611,R1728,R1736,R0401,R0801,R0902,R1702,R0913,R0914,R0903,R0205,R0912,R0915,I1101,W0201,C0209 --variable-naming-style=camelCase --class-naming-style=PascalCase --argument-naming-style=camelCase --attr-naming-style=camelCase ngsPETSc
pylint ${PYLINT_FORMAT} --disable=C0412,C0103,C0415,C0321,C3001,E0401,E1101,E0611,R1728,R1736,R0401,R0801,R0902,R1702,R0913,R0914,R0903,R0205,R0912,R0915,I1101,W0201,W0406,W0212,C0209 --variable-naming-style=camelCase --class-naming-style=PascalCase --argument-naming-style=camelCase --attr-naming-style=camelCase ngsPETSc/utils
pylint ${PYLINT_FORMAT} --disable=C0412,C0103,C0415,C0321,E0401,E1101,E0611,R1728,R1736,R0401,R0801,R0902,R1702,R0913,R0914,R0903,R0205,R0912,R0915,I1101,W0201,W0212,C0209 --variable-naming-style=camelCase --class-naming-style=PascalCase --argument-naming-style=camelCase --attr-naming-style=camelCase ngsPETSc
pylint ${PYLINT_FORMAT} --disable=C0412,C0103,C0415,C0321,C3001,E0401,E1101,E0611,R1728,R1736,R0401,R0801,R0902,R1702,R0913,R0914,R0903,R0205,R0912,R0915,I1101,W0201,W0212,W0406,W0212,C0209 --variable-naming-style=camelCase --class-naming-style=PascalCase --argument-naming-style=camelCase --attr-naming-style=camelCase ngsPETSc/utils
lint_test:
pylint ${PYLINT_FORMAT} --disable=C0412,C0103,C0415,C0321,E0401,E1101,E0611,R1728,R1736,R0401,R0914,R0801,R0902,R1702,R0913,R0903,R0205,R0912,R0915,I1101,W0201,C0209 --variable-naming-style=camelCase --class-naming-style=PascalCase --argument-naming-style=camelCase --attr-naming-style=camelCase tests
test:
Expand Down
Empty file added ngsPETSc/utils/__init__.py
Empty file.
Empty file.
2 changes: 1 addition & 1 deletion ngsPETSc/utils/firedrake/meshes.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def refineMarkedElements(self, mark):
marked0 = marked
getIdx = self._cell_numbering.getOffset
if self.sfBCInv is not None:
getIdx = lambda x: x
getIdx = lambda x: x #pylint: disable=C3001
_, marked0 = self.topology_dm.distributeField(self.sfBCInv,
self._cell_numbering,
marked)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
packages=["ngsPETSc", "ngsPETSc.utils"],
packages=["ngsPETSc", "ngsPETSc.utils", "ngsPETSc.utils.firedrake"],
python_requires = ">=3.9",
install_requires=install_requires

Expand Down

0 comments on commit 843d6e4

Please sign in to comment.