diff --git a/pyproject.toml b/pyproject.toml index 4144553..8060c3b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,6 +49,9 @@ tox-poetry = "^0.4.1" [tool.poetry.scripts] mcstatus = 'mcstatus.scripts.mcstatus:cli' +[tool.black] +line-length = 127 + [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" diff --git a/tox.ini b/tox.ini index 48dcd5d..57ba735 100644 --- a/tox.ini +++ b/tox.ini @@ -12,11 +12,11 @@ commands = [testenv:format] commands = - black -l 127 ./mcstatus + black ./mcstatus [testenv:format-check] commands = - black --check -l 127 ./mcstatus + black --check ./mcstatus [testenv:lint] platform = linux|darwin