Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Lubken committed Sep 23, 2024
1 parent adf7ac0 commit e65347b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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]

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
3 changes: 2 additions & 1 deletion src/dsdk/flowsheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e65347b

Please sign in to comment.