Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and lwasser committed Aug 20, 2024
1 parent b1828b2 commit 89f3dc2
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pyosmeta/cli/parse_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import pickle

import git

from pyosmeta.file_io import open_yml_file


Expand Down
1 change: 1 addition & 0 deletions src/pyosmeta/cli/update_contributors.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from datetime import datetime

from pydantic import ValidationError

from pyosmeta.contributors import ProcessContributors
from pyosmeta.file_io import create_paths, load_pickle, open_yml_file
from pyosmeta.github_api import GitHubAPI
Expand Down
1 change: 1 addition & 0 deletions src/pyosmeta/cli/update_review_teams.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
from datetime import datetime

from pydantic import ValidationError

from pyosmeta.contributors import ProcessContributors
from pyosmeta.file_io import clean_export_yml, load_pickle
from pyosmeta.github_api import GitHubAPI
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from typing import Callable, Literal, Optional, Union, overload

import pytest

from pyosmeta.contributors import ProcessContributors
from pyosmeta.github_api import GitHubAPI
from pyosmeta.models.github import Issue
Expand Down
1 change: 1 addition & 0 deletions tests/integration/test_parse_issues.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Test parse issues workflow"""

import pytest

from pyosmeta.models import ReviewUser
from pyosmeta.models.github import Labels

Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_contributors_module.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from unittest.mock import Mock, patch

import pytest

from pyosmeta.contributors import ProcessContributors
from pyosmeta.github_api import GitHubAPI

Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_file_io.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import pickle

import pytest

from pyosmeta.file_io import _list_to_dict, create_paths, load_pickle


Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_get_contrib_data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import pytest
from pydantic import ValidationError

from pyosmeta.models.github import Issue

sample_response = {
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_github_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import secrets

import pytest

from pyosmeta import github_api
from pyosmeta.github_api import GitHubAPI

Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_parse_categories.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import pytest

from pyosmeta.models import ReviewModel

checked = [
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_parse_issue_header_methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"""

import pytest

from pyosmeta.parse_issues import KEYED_STRING


Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_utils_clean.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Tests for the clean helper functions located in the utils_clean module."""

import pytest

from pyosmeta.utils_clean import (
clean_date,
clean_date_accepted_key,
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_utils_parse.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Tests for parse helper functions located in utils_parse module."""

import pytest

from pyosmeta.models import ReviewUser
from pyosmeta.utils_parse import parse_user_names

Expand Down

0 comments on commit 89f3dc2

Please sign in to comment.