Lines Matching +full:petsc4py +full:- +full:install
8 New contributions to petsc4py **must** adhere with the coding standards.
9 We use cython-lint_ for Cython and ruff_ for Python source codes.
12 $ python -m pip install -r src/binding/petsc4py/conf/requirements-lint.txt
16 $ make cython-lint -C src/binding/petsc4py
20 $ make ruff-lint -C src/binding/petsc4py
22 Python code can be auto-formatted using::
24 $ make ruff-lint RUFF_OPTS='format' -C src/binding/petsc4py
26 New contributions to petsc4py must be tested.
27 Tests are located in the :file:`src/binding/petsc4py/test` folder.
29 pre-existing file according to the
35 $ cd src/binding/petsc4py
36 $ python test/runtests.py -k test_xxx
42 $ python test/runtests.py -k test_xxx.class_name.method_name
47 $ make html SPHINXOPTS='-W' -C src/binding/petsc4py/docs/source
53 .. _cython-lint: https://github.com/MarcoGorelli/cython-lint