Test adding black to CI/CD
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

This commit is contained in:
pavel committed 2021-09-12 11:52:27 +02:00
1 parent e2333b8916
commit ed5bc39beb
2 files changed
+9

No files matched your search

+5
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 .
+4
View File
@@ -4,3 +4,7 @@ requires = [
"wheel"
]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 79
target-version = ["py38"]