Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add yaml file types for linting and validation #391

Merged
merged 2 commits into from
Sep 20, 2023
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
2 changes: 1 addition & 1 deletion komodo/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
)
from komodo.shebang import fixup_python_shebangs
from komodo.shell import pushd, shell
from komodo.yaml_file_type import YamlFile
from komodo.yaml_file_types import YamlFile


def create_enable_scripts(komodo_prefix: str, komodo_release: str) -> None:
Expand Down
2 changes: 1 addition & 1 deletion komodo/fetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
strip_version,
)
from komodo.shell import pushd, shell
from komodo.yaml_file_type import YamlFile
from komodo.yaml_file_types import YamlFile


def eprint(*args, **kwargs):
Expand Down
2 changes: 1 addition & 1 deletion komodo/lint_package_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import argparse

from komodo.yaml_file_type import YamlFile
from komodo.yaml_file_types import YamlFile

VALID_VISIBILITY = ["public", "private"]
VALID_IMPORTANCE = ["low", "medium", "high"]
Expand Down
2 changes: 1 addition & 1 deletion komodo/show_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import yaml

from komodo.yaml_file_type import ManifestFile
from komodo.yaml_file_types import ManifestFile


def get_release() -> str:
Expand Down
2 changes: 1 addition & 1 deletion komodo/snyk_reporting.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from snyk.managers import OrganizationManager
from snyk.models import Vulnerability

from komodo.yaml_file_type import ReleaseDir, ReleaseFile, YamlFile
from komodo.yaml_file_types import ReleaseDir, ReleaseFile, YamlFile

_CONSOLE_VULNERABILITY_FORMAT = """\t{id}
\t\tPackage: {package}
Expand Down
53 changes: 0 additions & 53 deletions komodo/yaml_file_type.py

This file was deleted.

Loading