Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
JonZeolla committed Apr 23, 2024
1 parent ce2f78a commit a92fb21
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ To get started with contributing to this project, you first want to ensure that
First, ensure you have the `task` binary available in your `PATH`. To download `task`, [click here](https://taskfile.dev/).
You'll also need `docker`, `git`, `pipenv`, and `python3` installed locally, and have the `docker` daemon running. Then run `task init` to initialize the repository.

If you'd like to [run the test suite](#running-the-tests), you will also need `grype` downloaded and in your `PATH`.
If you'd like to run the test suite, you will also need `grype` downloaded and in your `PATH`.

If you'd like to [generate an SBOM](#generating-the-sboms), you will also need `syft` downloaded and in your `PATH`.
If you'd like to generate an SBOM, you will also need `syft` downloaded and in your `PATH`.

### Building the images

Expand Down
1 change: 1 addition & 0 deletions easy_infra/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
easy_infra init
"""

__maintainer__ = "Seiso"
__copyright__ = "(c) 2022 Seiso, LLC"
__project_name__ = "easy_infra"
Expand Down
6 changes: 3 additions & 3 deletions easy_infra/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,9 @@ def get_github_actions_matrix(
testing: bool = False,
) -> str:
"""Return a matrix of tool/environments or tool/environments/users for use in the github actions pipeline"""
tools_and_environments: dict[
str, dict[str, list[str]]
] = gather_tools_and_environments(tool=tool, environment=environment)
tools_and_environments: dict[str, dict[str, list[str]]] = (
gather_tools_and_environments(tool=tool, environment=environment)
)
if testing:
users: list[str] = gather_users(user=user)

Expand Down
12 changes: 6 additions & 6 deletions tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ def test_version_arguments(

num_tests_ran: int = 0

tools_to_environments: dict[
str, dict[str, list[str]]
] = utils.gather_tools_and_environments(tool=tool, environment=environment)
tools_to_environments: dict[str, dict[str, list[str]]] = (
utils.gather_tools_and_environments(tool=tool, environment=environment)
)

# Find the package name for the provided tool
package_for_tool: str = utils.get_package_name(tool=tool)
Expand Down Expand Up @@ -819,9 +819,9 @@ def run_unified_terraform_opentofu(

# Setup the cloning
learning_mode_and_clone_environment["VCS_DOMAIN"] = "github.com"
learning_mode_and_clone_environment[
"CLONE_REPOSITORIES"
] = "seisollc/easy_infra,seisollc/easy_infra"
learning_mode_and_clone_environment["CLONE_REPOSITORIES"] = (
"seisollc/easy_infra,seisollc/easy_infra"
)
learning_mode_and_clone_environment["CLONE_PROTOCOL"] = "https"

# Purposefully missing volumes= because we are using clone to do it
Expand Down

0 comments on commit a92fb21

Please sign in to comment.