Skip to content

Commit 564f8f6

Browse files
author
rootware
committed
added sonar python version
1 parent 623ae15 commit 564f8f6

File tree

5 files changed

+14
-1
lines changed

5 files changed

+14
-1
lines changed

sonar-project.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ sonar.projectKey=brootware_PyRedactKit
22
sonar.organization=brootware
33

44
sonar.python.coverage.reportPaths=coverage.xml
5+
sonar.python.version=3
56
# This is the name and version displayed in the SonarCloud UI.
67
#sonar.projectName=PyRedactKit
78
#sonar.projectVersion=1.0

tests/test_pyredactkit.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
from click.testing import CliRunner
2+
import pyredactkit.pyredactkit as pyredactcli
3+
4+
5+
# def test_arg_helper_runs():
6+
# runner = CliRunner()
7+
# result = runner.invoke(
8+
# pyredactcli.main,
9+
# [
10+
# "",
11+
# ],
12+
# )
13+
# assert result.exit_code == 0
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import pytest
2-
import os
32
from pyredactkit.redact import Redactor
43

54
data = """John, please get that article on www.linkedin.com to me by 5:00PM on Jan 9th 2012. 4:00 would be ideal, actually. If you have any questions, You can reach me at(519)-236-2723 or get in touch with my associate at [email protected]

0 commit comments

Comments
 (0)