From b242b847649e5f1493c3b7d46df147cebc930b94 Mon Sep 17 00:00:00 2001 From: Felicity Chapman Date: Mon, 10 Jun 2019 11:32:34 +0100 Subject: [PATCH 1/2] Remove boilerplate text and fix table formatting --- change-notes/1.21/analysis-python.md | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/change-notes/1.21/analysis-python.md b/change-notes/1.21/analysis-python.md index 970b86976f42..7345ce3966df 100644 --- a/change-notes/1.21/analysis-python.md +++ b/change-notes/1.21/analysis-python.md @@ -31,17 +31,12 @@ The increased precision in tracking of values through `*` arguments may remove f Overall the number of true positive results should increase and the number false negative results should decline. We welcome feedback on the new implementation, particularly any surprising changes in results. - ## New queries - | **Query** | **Tags** | **Purpose** | - |-----------|----------|-------------| - | Accepting unknown SSH host keys when using Paramiko (`py/paramiko-missing-host-key-validation`) | security, external/cwe/cwe-295 | Finds instances where Paramiko is configured to accept unknown host keys. Results are shown on LGTM by default. | - | Use of 'return' or 'yield' outside a function (`py/return-or-yield-outside-function`) | reliability, correctness | Finds instances where `return`, `yield`, and `yield from` are used outside a function. Results are not shown on LGTM by default. | - -## Changes to existing queries - | **Query** | **Expected impact** | **Change** | - |-----------|---------------------|------------| +| **Query** | **Tags** | **Purpose** | +|-----------|----------|-------------| +| Accepting unknown SSH host keys when using Paramiko (`py/paramiko-missing-host-key-validation`) | security, external/cwe/cwe-295 | Finds instances where Paramiko is configured to accept unknown host keys. Results are shown on LGTM by default. | +| Use of 'return' or 'yield' outside a function (`py/return-or-yield-outside-function`) | reliability, correctness | Finds instances where `return`, `yield`, and `yield from` are used outside a function. Results are not shown on LGTM by default. | ## Changes to code extraction @@ -51,8 +46,3 @@ We welcome feedback on the new implementation, particularly any surprising chang * A non-existent file or directory is specified using the `--path` option, or as a file name. * An invalid number is specified for the `--max-procs` option. - - -## Changes to QL libraries - -* *Series of bullet points* From 9b9f257e0a63c8c14dd2e1436342f438396e195e Mon Sep 17 00:00:00 2001 From: Felicity Chapman Date: Mon, 10 Jun 2019 11:35:19 +0100 Subject: [PATCH 2/2] Add a link to a new query on LGTM.com --- change-notes/1.21/analysis-python.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/change-notes/1.21/analysis-python.md b/change-notes/1.21/analysis-python.md index 7345ce3966df..487535a46ec9 100644 --- a/change-notes/1.21/analysis-python.md +++ b/change-notes/1.21/analysis-python.md @@ -35,7 +35,7 @@ We welcome feedback on the new implementation, particularly any surprising chang | **Query** | **Tags** | **Purpose** | |-----------|----------|-------------| -| Accepting unknown SSH host keys when using Paramiko (`py/paramiko-missing-host-key-validation`) | security, external/cwe/cwe-295 | Finds instances where Paramiko is configured to accept unknown host keys. Results are shown on LGTM by default. | +| Accepting unknown SSH host keys when using Paramiko (`py/paramiko-missing-host-key-validation`) | security, external/cwe/cwe-295 | Finds instances where Paramiko is configured to accept unknown host keys. Results are shown [on LGTM](https://lgtm.com/rules/1508297729270/) by default. | | Use of 'return' or 'yield' outside a function (`py/return-or-yield-outside-function`) | reliability, correctness | Finds instances where `return`, `yield`, and `yield from` are used outside a function. Results are not shown on LGTM by default. | ## Changes to code extraction