Skip to content

Commit

Permalink
Rename logging.py to log_op.py
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 584635941
  • Loading branch information
isingoo authored and copybara-github committed Nov 22, 2023
1 parent a05f64a commit 2ac6dc4
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions nisaba/scripts/natural_translit/utils/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ py_library(
srcs = ["inventory2.py"],
deps = [
":list_op",
":logging",
":log_op",
":type_op",
"@org_opengrm_pynini//pynini",
],
Expand Down Expand Up @@ -118,20 +118,20 @@ py_library(
)

py_library(
name = "logging",
srcs = ["logging.py"],
name = "log_op",
srcs = ["log_op.py"],
deps = [
"@io_abseil_py//absl/logging",
"@org_opengrm_pynini//pynini",
],
)

py_test(
name = "logging_test",
srcs = ["logging_test.py"],
main = "logging_test.py",
name = "log_op_test",
srcs = ["log_op_test.py"],
main = "log_op_test.py",
deps = [
":logging",
":log_op",
":type_op",
"@io_abseil_py//absl/testing:absltest",
],
Expand All @@ -141,7 +141,7 @@ py_library(
name = "type_op",
srcs = ["type_op.py"],
deps = [
":logging",
":log_op",
"@org_opengrm_pynini//pynini",
],
)
Expand Down
2 changes: 1 addition & 1 deletion nisaba/scripts/natural_translit/utils/inventory2.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
to build or process the inventories currently scattered accross modules.
"""

from nisaba.scripts.natural_translit.utils import logging as log
from nisaba.scripts.natural_translit.utils import log_op as log
from nisaba.scripts.natural_translit.utils import type_op as ty


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import collections
from absl.testing import absltest
from nisaba.scripts.natural_translit.utils import logging as log
from nisaba.scripts.natural_translit.utils import log_op as log
from nisaba.scripts.natural_translit.utils import type_op as t

# Test objects
Expand Down
2 changes: 1 addition & 1 deletion nisaba/scripts/natural_translit/utils/type_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

from typing import Any, Dict, Iterable, List, Tuple, Union, Type
import pynini as pyn
from nisaba.scripts.natural_translit.utils import logging as log
from nisaba.scripts.natural_translit.utils import log_op as log

# Custom types

Expand Down

0 comments on commit 2ac6dc4

Please sign in to comment.