Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-dequenne-sonarsource committed Aug 28, 2023
1 parent 15fa7f6 commit 3b36e0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion rules/S6711/python/metadata.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"title": "`numpy.random.Generator` should be preferred to `numpy.random.RandomState`",
"title": "numpy.random.Generator should be preferred to numpy.random.RandomState",
"type": "CODE_SMELL",
"status": "ready",
"remediation": {
Expand Down
6 changes: 3 additions & 3 deletions rules/S6711/python/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ def foo():
== Resources
=== Documentation

NumPy documentation - https://numpy.org/doc/stable/reference/random/generator.html#random-generator[Random Generator]
NumPy documentation - https://numpy.org/doc/stable/reference/random/legacy.html#legacy-random-generation[Legacy Random Generation]
NumPy documentation - https://numpy.org/neps/nep-0019-rng-policy.html[NEP19 RNG Policy]
* NumPy Documentation - https://numpy.org/doc/stable/reference/random/generator.html#random-generator[Random Generator]
* NumPy Documentation - https://numpy.org/doc/stable/reference/random/legacy.html#legacy-random-generation[Legacy Random Generation]
* NumPy Documentation - https://numpy.org/neps/nep-0019-rng-policy.html[NEP19 RNG Policy]

0 comments on commit 3b36e0f

Please sign in to comment.