Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pre-commit.ci] pre-commit autoupdate #216

Merged
merged 2 commits into from
Aug 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ repos:
# Linting and formatting for Python code (see pyproject.toml for config)
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.5.7
rev: v0.6.1
hooks:
# Run the linter.
- id: ruff
Expand Down
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
Loading