File tree Expand file tree Collapse file tree 5 files changed +11
-6
lines changed
Expand file tree Collapse file tree 5 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1212from emsarray .conventions import DimensionConvention , Specificity
1313from emsarray .masking import blur_mask
1414from emsarray .types import Pathish
15+
1516# <
1617
1718
Original file line number Diff line number Diff line change 33import logging
44import pathlib
55
6- import emsarray
76import xarray
7+ from shapely .geometry .base import BaseGeometry
8+
9+ import emsarray
810from emsarray .cli import console_entrypoint
911from emsarray .cli .utils import geometry_argument
10- from shapely .geometry .base import BaseGeometry
1112
1213# Log progress messages using `logger.info(...)`,
1314# debug messages using `logger.debug(...)`,
Original file line number Diff line number Diff line change 1- import emsarray
21import shapely
3- from emsarray import plot , transect
42from matplotlib import pyplot
53
4+ import emsarray
5+ from emsarray import plot , transect
6+
67dataset_url = 'https://thredds.nci.org.au/thredds/dodsC/fx3/model_data/gbr4_bgc_GBR4_H2p0_B2p0_Chyd_Dcrt.ncml'
78dataset = emsarray .open_dataset (dataset_url ).isel (time = - 1 )
89dataset = dataset .ems .select_variables (['botz' , 'temp' ])
Original file line number Diff line number Diff line change @@ -28,3 +28,5 @@ Next release (in development)
2828* Bump minimum versions of dependencies, update pinned dependencies for CI.
2929 Officially support numpy version 2.0.0
3030 (:pr: `137 `).
31+ * Lint Python code in `docs/ ` and `scripts/ `
32+ (:pr: `141 `).
Original file line number Diff line number Diff line change @@ -40,8 +40,8 @@ setenv =
4040description = " Run the lint checkers"
4141extras = testing
4242commands =
43- isort --diff --check-only src/ tests/
44- flake8 src/ tests/
43+ isort --diff --check-only src/ tests/ scripts/ docs/
44+ flake8 src/ tests/ scripts/ docs/
4545 mypy --junit-xml report-mypy.xml src/
4646
4747[testenv:docs]
You can’t perform that action at this time.
0 commit comments