diff --git a/pyproject.toml b/pyproject.toml index 998cb8c..c6a2d68 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -106,6 +106,7 @@ ignore = [ "N803", # invalid-argument-name "N806", # non-lowercase-variable-in-function "PLC0415", # import-outside-top-level + "PLC2801", # unnecessary-dunder-call "PLR0912", # too-many-branches "PLR0913", # too-many-arguments "PLR0914", # too-many-locals @@ -115,6 +116,7 @@ ignore = [ "S101", # assert "S102", # exec-builtin "S301", # suspicious-pickle-usage + "S403", # suspicious-pickle-import "SIM108", # use-ternary-operator "UP037", # quoted-annotation ] diff --git a/requirements-dev.txt b/requirements-dev.txt index 2f97ea6..f2d9a84 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,8 +4,22 @@ # # pip-compile --extra=dev --extra=pyweno --extra=vis --output-file=requirements-dev.txt --strip-extras pyproject.toml # +binaryornot==0.4.4 + # via reuse +boolean-py==4.0 + # via + # license-expression + # reuse build==1.0.3 - # via pip-tools + # via + # check-manifest + # pip-tools +chardet==5.2.0 + # via + # binaryornot + # python-debian +check-manifest==0.49 + # via pyshocks (pyproject.toml) click==8.1.7 # via pip-tools codespell==2.2.6 @@ -20,7 +34,7 @@ docutils==0.20.1 # via # doc8 # restructuredtext-lint -fonttools==4.47.0 +fonttools==4.47.2 # via matplotlib iniconfig==2.0.0 # via pytest @@ -28,17 +42,23 @@ jax==0.4.23 # via pyshocks (pyproject.toml) jaxlib==0.4.23 # via pyshocks (pyproject.toml) +jinja2==3.1.3 + # via reuse kiwisolver==1.4.5 # via matplotlib +license-expression==30.2.0 + # via reuse markdown-it-py==3.0.0 # via rich +markupsafe==2.1.3 + # via jinja2 matplotlib==3.8.2 # via # pyshocks (pyproject.toml) # scienceplots mdurl==0.1.2 # via markdown-it-py -ml-dtypes==0.3.1 +ml-dtypes==0.3.2 # via # jax # jaxlib @@ -76,15 +96,13 @@ pip-tools==7.3.0 # via pyshocks (pyproject.toml) pluggy==1.3.0 # via pytest -polib==1.2.0 - # via sphinx-lint pygments==2.17.2 # via # doc8 # rich pyparsing==3.1.1 # via matplotlib -pyproject-fmt==1.5.3 +pyproject-fmt==1.6.0 # via pyshocks (pyproject.toml) pyproject-hooks==1.0.0 # via build @@ -92,15 +110,17 @@ pytest==7.4.4 # via pyshocks (pyproject.toml) python-dateutil==2.8.2 # via matplotlib +python-debian==0.1.49 + # via reuse pyweno @ git+https://github.com/memmett/PyWENO.git # via pyshocks (pyproject.toml) -regex==2023.12.25 - # via sphinx-lint restructuredtext-lint==1.4.0 # via doc8 +reuse==2.1.0 + # via pyshocks (pyproject.toml) rich==13.7.0 # via pyshocks (pyproject.toml) -ruff==0.1.11 +ruff==0.1.12 # via pyshocks (pyproject.toml) scienceplots==2.1.1 # via pyshocks (pyproject.toml) @@ -110,8 +130,6 @@ scipy==1.11.4 # jaxlib six==1.16.0 # via python-dateutil -sphinx-lint==0.9.1 - # via pyshocks (pyproject.toml) stevedore==5.1.0 # via doc8 sympy==1.12 diff --git a/requirements.txt b/requirements.txt index 8514abd..5ef4ad3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,7 +12,7 @@ markdown-it-py==3.0.0 # via rich mdurl==0.1.2 # via markdown-it-py -ml-dtypes==0.3.1 +ml-dtypes==0.3.2 # via # jax # jaxlib diff --git a/src/pyshocks/sbp.py b/src/pyshocks/sbp.py index 0d74ec6..79e43e4 100644 --- a/src/pyshocks/sbp.py +++ b/src/pyshocks/sbp.py @@ -120,7 +120,7 @@ @dataclass(frozen=True) class Stencil: #: Interior stencil, as an array of shape ``(n_i,)``. - int: Array # noqa: A003 + int: Array #: Left boundary stencil, as an array of shape ``(n_l, m_l)``. left: Array | None #: Left boundary stencil, as an array of shape ``(n_r, m_r)``. If not