Skip to content
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
4 changes: 2 additions & 2 deletions dev_tools/check_forbidden_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import sys
from typing import TYPE_CHECKING

from dev_tools.build_file_parsing_util import find_rule_calls, rule_has_tag
from dev_tools.git_hook_utils import create_default_parser
from dev_tools.utils.build_file_parsing_utils import find_rule_calls, rule_has_tag
from dev_tools.utils.git_hook_utils import create_default_parser

if TYPE_CHECKING:
import argparse
Expand Down
2 changes: 1 addition & 1 deletion dev_tools/check_jira_reference_in_todo.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import sys
from typing import TYPE_CHECKING

from dev_tools.git_hook_utils import parse_arguments
from dev_tools.utils.git_hook_utils import parse_arguments

if TYPE_CHECKING:
from collections.abc import Sequence
Expand Down
2 changes: 1 addition & 1 deletion dev_tools/check_load_statement.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import sys
from typing import TYPE_CHECKING

from dev_tools.git_hook_utils import create_default_parser
from dev_tools.utils.git_hook_utils import create_default_parser

if TYPE_CHECKING:
import argparse
Expand Down
2 changes: 1 addition & 1 deletion dev_tools/check_max_one_sentence_per_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import regex

from dev_tools.git_hook_utils import parse_arguments
from dev_tools.utils.git_hook_utils import parse_arguments

if TYPE_CHECKING:
from collections.abc import Callable, Sequence
Expand Down
2 changes: 1 addition & 1 deletion dev_tools/check_number_of_lines_count.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import sys
from typing import TYPE_CHECKING

from dev_tools.git_hook_utils import create_default_parser
from dev_tools.utils.git_hook_utils import create_default_parser

if TYPE_CHECKING:
import argparse
Expand Down
2 changes: 1 addition & 1 deletion dev_tools/check_ownership.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
get_ownership_entries,
)

from dev_tools.git_hook_utils import create_default_parser
from dev_tools.utils.git_hook_utils import create_default_parser

if TYPE_CHECKING:
from argparse import Namespace
Expand Down
4 changes: 2 additions & 2 deletions dev_tools/check_rule_has_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import sys
from typing import TYPE_CHECKING

from dev_tools.build_file_parsing_util import find_rule_calls, rule_has_tag
from dev_tools.git_hook_utils import create_default_parser
from dev_tools.utils.build_file_parsing_utils import find_rule_calls, rule_has_tag
from dev_tools.utils.git_hook_utils import create_default_parser

if TYPE_CHECKING:
import argparse
Expand Down
2 changes: 1 addition & 1 deletion dev_tools/check_shellscript_set_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import sys
from typing import TYPE_CHECKING

from dev_tools.git_hook_utils import parse_arguments
from dev_tools.utils.git_hook_utils import parse_arguments

if TYPE_CHECKING:
from collections.abc import Sequence
Expand Down
2 changes: 1 addition & 1 deletion dev_tools/sync_tool_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from ruamel.yaml import YAML

from dev_tools.git_hook_utils import create_default_parser
from dev_tools.utils.git_hook_utils import create_default_parser

if TYPE_CHECKING:
import argparse
Expand Down
1 change: 1 addition & 0 deletions dev_tools/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Utility functions."""
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions tests/configure_vscode_for_bazel/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Tests for packages/configure_vscode_for_bazel."""
2 changes: 1 addition & 1 deletion tests/test_check_build_file_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import pytest

from dev_tools.pre_commit_utils import get_hook_by_id
from dev_tools.utils.pre_commit_utils import get_hook_by_id


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion tests/test_check_cpp_tests_pattern.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import pytest

from dev_tools.pre_commit_utils import get_hook_by_id
from dev_tools.utils.pre_commit_utils import get_hook_by_id


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion tests/test_check_readme_md_consistency.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import pytest

from dev_tools.pre_commit_utils import get_hook_by_id
from dev_tools.utils.pre_commit_utils import get_hook_by_id


@pytest.fixture
Expand Down
1 change: 1 addition & 0 deletions tests/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Tests for utils."""
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import pytest

from dev_tools.build_file_parsing_util import find_rule_calls, rule_has_tag
from dev_tools.utils.build_file_parsing_utils import find_rule_calls, rule_has_tag


@pytest.mark.parametrize(
Expand Down
1 change: 1 addition & 0 deletions tests/whoowns/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
"""Tests for packages/whoowns."""
File renamed without changes.
File renamed without changes.
Loading