Skip to content
Open
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 docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ migration-lint --loader=local_git --extractor=<your extractor>
```

It will examine files in current repository that are added or modified
and not yet commited.
and not yet committed.

### GitLab

Expand Down
2 changes: 1 addition & 1 deletion migration_lint/analyzer/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def lint(
migration_sql: str,
changed_files: List[ExtendedSourceDiff],
) -> List[str]:
"""Perform SQL migartion linting."""
"""Perform SQL migration linting."""

raise NotImplementedError()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def add_arguments(self, parser):
dest="gitlab_instance",
type=str,
default=os.getenv("CI_SERVER_URL"),
help="GitLab instance instance (protocol://host:port)",
help="GitLab instance (protocol://host:port)",
)
parser.add_argument(
"--project-id",
Expand Down
2 changes: 1 addition & 1 deletion migration_lint/extractor/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def __new__(
# Not the base class.
if not hasattr(cls, "NAME"):
raise NotImplementedError(
f"extractor {cls.__name__} doesn't provie name",
f"extractor {cls.__name__} doesn't provide name",
)

mcls.extractors[cls.NAME] = cls
Expand Down
2 changes: 1 addition & 1 deletion migration_lint/extractor/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Migration:

@dataclass
class ExtendedSourceDiff(SourceDiff):
"""An object desribing a single changed file.
"""An object describing a single changed file.

- `path` -- the path to the file;
- `old_path` -- the previous path to the file; differs from `path` if the
Expand Down
2 changes: 1 addition & 1 deletion migration_lint/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
)
@click.option(
"--gitlab-instance",
help="GitLab instance instance (protocol://host:port)",
help="GitLab instance (protocol://host:port)",
default=os.getenv("CI_SERVER_URL"),
)
@click.option(
Expand Down
Loading