-
Notifications
You must be signed in to change notification settings - Fork 31
Pull requests: SonarSource/rspec
Author
Label
Projects
Milestones
Reviews
Assignee
Sort
Pull requests list
Create rule S7713: Tensor operations should rely on automatic broadcasting instead of manual expansion
python
#5368
opened Sep 2, 2025 by
github-actions
bot
•
Draft
4 tasks
Create rule S7712: Dataset "__getitem__" methods should return only serializable types
python
#5367
opened Sep 2, 2025 by
github-actions
bot
•
Draft
4 tasks
Create rule S7711: Dataset "__len__" methods should return an integer, not "torch.Size"
python
#5366
opened Sep 2, 2025 by
github-actions
bot
•
Draft
4 tasks
Create rule S7710: Use "torch.empty()" instead of list comprehensions for empty tensor initialization
python
#5365
opened Sep 2, 2025 by
github-actions
bot
•
Draft
4 tasks
Create rule S7709: Tensor lists should be concatenated with "torch.cat()" instead of "torch.tensor()"
python
#5363
opened Sep 2, 2025 by
github-actions
bot
•
Draft
4 tasks
Create rule S7708: Tensors should not be concatenated incrementally in loops
python
#5362
opened Sep 2, 2025 by
github-actions
bot
•
Draft
4 tasks
Create rule S7707: Data loaders should be wrapped with fabric.setup_dataloaders() when using Lightning Fabric
python
#5361
opened Sep 2, 2025 by
github-actions
bot
•
Draft
4 tasks
Create rule S7706: Use PyTorch Lightning's built-in checkpointing instead of manual checkpoint saving
python
#5360
opened Sep 2, 2025 by
github-actions
bot
•
Draft
4 tasks
Create rule S7705: BERT model calls should explicitly specify the "return_dict" parameter
python
#5359
opened Sep 2, 2025 by
github-actions
bot
•
Draft
4 tasks
Create rule S7704: PyTorch module classes should not be instantiated inline in forward methods
python
#5357
opened Sep 2, 2025 by
github-actions
bot
•
Draft
4 tasks
Create rule S7703: Method calls should use parentheses when saving PyTorch model state
python
#5355
opened Sep 2, 2025 by
github-actions
bot
•
Draft
4 tasks
Create rule S7702: Specify "start_dim" when using "torch.flatten" to preserve batch dimension
python
#5354
opened Sep 2, 2025 by
github-actions
bot
•
Draft
4 tasks
Create rule S7701: Dropout layers should be used in the forward method
python
#5352
opened Sep 1, 2025 by
github-actions
bot
•
Draft
4 tasks
Update classification for S7678 and S7682
shell
#5351
opened Sep 1, 2025 by
yassin-kammoun-sonarsource
Loading…
Create rule S7700: InstanceNorm layers should explicitly set the "affine" parameter
python
#5349
opened Sep 1, 2025 by
github-actions
bot
•
Draft
4 tasks
Create rule S7699: Dropout layers should be defined as model attributes in "__init__" method
python
#5348
opened Sep 1, 2025 by
github-actions
bot
•
Draft
4 tasks
Create rule S1523: add Swift (SONARSWIFT-791)
swift
#5346
opened Aug 29, 2025 by
github-actions
bot
Loading…
4 tasks
Create rule S7697: PyTorch tensor operations should assign results or use in-place variants
python
#5343
opened Aug 28, 2025 by
github-actions
bot
•
Draft
4 tasks
Create rule S7696: Convolution layers followed by batch normalization should disable bias
python
#5342
opened Aug 28, 2025 by
github-actions
bot
•
Draft
4 tasks
Create rule S7695: "super()" calls should not be used in TorchScript methods
python
#5340
opened Aug 28, 2025 by
github-actions
bot
Loading…
4 tasks
Create rule S7694: Using dependencies without locking resolved versions is security-sensitive
swift
#5339
opened Aug 27, 2025 by
github-actions
bot
Loading…
4 tasks
Create rule S7692: Tensors should be flipped using "torch.flip()" instead of negative indexing
python
#5337
opened Aug 27, 2025 by
github-actions
bot
•
Draft
4 tasks
Create rule S2077: Formatting SQL queries is security-sensitive
appsec
ruby
#5335
opened Aug 27, 2025 by
github-actions
bot
Loading…
4 tasks
Create rule S7691: Wildcard expansions should be prefixed with "./" to prevent option injection
shell
#5334
opened Aug 26, 2025 by
github-actions
bot
•
Draft
4 tasks
Create rule S7690: Shell scripts should use "(( ))" for integer arithmetic operations
shell
#5333
opened Aug 26, 2025 by
github-actions
bot
•
Draft
4 tasks
Previous Next
ProTip!
Filter pull requests by the default branch with base:master.