Add black to CI/CD #1

Merged
pavel merged 2 commits from test_black_ci into master 2021-09-12 10:09:57 +00:00
2 changed files with 9 additions and 0 deletions
Showing only changes of commit ed5bc39beb - Show all commits

View File

@@ -12,3 +12,8 @@ steps:
image: python:3.9-slim
commands:
- python test.py
- name: black
image: pyfound/black:21.7b0
commands:
- black --check --diff --quiet .

View File

@@ -4,3 +4,7 @@ requires = [
"wheel"
]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 79
target-version = ["py38"]