diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e697aeb..6052b3f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ repos: rev: 24.8.0 hooks: - id: black - args: [-t, py39, -t, py310, -t, py311] + args: [-tpy39, -tpy310, -tpy311, -tpy312] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 @@ -41,7 +41,7 @@ repos: - id: python-use-type-annotations - repo: https://github.com/pycqa/pylint - rev: v3.2.6 + rev: v3.3.0 hooks: - id: pylint language: system @@ -79,7 +79,7 @@ repos: args: [--float-to-top] - id: nbqa-black additional_dependencies: [black==24.8.0] - args: [-t=py39, -t=py310, -t=py311] + args: [-tpy39, -tpy310, -tpy311, -tpy312] - id: nbqa-flake8 additional_dependencies: [flake8==7.1.1] diff --git a/pyproject.toml b/pyproject.toml index 925aa24..7fbffc2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -90,7 +90,7 @@ Tracker = "https://github.com/pennsignals/dsdk/issues" [tool.black] line-length = 79 -target-version = ["py39","py310","py311"] +target-version = ["py39","py310","py311","py312"] [tool.coverage.report] exclude_lines = [ diff --git a/src/dsdk/flowsheet.py b/src/dsdk/flowsheet.py index c32e8df..860132c 100644 --- a/src/dsdk/flowsheet.py +++ b/src/dsdk/flowsheet.py @@ -320,7 +320,8 @@ def on_rest( "Should not get here with raise_for_status and a status of 400." ) - def test( # pylint: disable=too-many-arguments + # pylint: disable=too-many-arguments,too-many-positional-arguments + def test( self, # csn=278820881, csn=218202909, # inpatient admission date is 2019-02-06 at PAH