GitHub / SonarSource/sonar-python / commits
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| a694ee21 | SONARPY-4514 Implement rule S9136 - Mock assertion method names should be spe... |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
7 days ago | |
| 7bef3d3d | SONARPY-4480 Reduce S9137 noise for unused patches and field stubs |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
7 days ago | |
| f6d38781 | SONARPY-4488 Implement rule S9088 - Only one method invocation is expected wh... |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
8 days ago | |
| 26f310d1 | SONARPY-4499 Fixing cache key of projectLevelSymbolTable |
David Kunzmann <d****n@s****m>
Committed by: sonartech <s****h@s****m> |
9 days ago | |
| c15c0f63 | SONARPY-4487 Implement rule S9002 - Function-scoped tests should use "tmp_pat... |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
9 days ago | |
| 478a7be2 | SONARPY-4497 Improve S9000 precision for pytest.raises context manager |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
9 days ago | |
| 985063bf | SONARPY-4481 Implement rule S9100 - Pytest fixtures without teardown should u... |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
9 days ago | |
| 0aa7ce14 | SONARPY-4480 Implement rule S9137 - Mocks should be created with autospec |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
9 days ago | |
| 0c228d3d | SONARPY-4429 Add S9106 pytest parameters should not declare defaults |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
9 days ago | |
| 4f949f18 | SONARPY-4479 Whitelisting import to protect user privacy |
David Kunzmann <d****n@s****m>
Committed by: sonartech <s****h@s****m> |
12 days ago | |
| b03677ba |
SONARPY-4484 Prepare for next development iteration
Co-authored-by: joke1196 <6****6@u****m> |
hashicorp-vault-sonar-prod[bot] <1****]@u****m>
Committed by: sonartech <s****h@s****m> |
12 days ago | |
| 0c119045 | SONARPY-4452 Update RSPEC before 5.28 release |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
12 days ago | |
| 683b3e06 | SONARPY-4332 Parse Python version ranges |
zglicz <m****i@s****m>
Committed by: sonartech <s****h@s****m> |
13 days ago | |
| 740ddbca | SONARPY-4461 Broaden S5778 safe-call exclusions for numpy/scipy helpers |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
13 days ago | |
| 72b897ed | SONARPY-4472: Create rule S9134: Pydantic field validators should return the ... |
David Kunzmann <d****n@s****m>
Committed by: sonartech <s****h@s****m> |
13 days ago | |
| 88d859b9 |
SONARPY-4473 Added config-uv to build workflow
Co-authored-by: rombirli <r****g@s****m> |
David Kunzmann <d****n@s****m>
Committed by: sonartech <s****h@s****m> |
13 days ago | |
| b6583d90 | SONARPY-4420 Implement rule S9081 Prefer return_value over constant lambda pa... |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
14 days ago | |
| 3e0ef7cd | SONARPY-4460 Raise S3415 only when assertion conventions mix |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
15 days ago | |
| 2af8487f | SONARPY-4435: Implement rule S9117 Pytest fixtures should not declare default... |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
15 days ago | |
| 1ea16846 | SONARPY-4419 Implement rule S9080 Prefer yield teardown over addfinalizer |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
15 days ago | |
| 86f5e333 | SONARPY-4458 Fix bytes literal typing in typeV2 |
Mallow <m****o@g****m>
Committed by: sonartech <s****h@s****m> |
16 days ago | |
| 74339235 | SONARPY-4440 Make 'copyFromPrevious' method synchronized to avoid cache corru... |
Andrea Guarino <a****o@s****m>
Committed by: sonartech <s****h@s****m> |
20 days ago | |
| 9a9c2874 |
SONARPY-4466 Prepare for next development iteration
Co-authored-by: rombirli <5****i@u****m> |
hashicorp-vault-sonar-prod[bot] <1****]@u****m>
Committed by: sonartech <s****h@s****m> |
20 days ago | |
| 2c359031 | SONARPY-4425 Update RSPEC before 5.27 release |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
20 days ago | |
| 639efa41 | SONARPY-4424 Implement rule S9084 Prefer importing pytest as a module |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
21 days ago | |
| 5cb369e5 | SONARPY-4422 Implement rule S9083 Enforce pytest decorator parentheses style |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
21 days ago | |
| 4182aa06 |
SONARPY-4305 Reduce S5778 noise on common safe calls
Co-authored-by: github-actions[bot] <g****]@u****m> |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
21 days ago | |
| f9b2ee75 | SONARPY-4414 Fix S9075 false positives for match-only pytest.warns |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
21 days ago | |
| 3ae80d81 |
SONARPY-4416 Implement S9077: Intentional test failures should use pytest.fai...
Co-authored-by: github-actions[bot] <g****]@u****m> |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
21 days ago | |
| 4a6a564f | SONARPY-4451 S8410 Add file-local suppression heuristic |
Lijun Chen <l****n@s****m>
Committed by: sonartech <s****h@s****m> |
21 days ago | |
| 35385b6a | SONARPY-4451 S8410 Fix FPs by handling a few additional `typing.Annotated` forms |
Lijun Chen <l****n@s****m>
Committed by: sonartech <s****h@s****m> |
21 days ago | |
| 322e2dcb | SONARPY-4434 Add S9116: Pytest fixture options should be passed as keyword ar... |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
22 days ago | |
| 6d50d033 |
SONARPY-4417 Implement S9078: Parametrize decorators should not contain dupli...
Co-authored-by: github-actions[bot] <g****]@u****m> |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
22 days ago | |
| dbba186e | SONARPY-4414 : Implement rule S9075 - Add specific warning assertion rule |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
22 days ago | |
| 4f10a940 | SONARPY-4415 Implement S9076: Replace deprecated pytest.yield_fixture with py... |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
22 days ago | |
| 2bd382f5 | SONARPY-4413 Implement S9074: Pytest marks and usefixtures should not be appl... |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
22 days ago | |
| 25752d04 |
Update SonarSource/sonar-analyzer-commons monorepo to v2.29.0.5138
Co-authored-by: renovate[bot] <2****]@u****m>, Victor Diez <v****z@s****m> |
renovate[bot] <2****]@u****m>
Committed by: sonartech <s****h@s****m> |
26 days ago | |
| acec2b89 |
Update SonarSource/sonar-scanner-engine monorepo to v13.5.0.4089
Co-authored-by: renovate[bot] <2****]@u****m> |
renovate[bot] <2****]@u****m>
Committed by: sonartech <s****h@s****m> |
26 days ago | |
| 3255f366 |
Update dependency com.sonarsource.rule-api:rule-api to v2.27.0.6068
Co-authored-by: renovate[bot] <2****]@u****m> |
renovate[bot] <2****]@u****m>
Committed by: sonartech <s****h@s****m> |
27 days ago | |
| 5319ac44 |
Update dependency pipx:tox to v4.57.0
Co-authored-by: renovate[bot] <2****]@u****m> |
renovate[bot] <2****]@u****m>
Committed by: sonartech <s****h@s****m> |
27 days ago | |
| 215bb409 | SONARPY-4412 Implement S9073: Composite assertions should be split |
Noémie Bénard <1****d@u****m>
Committed by: sonartech <s****h@s****m> |
27 days ago | |
| b8c93ba8 | SONARPY-1506 Resolve absolute paths in ruff reports from different base direc... |
Guillaume Dequenne <g****e@s****m>
Committed by: sonartech <s****h@s****m> |
28 days ago | |
| 258af1a6 |
SONARPY-4439 Prepare for next development iteration
Co-authored-by: lijun-chen-sonarsource <2****e@u****m> |
hashicorp-vault-sonar-prod[bot] <1****]@u****m>
Committed by: sonartech <s****h@s****m> |
28 days ago | |
| 7c036a77 | SONARPY-2729 Fix crash on empty-source notebook cells |
Mallow <m****o@g****m>
Committed by: sonartech <s****h@s****m> |
29 days ago | |
| 8677fd7f | SONARPY-4352 Update rule metadata |
Lijun Chen <l****n@s****m>
Committed by: sonartech <s****h@s****m> |
29 days ago | |
| a5c37018 | SONARPY-4312 remove S2187 from sonar-way |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 18aa2e61 | SONARPY-4311 Extract inline mock creation in TypeMatcher tests |
Mostafa Mohammed <m****d@s****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 0b2b6f7a |
SONARPY-3944 Correct license headers
Co-authored-by: Mallow <m****o@g****m> |
Mostafa Mohammed <m****d@s****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 6f58a897 | SONARPY-4302 Improve S5958 issue message |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| de5b309c | SONARPY-4383 Improve S9000 issue message |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 3cee1248 | SONARPY-4379 S8993: ignore dynamic f-strings in getfixturevalue |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 672235f8 |
Update peter-evans/create-pull-request action to v8.1.1
Co-authored-by: renovate[bot] <2****]@u****m>, Victor Diez <v****z@s****m> |
renovate[bot] <2****]@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 5b1b9e78 |
Update sonar-analyzer-commons.version to v2.28.0.5085
Co-authored-by: renovate[bot] <2****]@u****m> |
renovate[bot] <2****]@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 6b358f10 |
Update sonar.orchestrator.version
Co-authored-by: renovate[bot] <2****]@u****m>, Victor Diez <v****z@s****m> |
renovate[bot] <2****]@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 1442ba72 |
SONARPY-4399 Honor generic sonar.testFileHeuristic.disabled in Python test fi...
Co-authored-by: Claude Sonnet 4.6 (1M context) <n****y@a****m> |
Daniel Teuchert <1****e@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| b839e248 | SONARPY-4383 S9000 Add rule for pytest.raises context manager usage |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| a569cc23 |
Update sonarlint-core.version to v11.7.0.86025
Co-authored-by: renovate[bot] <2****]@u****m> |
renovate[bot] <2****]@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 913104b7 |
Update dependency org.junit.platform:junit-platform-suite-engine to v6.1.2
Co-authored-by: renovate[bot] <2****]@u****m> |
renovate[bot] <2****]@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| e1d1a7f0 | CLP-212: Migrate scanner test fixtures |
Victor <v****z@s****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 9ba2b7b2 | SONARPY-4380 Implement rule S8997 - Tests should use the monkeypatch fixture ... |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 84404d1e | SONARPY-4384 S8999 pytest_plugins should be defined in conftest.py files |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| bca96362 | SONARPY-4385 S8998 Detect empty @pytest.mark.parametrize values |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 58ad5be1 | SONARPY-4377 Implement S8994: Pytest fixtures should contain at most one yiel... |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 3455a0da | SONARPY-4379 Implement S8993: Test functions should declare fixture dependenc... |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 1aa384e3 | SONARPY-2729 Fix crash when Jupyter notebook source arrays contain multiline ... |
Mallow <m****o@g****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| bbade0ce | SONARPY-4381 S9001 Expected test failures should provide a reason |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 18e7aef4 | SONARPY-4397 Deduplicate rule-implementation guidance behind Claude skill |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| d400731e |
Update scanner-engine.version to v13.4.1.4007
Co-authored-by: renovate[bot] <2****]@u****m> |
renovate[bot] <2****]@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 7fa6a6be | SONARPY-4378 Implement S8992: pytest autouse fixtures should not use params |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 599e359c |
Update jackson.version
Co-authored-by: renovate[bot] <2****]@u****m>, Victor Diez <v****z@s****m> |
renovate[bot] <2****]@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| a73cb416 |
Update all non-major dependencies
Co-authored-by: renovate[bot] <2****]@u****m>, Victor Diez <v****z@s****m> |
renovate[bot] <2****]@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 53e4627c | SONARPY-4362 Create rule S8978: Pydantic models with dataclass fields should ... |
David Kunzmann <d****n@s****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 1739a656 | SONARPY-3868 S8411 Fix FPs with more accurate modelling of fastapi's dependen... |
Lijun Chen <l****n@s****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 1934fd99 | SONARPY-4373 Updated Pydantic stubs for networks and types |
David Kunzmann <d****n@s****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 8d601da0 |
Update SL core to v11
Co-authored-by: renovate[bot] <2****]@u****m>, Victor Diez <v****z@s****m> |
renovate[bot] <2****]@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 3ddb4699 |
Update sonarqube
Co-authored-by: renovate[bot] <2****]@u****m>, Victor Diez <v****z@s****m> |
renovate[bot] <2****]@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 0f774bd8 | SONARPY-4370 S6785/S6786: recognize set-literal middleware/validation_rules |
Nils Werner <6****e@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 919a6f48 | SONARPY-4363 Added telemetry for imports |
David Kunzmann <d****n@s****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| ccf256e6 | SONARPY-4371 Updated Pydantic Field stubs |
David Kunzmann <d****n@s****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 9e1ad765 |
SONARPY-4096 Skip readability rules on generated Python files
Co-authored-by: Lijun Chen <l****n@s****m> |
David Andersson <5****n@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 3bda4056 |
SONARPY-3473 S5659: recognize "issuer routing" whitelist pattern as safe
Co-authored-by: Gitar <n****y@g****i> |
Nils Werner <6****e@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 1b39f71d |
Update dependency pipx:tox to v4.56.1
Co-authored-by: renovate[bot] <2****]@u****m> |
renovate[bot] <2****]@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| c4a1868c | SONARPY-3436 S5659: recognize comparison-only and validated-algorithm JWT hea... |
Nils Werner <6****e@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 4ff43a3b | SONARPY-4182 S5659: don't raise on "peek then verify" JWT pattern |
Nils Werner <6****e@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 1e8e2298 |
SONARPY-4368 Prepare for next development iteration (#1292)
Co-authored-by: rombirli <5****i@u****m> |
hashicorp-vault-sonar-prod[bot] <1****]@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 3a35bf2c | SONARPY-4323 Create rule S8953: Pydantic models should enable either alias or... |
David Kunzmann <d****n@s****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 7a2d6e15 | SONARPY-4366 Fix unused parameter (#1289) |
David Kunzmann <d****n@s****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| ae022bc8 | SONARPY-4318 Update rule metadata (#1288) |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 9c3cd505 | SONARPY-4364 S8963: Fix bug where issue was raised without conflict (#1287) |
David Kunzmann <d****n@s****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| d7aebcf5 | SONARPY-4342 Create rule S8973: Double leading underscores should not be used... |
David Kunzmann <d****n@s****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 5ce3c3f8 | SONARPY-4343 Create rule S8971: "SkipValidation" should not be combined with ... |
David Kunzmann <d****n@s****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 78d56a4e | SONARPY-4341 Create rule S8974: "json_schema_input_type" should not be used w... |
David Kunzmann <d****n@s****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| d35f8983 | SONARPY-4315 Port S5863 to python: Assertions should not be given twice the s... |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 94e1b827 | SONARPY-4355 Revert Renovate failing updates (#1278) |
Victor <v****z@s****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 5f5aa66a |
Update sonarqube (#1238)
Co-authored-by: renovate[bot] <2****]@u****m> |
renovate[bot] <2****]@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 58bf74ba |
Update SL core to v11 (#1239)
Co-authored-by: renovate[bot] <2****]@u****m> |
renovate[bot] <2****]@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 8a298818 |
Update dependency java to v17.0.19+10 (#1267)
Co-authored-by: renovate[bot] <2****]@u****m> |
renovate[bot] <2****]@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 2ea43a0f |
Update dependency pipx:tox to v4.56.1 (#1269)
Co-authored-by: renovate[bot] <2****]@u****m> |
renovate[bot] <2****]@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| a45cc5d0 | SONARPY-4346 : Port S5779 to python: Assertions should not be made within the... |
rombirli <5****i@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago | |
| 993dcfbd |
Update dependency python to v3.14.6 (#1270)
Co-authored-by: renovate[bot] <2****]@u****m> |
renovate[bot] <2****]@u****m>
Committed by: sonartech <s****h@s****m> |
about 1 month ago |