Skip to content

Commit cd0b167

Browse files
don-petryclaude
andauthored
feat: implement issue #1191 — SonarCloud: cognitive complexity (S3776) (#1194)
* feat: implement issue #1191 — SonarCloud: cognitive complexity (S3776) * fix(reviews): address review comments [skip ci-relay] * fix(bot): address bot feedback [skip ci-relay] * fix(deps): enforce hash-locked requirements for pytest dependencies - Create scripts/pytest-requirements.txt with SHA-256 hashes for pytest, pytest-cov, and transitive dependencies using pip-compile - Update feature-ideation-tests.yml to install via --require-hashes --only-binary :all: (satisfies SonarCloud S8541/S8543/S8544/S8545) - Remove accidental __pycache__/validate-signals.cpython-312.pyc from the commit and add Python cache patterns to .gitignore Fixes bats test: "every 'pip install' in a workflow is hash- and binary-locked" Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> * fix(test): use importlib to import validate-signals.py with hyphen in filename Python cannot import modules with hyphens in filenames using standard import statements. Use importlib.util.spec_from_file_location to dynamically load the validate-signals.py module and extract the _check_date_time function. Fixes: Graphite code review finding about ModuleNotFoundError Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> * fix(coverage): generate pytest coverage report in sonarcloud.yml The sonarcloud.yml workflow was running without generating the pytest coverage report specified in sonar-project.properties, resulting in 0% coverage on new code. Now we install pytest dependencies and generate the coverage.xml before the SonarCloud scan runs. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent f82c08b commit cd0b167

9 files changed

Lines changed: 318 additions & 24 deletions

File tree

‎.github/scripts/feature-ideation/validate-signals.py‎

Lines changed: 40 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,45 @@
2828
sys.exit(2)
2929

3030

31+
# `format` keywords (e.g. "format": "date-time") are not enforced by
32+
# Draft202012Validator unless an explicit FormatChecker is supplied. The
33+
# default FormatChecker also does NOT include `date-time` — that requires the
34+
# optional `rfc3339-validator` dependency. Avoid pulling in extra deps by
35+
# registering the small inline validator below on a module-level checker.
36+
# Caught by Copilot review on PR petry-projects/.github#85.
37+
FORMAT_CHECKER = FormatChecker()
38+
39+
40+
@FORMAT_CHECKER.checks("date-time", raises=(ValueError, TypeError))
41+
def _check_date_time(instance) -> bool: # noqa: ANN001 — jsonschema callback signature
42+
"""FormatChecker callback for the JSON-schema ``date-time`` format.
43+
44+
Accepts ISO-8601 / RFC-3339 strings via ``datetime.fromisoformat`` (Python
45+
3.11+ accepts the trailing ``Z``; for older interpreters we substitute it).
46+
RFC-3339 §5.6 also permits a lowercase ``t`` date/time separator and a
47+
lowercase ``z`` zone designator, so both cases are accepted. Raises
48+
``ValueError`` for strings that are not date-times; non-strings are left to
49+
the ``type`` keyword.
50+
"""
51+
if not isinstance(instance, str):
52+
return True # non-strings handled by `type` keyword, not format
53+
# Must look like a date-time, not just any string. Require at least
54+
# YYYY-MM-DDTHH:MM[:SS]. RFC-3339 permits a lowercase "t" separator.
55+
if not re.match(r"^\d{4}-\d{2}-\d{2}[Tt]\d{2}:\d{2}", instance):
56+
raise ValueError(f"not an ISO-8601 date-time: {instance!r}")
57+
# datetime.fromisoformat before Python 3.11 accepts neither a lowercase "t"
58+
# separator nor a "Z"/"z" zone designator, both of which RFC-3339 permits.
59+
# Normalize the separator to "T" and substitute the numeric UTC offset so
60+
# valid RFC-3339 timestamps validate on every interpreter.
61+
candidate = instance
62+
if len(candidate) > 10 and candidate[10] in ("t", "T"):
63+
candidate = f"{candidate[:10]}T{candidate[11:]}"
64+
if candidate[-1] in ("Z", "z"):
65+
candidate = f"{candidate[:-1]}+00:00"
66+
datetime.fromisoformat(candidate)
67+
return True
68+
69+
3170
def main(argv: list[str]) -> int:
3271
if len(argv) < 2 or len(argv) > 3:
3372
sys.stderr.write(
@@ -76,30 +115,7 @@ def main(argv: list[str]) -> int:
76115
sys.stderr.write(f"[validate-signals] invalid schema JSON: {exc}\n")
77116
return 2
78117

79-
# `format` keywords (e.g. "format": "date-time") are not enforced by
80-
# Draft202012Validator unless an explicit FormatChecker is supplied.
81-
# The default FormatChecker also does NOT include `date-time` — that
82-
# requires the optional `rfc3339-validator` dependency. Avoid pulling
83-
# in extra deps by registering a small inline validator that accepts
84-
# ISO-8601 / RFC-3339 strings via datetime.fromisoformat (Python 3.11+
85-
# accepts the trailing `Z`; for older interpreters we substitute it).
86-
# Caught by Copilot review on PR petry-projects/.github#85.
87-
format_checker = FormatChecker()
88-
89-
@format_checker.checks("date-time", raises=(ValueError, TypeError))
90-
def _check_date_time(instance) -> bool: # noqa: ANN001 — jsonschema callback signature
91-
if not isinstance(instance, str):
92-
return True # non-strings handled by `type` keyword, not format
93-
# Must look like a date-time, not just any string. Require at least
94-
# YYYY-MM-DDTHH:MM[:SS]
95-
if not re.match(r"^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}", instance):
96-
raise ValueError(f"not an ISO-8601 date-time: {instance!r}")
97-
# datetime.fromisoformat in Python <3.11 doesn't accept "Z"; swap it.
98-
candidate = instance.replace("Z", "+00:00") if instance.endswith("Z") else instance
99-
datetime.fromisoformat(candidate)
100-
return True
101-
102-
validator = Draft202012Validator(schema, format_checker=format_checker)
118+
validator = Draft202012Validator(schema, format_checker=FORMAT_CHECKER)
103119
errors = sorted(validator.iter_errors(signals), key=lambda e: list(e.absolute_path))
104120
if not errors:
105121
print(f"[validate-signals] OK: {signals_path}")

‎.github/workflows/feature-ideation-tests.yml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ jobs:
6464
- name: Install Python jsonschema and PyYAML
6565
run: 'pip install --quiet --require-hashes --only-binary :all: -r scripts/feature-ideation-tests-requirements.txt'
6666

67+
- name: Install pytest for Python unit tests
68+
run: 'pip install --quiet --require-hashes --only-binary :all: -r scripts/pytest-requirements.txt'
69+
6770
- name: shellcheck
6871
run: |
6972
set -euo pipefail
@@ -102,6 +105,12 @@ jobs:
102105
fi
103106
done
104107
108+
- name: Run Python unit tests
109+
run: |
110+
set -euo pipefail
111+
python3 -m pytest test/feature-ideation/test_validate_signals.py -v \
112+
--cov --cov-report=xml:test/feature-ideation/coverage.xml
113+
105114
- name: Run bats suite
106115
run: bats --print-output-on-failure test/workflows/feature-ideation/
107116

‎.github/workflows/sonarcloud.yml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ jobs:
2323
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2424
with:
2525
fetch-depth: 0
26+
27+
- name: Install pytest and dependencies
28+
run: 'pip install --quiet --require-hashes --only-binary :all: -r scripts/pytest-requirements.txt'
29+
30+
- name: Generate coverage report
31+
run: |
32+
set -euo pipefail
33+
python3 -m pytest test/feature-ideation/test_validate_signals.py \
34+
--cov --cov-report=xml:test/feature-ideation/coverage.xml
35+
2636
# First attempt. continue-on-error lets the retry step below recover from
2737
# transient 403/5xx responses from binaries.sonarsource.com (the scanner
2838
# CLI download), without failing the job on a single CDN blip.

‎.gitignore‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,3 +402,9 @@ actionlint.tar.gz
402402
# https://github.com/github/gitignore. Never edit inside the markers above,
403403
# and never re-ignore a path the L1 block negates. See
404404
# standards/gitignore-standard.md.
405+
406+
# Python
407+
__pycache__/
408+
*.py[cod]
409+
*$py.class
410+
.pytest_cache/

‎scripts/pytest-requirements.txt‎

Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
# Python deps for pytest and pytest-cov (used by feature-ideation-tests.yml).
2+
# Pinned exact versions with SHA-256 hashes so pip verifies package
3+
# integrity before installation (satisfies SonarCloud githubactions
4+
# S8541/S8543/S8544/S8545: only-binary, exact version, hash/lock enforcement).
5+
#
6+
# To regenerate from the repo root:
7+
# printf 'pytest>=8\npytest-cov>=6\n' > /tmp/pytest.in
8+
# pip-compile --generate-hashes --no-annotate --no-header --strip-extras --allow-unsafe \
9+
# /tmp/pytest.in -o scripts/pytest-requirements.txt
10+
#
11+
# --require-hashes mode requires ALL resolved packages (including transitive
12+
# dependencies) to be listed here. Generated with pip-compile (pip-tools).
13+
coverage==7.16.2 \
14+
--hash=sha256:00d3eb96e9988c45f50cccd1f1496571ac5c1f91386ac02c4d55516eeda19a24 \
15+
--hash=sha256:01c6908bc613b420c26c818fe948e1b97dfd041a53c98b01c63bd8321f5c9aae \
16+
--hash=sha256:066429634299e14dd2d511e1e85f8f9cecc500781f6b41907c0dd6f1baea7e63 \
17+
--hash=sha256:0993d0e90858c03943d3cb152e068a20dd4707924deec84dd2230261baae3b1b \
18+
--hash=sha256:0dcbcfcc059117284c603ff8cb61a65872512882f84a8cf0339241f7f7c2f148 \
19+
--hash=sha256:0fd7a86fdda7cb6d616d178654bd0ad6bc0f3f33c2e478aa598500a1a9e34eda \
20+
--hash=sha256:11d28e9123a9156cb405d8d27b44256c9a58fb5decc2073a8f17862057e3aa0f \
21+
--hash=sha256:11e597173af1dc33d5f8a7332ada544199269a223af1ee1770ddd5e245ad0fe8 \
22+
--hash=sha256:126d1af8804d7224421fe991ff65d3ce649081560df7a98b1a5ffff07f9923bd \
23+
--hash=sha256:14253fc7bb15749b849795a06f5d3b6d8bc3fb8a4b5ddc341faf7a89dce205fc \
24+
--hash=sha256:152877cdc8a07264882cfcd503ba56a3ef6cba56a70e8c70f6eb8ffd7384789a \
25+
--hash=sha256:17228fbca0f22976f797be94e975dcd237799c657d49551c7de1e0654d1202e9 \
26+
--hash=sha256:191803c4996b499fcd78c2ad5e5f767dcc53cb4dc6de6d6a741b443a1821ef02 \
27+
--hash=sha256:1a37c6e478cf687e1aa30a593d19c92c02fad9d122b51ab73f51b8dc7a0c0fc9 \
28+
--hash=sha256:1c569a9fd25505f1cd6bea90588818f90373ce90e2632e2cacf19ddbd6e14fdb \
29+
--hash=sha256:1d56e4d21c56d2046447733f8b118409597db48c01efe898ee9ac24e858ec2d6 \
30+
--hash=sha256:1d5d0e3b660506fb84f995814e3118a21efdc0c8eb80127da1be627d90093c17 \
31+
--hash=sha256:1f15254427c9b33eedac4f198eaf9e356eb4f6214551afb43da6194a2c088ad7 \
32+
--hash=sha256:218d742afca2b5ad5ca759e93eddedfbcc6eadf8322f080dcefc40b7bd4e2d48 \
33+
--hash=sha256:22957cef43ce038641de78ba995de7568d2d6a37c6ddbf7fa0fd7d1ae2344d91 \
34+
--hash=sha256:23219888477edd736b6fcaec1272d47d93b926e999641ffea7e53a1738e70b2b \
35+
--hash=sha256:251aed777c47c77aba047096d4542889db089227655711dfc2b9c54ef0e15e35 \
36+
--hash=sha256:28ff850182a67d117990fa2ce5ea1032836d8c9630dae867e8bdd3bff4533b79 \
37+
--hash=sha256:29309ccc86b7f33df7db12813c299f215bbbc470ed6292d0bedd63ffae1ebf64 \
38+
--hash=sha256:2aca0bdfa9e91621d5b09d815357bf63def4fc0e9cb66da67bf2cf93f3b1a6f5 \
39+
--hash=sha256:30c1b65d529e46569899fadca59e4a87c1faf2886923f1307ba61e654d4f3c20 \
40+
--hash=sha256:35f37886699cb9abd29958247d718628d5bc6f39e623dff66a09e546c42a7e03 \
41+
--hash=sha256:382d3346d56b0eec1b793d53a4c88799c8053f516aa3a8d7c44315696954bacf \
42+
--hash=sha256:396bb16e04ce04efbb3df91456ae4e3da918e69ecdf67fb711b0a0fdf35ccce0 \
43+
--hash=sha256:3e7f99698ba3a7d13988bdd984b7ebf13af4dbe2166dc8502eef90d77603b0a4 \
44+
--hash=sha256:3e861f1071dcc2fec1e88bef0920f6b1eaa66a143555b4f8ab79ba2b0f30ef55 \
45+
--hash=sha256:3f43bac1856ba269b905302778d4df433d6006489a192174ad77ac528e395032 \
46+
--hash=sha256:40c0f00899fe6181ae7f434ceb200e51f5ee4b8ed10e3b5f0b605f0cae15da87 \
47+
--hash=sha256:414c26dfdb96aac2d570a54e03008f001e32eb2d413705365503648c6bd361d8 \
48+
--hash=sha256:4358b9c8c0125b460407f3017c6cce8156e904b32772c5630d27112f52bdbfe5 \
49+
--hash=sha256:444889f7f66b74e4455c0a97e0e166dd41177f1dca8c0239a47cff25e05ba7e1 \
50+
--hash=sha256:44f21e407b278efdfc1ee5e481e00518bd1d500310a30a5fbf2bcbedfef4aaf0 \
51+
--hash=sha256:4cc4f73aa3fabc36e32046d6cd2971405948d8a903636508a3d3b2f9128b3a95 \
52+
--hash=sha256:4dbbd1155ca46e6e0b6b89d204428c56ef6a459af21333f365d135a2820e5a09 \
53+
--hash=sha256:4ee546b9e4872ffa194bf07ac87bfa1202ebb824d0795dc1ef22f175545ca90a \
54+
--hash=sha256:5139009b5efd2194fc168ee9362f0e191ba612ef5d29242f9269c22f9b8f80c7 \
55+
--hash=sha256:5375ebd99038021b35e99dc88255022912c06565d316212f4a576e4b08d30f5d \
56+
--hash=sha256:5397e21a90dde0e9c6896b77ded8f0be26b66f8b22b33aed41f6043ed95d55e6 \
57+
--hash=sha256:57ff3783f99d75a1e81dd56a9737eb5665e6736a5d93258ba596b6dcad8fd05b \
58+
--hash=sha256:59c3926585e1cd1f2190f4b2ac9014de1bbeaf0d5d0587b0dc6b0aa90d17896a \
59+
--hash=sha256:5a27b731c171e43dc8b5f32b76a5051dde2ec9b9366c87028f08a7088ebc2c7b \
60+
--hash=sha256:5b3146d2317c75f70df2509066d979dadd941f7021cdf9b5db4bcd8568258e25 \
61+
--hash=sha256:5dca0bb66b4c3d624ba047887bf70270030c150692d543cb501293dc38a9f4b5 \
62+
--hash=sha256:611a44e5229a59d7483ce830160e1a0e85f700562c7a5651c7c63fb8f4eb528c \
63+
--hash=sha256:648352b94507179d82637292e7ae8802508d95f78e2f00a705a50b6c48011681 \
64+
--hash=sha256:6a75180829efb8ae62b4aded25be6ddca1c888d138d2d82e21d93bfbd88f41cb \
65+
--hash=sha256:705e5af11d34647efdc170c7840b6857c81cf74be96419a553f237e68e62cb72 \
66+
--hash=sha256:723dcdab91357159b722935b500ee8abc0a66c8c432e1e9fabf4cc7598952de8 \
67+
--hash=sha256:724bd0f1e81856b35e59fc98cf7b4e544a3cb662e4e0864dca73d4326ee9d808 \
68+
--hash=sha256:732d950e51f3ba4fb6209c73250f3e8924fefca42953ee04a9e65d8c02414d7d \
69+
--hash=sha256:7a076277ca9f5750cc230f0f578ebd2620cec60255b25707361699fef6fb465c \
70+
--hash=sha256:7b3bce4a0d05401d70b7d0d5ca783e686bc9d30e81dbd7d980d532609bf809e4 \
71+
--hash=sha256:7b451c68218c150f616bc9649783ec8de76a59792c759b43aa0c9c0466a465e4 \
72+
--hash=sha256:7d0732c83746bc24123c581a85d9dd96b70ddb538c9076020aa1a041790361e9 \
73+
--hash=sha256:7ed238d227e23cc300c3d464babdaf9f6ddc740aa1b15a77ae96136e6a7c4516 \
74+
--hash=sha256:80d3f7b48d43ee8fc5e8707a8adb43d743a5a1a85256c25a24f9d6d0e2238fa6 \
75+
--hash=sha256:80e9fdb4c3d926b6ba721d4bf7435bdb869c3527ae7803290361d0ab73db13b6 \
76+
--hash=sha256:848893e1d361448c113dc2f0913503522a6f7be231d0e38333d2a22d9698a011 \
77+
--hash=sha256:893ea9cf86cb8d2546812ac93d973aaf2ee1fb45110a873b014214fd23e3725e \
78+
--hash=sha256:8afd9bf35cc6a1f22eb3634808fa8e0b91902459c5721ef2e4461dfe771d7f08 \
79+
--hash=sha256:8be099e979fc42559328a21828281b4578304191ae46ed4e80a407048a82eee6 \
80+
--hash=sha256:8e209591f7c41ae4a9171335cf6156afda0b21de73b02f73f5aa95b2d5fbb08d \
81+
--hash=sha256:8fc15cc8d0d06e873c00ef18e1372d605f9aaf3de27d8c24e50782e75bc8b843 \
82+
--hash=sha256:9174f0af24e5eff248b9dbfe76ec5275a3d19d37edbc2810543f12cf97347a34 \
83+
--hash=sha256:921415102a90637fcc2e3f169f61dad7699ecf690e8639fc21b813acbedc0967 \
84+
--hash=sha256:967d72c835d7a8cf0af99ec813a2d06e3db6df706402f1fe85b31b437645f495 \
85+
--hash=sha256:98d9c97f51b334b0adce7b964442a9af33c1a00c6ac856984cc5dc8d18f81c75 \
86+
--hash=sha256:99704f73721e23859112072d522076e11c31744fc96b5652e5dd2018aa4359f7 \
87+
--hash=sha256:9a75a4704ff640e46170042eec1f984385a121227c505d5a16ad8e495f452541 \
88+
--hash=sha256:9acc7f7ec4a1b5f89bd929fde5b8a714f6fafdc6cc18725413d510aa082b47ad \
89+
--hash=sha256:9c6afdd69218202bc1758c9a14b86b8cf1084f37ed2ca143e567a103772b16d1 \
90+
--hash=sha256:9cdf19874e0d247f32f03609200370343c3c7aa260b191d8c2bb251d36198283 \
91+
--hash=sha256:9e1d0ced76318bab499693ff25f64faa343415187cb2e4d7befdfdd391a1cf6a \
92+
--hash=sha256:9fd670ac43b709c575aefc25bf52d8a598a3bc5017bddfd0a179152ab06a2deb \
93+
--hash=sha256:a0f2285329dac10ab08f79cb11f5692c497018e6c7c511f95e6fd63a70b8f831 \
94+
--hash=sha256:a2fac6895eb299a2e52d7bbb8fb3903502b9da8d3f5309ceb16ec40c646b58ee \
95+
--hash=sha256:a336eec40e3520d369b8a6cdabb4f596e69a8b42927ca074aa1452fed943238a \
96+
--hash=sha256:a4624f80732f6b427ac58f1f59c577a0994a12e8174b5af6a027b4b58795d4c3 \
97+
--hash=sha256:a56ac4fa5a75c7e182e8f62600cfb4aff43c5ed7356a034f3557659c3bec1d90 \
98+
--hash=sha256:a678c0b6b22086ec2427359d22e37445d4a792f5fdbbc744112c7dade65cad02 \
99+
--hash=sha256:a740ea6f083c6db7b926534d159508f80ba275ab35e722522de0d18d0f56e55f \
100+
--hash=sha256:a90700f743e29aa3d75a6ff5f01953176a889c00e526194bc4d281731b88d99d \
101+
--hash=sha256:a9a638be322a8d76a41cdb17781c7f82aaee6a66493d8ffb7e2c09ee22423d99 \
102+
--hash=sha256:a9cd3de0a5bfe7b0e21ee10e1a14e3d61bf52efc28f4a67f16afec0dac22c2ad09 \
103+
--hash=sha256:aa62c85046473959c13ba9edca9dc90a77d5c1095b1ba313556314d77fe5b036 \
104+
--hash=sha256:aba5c63b7afdc749cc9eae943d5b868cba2b261a176378fa1c5a30bc8bc89982 \
105+
--hash=sha256:ac0f3b379c94acc2f7dce5f5f0b24d44fa1cc6a509717ef83dfee07450c2117c \
106+
--hash=sha256:af2a2a8c7c74de0559e0c368d94c8def9e16c58faaee33a0bf081057c4227e3b \
107+
--hash=sha256:af98ad5ed9d6daaca956201e00bb429a7eb2b080426686f70a20353e0f9839f5 \
108+
--hash=sha256:afdf43b72ef3876c1fe66423b91466e37877c9e81e8cec70542b7e8525b9d1b7 \
109+
--hash=sha256:b88841e654f09732804809e435b3e005a929ffd9998b872b7b213957b8759cb8 \
110+
--hash=sha256:bb2fc905bbf4e6b7f40806ea79e31515abf6349594cdf0adf27c4215f0463204 \
111+
--hash=sha256:bb4ffe96aa663cee727659db5a2afeb38c95f8677b747d447b90d6d4874ea2c5 \
112+
--hash=sha256:bc0b0ac781d489304b741269857f1f8338b7a26b1b89c06c0344658001ec0035 \
113+
--hash=sha256:bf1bd822ec4e387ed245bed0d71151582cf7be9e5309bc4145eefe36083d5878 \
114+
--hash=sha256:c19cd6d025c1673f22afcd22c7df8a662d779e05d8e3fa6820c22afb895b0206 \
115+
--hash=sha256:c3305c38a2fa21a4254f2ace7dd9ef5fc569c9a558b66e7017650b3d637fb95e \
116+
--hash=sha256:c85d54e7e8a2ca932fe8399301af9b8d5907ea2a455ffaff6e7d1208db83b943 \
117+
--hash=sha256:ca64d9f1f384f151b9511bec01126072acd2f313439f8ed015a22d8790aab6fa \
118+
--hash=sha256:cce2bc991293f15cc4084ca116827b5900c5f34e1a54dfe83f10ab5c43162eb7 \
119+
--hash=sha256:d6276d78f6fca7d0ac066d5da4165c5acd07829e8305c2cb900b738fb3a75a72 \
120+
--hash=sha256:d93db87adb6b1c1b408dce4763314b55d76a9f589e96783a84ac9e7689e48bdf \
121+
--hash=sha256:db5f8394e17f877a625b257f2ba0ce8e728a499c2c1579ad66220272cd3df510 \
122+
--hash=sha256:db76506aa5416081f3e8974ae0f7965c58ada0bb0ef7339ac86099588dbb20d3 \
123+
--hash=sha256:dba2edfb054f6d4a08df9d1637c39a5aa3865bca6617c13c86be21e45658a59c \
124+
--hash=sha256:dcf4bc2aab4e16b1c4c0c2005918f23a7dd5d7821ddae82caed9e3342dc2fcce \
125+
--hash=sha256:e1fa594c887365b69745f25a416806e61085dd07b94c9eae68a6e20730629b23 \
126+
--hash=sha256:e6c52d3307824ff93b39efd99e4185d557db40bd841452abfb32e5d9151ca162 \
127+
--hash=sha256:eb57acff4a74246ae513c142d4b36e18c389c3aed8661914a53f7cd0071031b2 \
128+
--hash=sha256:eda16858a3cab07b80edaf74336ece1f986ba330fdb8ee0d6c0d68fe82bc96be \
129+
--hash=sha256:ee2922902c45ae8ccada2c5b501ab86c36525b883eff4255313a253a3160861c \
130+
--hash=sha256:efd7b85f94a6f21e4932043973a7ba2613b059c4a000551892ac9f1d11f5baf3 \
131+
--hash=sha256:f80bd9f9633eafc73d0a913ba2645c96ba58bba1befc30590f7c0fbfde59d865 \
132+
--hash=sha256:fb2bde05838fffae1a1bf75e5d411a6cac3e4e9bb97e6640fed8cd47888b33f0 \
133+
--hash=sha256:fb9d92ecfe2d5b494367c67f7446f8b75b68d8d0c8cf3bc3e6997478be25d9e2 \
134+
--hash=sha256:fd3d72233eb8b48acc94fa57d44e2d32ce8e7abed02882ccb6d855ccc4ed33ec
135+
iniconfig==2.3.0 \
136+
--hash=sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730 \
137+
--hash=sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12
138+
packaging==26.3 \
139+
--hash=sha256:94edc256424af38762eb31306eed28beb9f0efc50a8837492c9d6fd6004aed79 \
140+
--hash=sha256:d7193f7c8e4e93f444fde0262bf90af30e16fa0ad0ad44cb553c87339b23cd1c
141+
pluggy==1.6.0 \
142+
--hash=sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3 \
143+
--hash=sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746
144+
pygments==2.21.0 \
145+
--hash=sha256:2363c69b61c4a97c838da3b130dcd6468f4848992b21a82f2a63ec34377137d9 \
146+
--hash=sha256:610ca751c9bc2492b38eb9a38a7fbc93edbbb2d7182edaf34e66ae493dee5c8c
147+
pytest==9.1.1 \
148+
--hash=sha256:1088fbde8f2b49d95a549a195707afa7a76a3ce9bcadc26b6d71f0ffda5fe313 \
149+
--hash=sha256:37a86b45efb9a47a61a36449063e8e18d0cab3161329fc099eb21783169c4f0c
150+
pytest-cov==7.1.0 \
151+
--hash=sha256:30674f2b5f6351aa09702a9c8c364f6a01c27aae0c1366ae8016160d1efc56b2 \
152+
--hash=sha256:a0461110b7865f9a271aa1b51e516c9a95de9d696734a2f71e3e78f46e1d4678

‎sonar-project.properties‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
sonar.projectKey=petry-projects_.github
22
sonar.organization=petry-projects
3+
sonar.python.coverage.reportPaths=test/feature-ideation/coverage.xml
34

45
# SonarCloud S7637 exemption for first-party reusable-ref caller stubs (#498).
56
# These thin caller stubs contain ONLY a petry-projects/.github(-private)
Binary file not shown.

0 commit comments

Comments
 (0)