semvec/pypi-packages huggingface dataset:
not-covered-lines 0.0.2
Finds a python-thing, like a class, a function or a variable by string and loads it
License: Apache2
Requires Python: >=3

not_covered_lines
=================

This module takes a path to a directory, where previously 
`coverage.py` was executed and thus now has the file `.coverage`
in it, which it reads. It outputs a list of missing lines in 
the form `[(filename, line_number)]`


## Usage Example

See `usage_example.py` as an example:
```
$ python3 usage_example.py example.coverage
```
Note: normally it is just `.coverage` but this file is used for testing 
and as long as it ends with `.coverge` the path is fine

Obviously you want to use this as library, not as script.
gerrit-review-robot 0.0.7
A framework for writing bots, that review a code base and post the review together with comments to Gerrit.
License: Apache2
Requires Python: >=3

gerrit_review_robot
===================

A framework for writing bots, that review a code base and post 
the review together with comments to Gerrit. To write a bot, 
inherit `GerritReviewRobot`:

```python
class CheckStyle(GerritReviewRobot):
    # these two are optional: for documentation and the command-line
    name = "Check Style" 
    description = "Uses Flake8 to lint the current change"

    def _do_review(self, review):
        # pass self.diff_lines so that we do not have to analyze files that
        # are not part of the current change
        for error in self._find_linting_errors_in_files(self.diff_files)
            # only include lines in current diff
            if (error.file, error.line_number) in self.diff_lines:
                review.add_comment(
                    error.file, # relative path
                    (error.line_number, error.line_number), # from_line, to_line
                    error.message # message shown in the comment
                )

    def _find_linting_errors_in_files(self, files):
        pass # here comes the actual logic

```