You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by bo...@apache.org on 2023/01/19 20:50:37 UTC
[streampipes] 01/03: chore(linting, docs): add blacken-docs to dev dependencies
This is an automated email from the ASF dual-hosted git repository.
bossenti pushed a commit to branch chore/introduce-messaging-endpoint
in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit 92ff4b2d87b89126e1fd904f33718acfa7232f36
Author: bossenti <bo...@posteo.de>
AuthorDate: Thu Jan 19 21:33:16 2023 +0100
chore(linting, docs): add blacken-docs to dev dependencies
Signed-off-by: bossenti <bo...@posteo.de>
---
streampipes-client-python/.pre-commit-config.yaml | 7 +++++++
streampipes-client-python/setup.py | 1 +
2 files changed, 8 insertions(+)
diff --git a/streampipes-client-python/.pre-commit-config.yaml b/streampipes-client-python/.pre-commit-config.yaml
index ecc2aec76..d554ad2cc 100644
--- a/streampipes-client-python/.pre-commit-config.yaml
+++ b/streampipes-client-python/.pre-commit-config.yaml
@@ -63,6 +63,13 @@ repos:
entry: black --line-length=120
verbose: true
+ - id: blacken-docks
+ name: blacken-docs
+ language: python
+ types: [ python ]
+ entry: black --line-length=120
+ verbose: true
+
- id: mypy
name: mypy
language: python
diff --git a/streampipes-client-python/setup.py b/streampipes-client-python/setup.py
index 5fd1ff972..d3f3f742d 100644
--- a/streampipes-client-python/setup.py
+++ b/streampipes-client-python/setup.py
@@ -40,6 +40,7 @@ base_packages = [
dev_packages = base_packages + [
"autoflake==2.0.0",
"black==22.12.0",
+ "blacken-docs==1.12.1",
"flake8==6.0.0",
"interrogate==1.5.0",
"isort==5.11.4",