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

fix(ci): Update for the new linters #222

Merged
merged 25 commits into from
Nov 18, 2022
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ similar:
alias terraform="docker run -v $(pwd):/iac seiso/easy_infra terraform"
```

This will allow you to run simple `terraform` commands at the command line, which will run transparently in easy_infra:
This will allow you to run simple `terraform` commands at the command-line, which will run transparently in easy_infra:

```bash
terraform validate
Expand Down
1 change: 1 addition & 0 deletions easy_infra/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from typing import Union

import git

from easy_infra import __project_name__, __version__, utils

CONFIG_FILE = Path(f"{__project_name__}.yml").absolute()
Expand Down
3 changes: 2 additions & 1 deletion easy_infra/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
import docker
import git
import requests
from easy_infra import __version__, constants
from jinja2 import Environment, FileSystemLoader
from yaml import YAMLError, dump, safe_load

from easy_infra import __version__, constants

LOG = getLogger(__name__)
CLIENT = docker.from_env()

Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[tool.isort]
profile = "black"
src_paths = ["easy_infra", "hooks", "tests"]
3 changes: 2 additions & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@

import docker
from bumpversion.cli import main as bumpversion
from easy_infra import __project_name__, __version__, constants, utils
from invoke import task

from easy_infra import __project_name__, __version__, constants, utils
from tests import test as run_test

if platform.machine() == "arm64":
Expand Down
1 change: 1 addition & 0 deletions tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from typing import Union

import docker

from easy_infra import constants, utils

# Globals
Expand Down