diff --git a/.prospector.yaml b/.prospector.yaml new file mode 100644 index 00000000..f72356d1 --- /dev/null +++ b/.prospector.yaml @@ -0,0 +1,27 @@ +pep257: + disable: + - D203 + - D212 + - D213 + - D214 + - D215 + - D404 + - D405 + - D406 + - D407 + - D408 + - D409 + - D410 + - D411 + - D413 + - D415 + - D416 + - D417 + +pylint: + disable: + # Disable unnecessary else after return as it complains when returning in an else statement + # which is often more readable + - no-else-return + - too-many-arguments + - too-many-locals \ No newline at end of file diff --git a/nlmod/read/rws.py b/nlmod/read/rws.py index 4c7be577..45560240 100644 --- a/nlmod/read/rws.py +++ b/nlmod/read/rws.py @@ -3,15 +3,10 @@ import logging import os -import warnings - import geopandas as gpd import nlmod -import numpy as np import datetime as dt -import pandas as pd import xarray as xr -from flopy.utils import GridIntersect from .. import mdims, util