Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -472,13 +472,17 @@ jobs:
- uses: actions/checkout@v5
with:
ref: ${{ inputs.source_ref }}

- uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Setup flake8 annotations
uses: rbialon/flake8-annotations@v1

- name: Install linting packages
run: pip install flake8 pylint
run: pip install flake8 pylint isort

- name: Lint codebase
run: make lint GITHUB_ACTIONS_FORMATTING=1

Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ srclint:
@python -m flake8 $(FLAKE8_FORMAT) pyop2/scripts --filename=*
@echo " Linting TSFC"
@python -m flake8 $(FLAKE8_FORMAT) tsfc
@echo " Linting imports using isort"
@python -m isort . --check --diff

.PHONY: actionlint
actionlint:
Expand Down
4 changes: 3 additions & 1 deletion firedrake/__future__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
from firedrake.interpolation import interpolate as interpolate_default, Interpolator as Interpolator_default
import warnings

from firedrake.interpolation import Interpolator as Interpolator_default
from firedrake.interpolation import interpolate as interpolate_default


def interpolate(expr, V, *args, **kwargs):
warnings.warn("""The symbolic `interpolate` has been moved into `firedrake`
Expand Down
Loading
Loading