Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#278)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/psf/black: 23.12.1 → 24.2.0](psf/black@23.12.1...24.2.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Feb 29, 2024
1 parent 2b1377b commit 8c74937
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ci:

repos:
- repo: https://github.com/psf/black
rev: 23.12.1
rev: 24.2.0
hooks:
- id: black
args:
Expand Down
8 changes: 5 additions & 3 deletions app/api/crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,11 @@ async def get(
dataset_total_subjects=matching_dataset_sizes[
dataset_uuid
],
dataset_portal_uri=group["dataset_portal_uri"].iloc[0]
if group["dataset_portal_uri"].notna().all()
else None,
dataset_portal_uri=(
group["dataset_portal_uri"].iloc[0]
if group["dataset_portal_uri"].notna().all()
else None
),
num_matching_subjects=group["sub_id"].nunique(),
records_protected=util.RETURN_AGG.val,
subject_data=subject_data,
Expand Down
1 change: 1 addition & 0 deletions tests/test_utility.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Test utility functions."""

from app.api import utility as util


Expand Down

0 comments on commit 8c74937

Please sign in to comment.