Skip to content

Commit

Permalink
Move black setting into pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed Jul 20, 2022
1 parent 7f501ae commit 3e9891e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion code_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def status(line):
cmd("isort temba")

status("Running black")
cmd("black --line-length=119 temba")
cmd("black temba")

if not args.skip_flake:
status("Running flake8")
Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ codecov = "^2.1.11"
responses = "^0.12.1"
beautifulsoup4 = "^4.9.3"

[tool.black]
line-length = 119

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

0 comments on commit 3e9891e

Please sign in to comment.