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/08/07 17:20:33 UTC

[streampipes] 06/12: chore: fix interrogate setup

This is an automated email from the ASF dual-hosted git repository.

bossenti pushed a commit to branch exp/poetry
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit 32c912afeb4cc51333fae11a1942fc817d5bb702
Author: bossenti <bo...@posteo.de>
AuthorDate: Tue Aug 1 19:10:40 2023 +0200

    chore: fix interrogate setup
    
    Signed-off-by: bossenti <bo...@posteo.de>
---
 streampipes-client-python/.pre-commit-config.yaml        | 2 +-
 streampipes-client-python/Makefile                       | 2 +-
 streampipes-client-python/docs/img/interrogate_badge.svg | 8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/streampipes-client-python/.pre-commit-config.yaml b/streampipes-client-python/.pre-commit-config.yaml
index d8eb17bf7..2fad19e78 100644
--- a/streampipes-client-python/.pre-commit-config.yaml
+++ b/streampipes-client-python/.pre-commit-config.yaml
@@ -40,7 +40,7 @@ repos:
         name: interrogate
         language: python
         types: [ python ]
-        entry:  interrogate -vv --fail-under 100 --omit-covered-files --ignore-init-method --ignore-module --ignore-magic --ignore-regex test_* --ignore-regex Test* --ignore-regex conftest*
+        entry:  interrogate -vv --fail-under 100 --omit-covered-files --ignore-init-method --ignore-module --ignore-magic --ignore-regex test_* --ignore-regex Test*
 
       - id: pyupgrade
         name: pyupgrade
diff --git a/streampipes-client-python/Makefile b/streampipes-client-python/Makefile
index 23aef6fd9..6102d18f0 100644
--- a/streampipes-client-python/Makefile
+++ b/streampipes-client-python/Makefile
@@ -17,7 +17,7 @@
 
 .PHONY: check
 check: mypy lint unit-tests
-	interrogate -vv --fail-under 100 --omit-covered-files --ignore-init-method --ignore-module --ignore-magic --ignore-regex test_* --ignore-regex Test*  --ignore-regex conftest.* --generate-badge ./docs/img --badge-format svg --badge-style flat
+	interrogate -vv --fail-under 100 --omit-covered-files --ignore-init-method --ignore-module --ignore-magic --ignore-regex test_* --ignore-regex Test* --generate-badge ./docs/img --badge-format svg --badge-style flat
 
 .PHONY: doc
 doc:
diff --git a/streampipes-client-python/docs/img/interrogate_badge.svg b/streampipes-client-python/docs/img/interrogate_badge.svg
index ea7a3fa7f..c4d5627de 100644
--- a/streampipes-client-python/docs/img/interrogate_badge.svg
+++ b/streampipes-client-python/docs/img/interrogate_badge.svg
@@ -1,5 +1,5 @@
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="140" height="20" role="img" aria-label="interrogate: 99.7%">
-    <title>interrogate: 99.7%</title>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="140" height="20" role="img" aria-label="interrogate: 100%">
+    <title>interrogate: 100%</title>
     <linearGradient id="s" x2="0" y2="100%">
         <stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
         <stop offset="1" stop-opacity=".1"/>
@@ -15,8 +15,8 @@
     <g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110">
         <text aria-hidden="true" x="590" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="610">interrogate</text>
         <text x="590" y="140" transform="scale(.1)" fill="#fff" textLength="610">interrogate</text>
-        <text aria-hidden="true" x="1160" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="370">99.7%</text>
-        <text x="1160" y="140" transform="scale(.1)" fill="#fff" textLength="370" data-interrogate="result">99.7%</text>
+        <text aria-hidden="true" x="1160" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="330">100%</text>
+        <text x="1160" y="140" transform="scale(.1)" fill="#fff" textLength="330" data-interrogate="result">100%</text>
     </g>
     <g id="logo-shadow" transform="matrix(0.854876,0,0,0.854876,-6.73514,1.732)">
         <g transform="matrix(0.299012,0,0,0.299012,9.70229,-6.68582)">