diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8791122..8405182 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -54,7 +54,7 @@ repos: - id: add-trailing-comma - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.22 + rev: v0.16.0 hooks: - id: ruff args: ["--fix", "--show-fixes"] @@ -77,12 +77,12 @@ repos: - id: nb-strip-paths - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.25.3 + rev: v2.26.0 hooks: - id: pyproject-fmt - repo: https://github.com/woodruffw/zizmor-pre-commit - rev: v1.27.0 + rev: v1.28.0 hooks: - id: zizmor diff --git a/erddapy/core/url.py b/erddapy/core/url.py index 60219e0..5454f35 100644 --- a/erddapy/core/url.py +++ b/erddapy/core/url.py @@ -274,7 +274,7 @@ def parse_dates( return parse_date_time.timestamp() -def get_search_url( # noqa: PLR0913 +def get_search_url( # noqa: PLR0913, PLR0917 server: str, response: str = "html", search_for: str | None = None, diff --git a/ruff.toml b/ruff.toml index fdf2c6d..68c351c 100644 --- a/ruff.toml +++ b/ruff.toml @@ -5,6 +5,7 @@ lint.select = ["ALL"] lint.ignore = [ "ANN401", # Dynamically typed expressions (typing.Any) are disallowed in `**kwargs` "COM812", # missing-trailing-comma + "CPY001", # Missing copyright notice at top of file "D203", # 1 blank line required before class docstring "D205", # 1 blank line required between summary line and description "D213", # incompatible. Ignoring `multi-line-summary-second-line`