• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

barseghyanartur / faker-file / 3906232596

pending completion
3906232596

push

github

Artur Barseghyan
Mention ODT file support in documentation. Add tests. Add ODT file to AugmentFileFromDir provider.

1022 of 1024 relevant lines covered (99.8%)

6.46 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/faker_file/providers/augment_file_from_dir/augmenters/base.py
1
__author__ = "Artur Barseghyan <artur.barseghyan@gmail.com>"
4✔
2
__copyright__ = "2022-2023 Artur Barseghyan"
4✔
3
__license__ = "MIT"
4✔
4
__all__ = ("BaseTextAugmenter",)
4✔
5

6

7
class BaseTextAugmenter:
4✔
8
    """Base text augmenter."""
9

10
    def __init__(
4✔
11
        self: "BaseTextAugmenter",
12
        **kwargs,
13
    ) -> None:
14
        """Constructor.
15

16
        :param kwargs: Dictionary with parameters (for text extractor
17
            specific tuning).
18
        """
19
        self.handle_kwargs(**kwargs)
4✔
20

21
    def handle_kwargs(self: "BaseTextAugmenter", **kwargs):
4✔
22
        """Handle kwargs."""
23

24
    def augment(
4✔
25
        self: "BaseTextAugmenter",
26
        text: str,
27
    ) -> str:
28
        raise NotImplementedError("Method `augment` is not implemented.")
4✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc