Skip to content

Commit

Permalink
Merge pull request #28 from CrowdJustice/fix-black
Browse files Browse the repository at this point in the history
Remove hardcode black line length
  • Loading branch information
philipdouglas authored May 4, 2022
2 parents e6a8a8e + 2279a57 commit 21a212c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions legl_dev/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def run(self) -> None:
check=True,
)
typer.secho(f"✅ Command successful!", fg=typer.colors.GREEN)
except CalledProcessError:
typer.secho(f"⚠️ Command exited without a none 0 exit!", fg=typer.colors.YELLOW)
except CalledProcessError as e:
typer.secho(f"⚠️ Command exited with code {e.returncode}!", fg=typer.colors.YELLOW)


class Steps:
Expand Down
4 changes: 2 additions & 2 deletions legl_dev/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ def format(

steps = Steps(
steps=[
Command(command=(f"isort . --profile black --line-length 99")),
Command(command=(f"black . --line-length 99")),
Command(command=(f"isort . --profile black")),
Command(command=(f"black .")),
Command(command=("yarn format:prettier")),
]
)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
from setuptools import setup

version = "1.2.2"
version = "1.2.3"

packages = ["legl_dev"]

Expand Down

0 comments on commit 21a212c

Please sign in to comment.