mirror of
https://github.com/github/codeql.git
synced 2026-04-25 16:55:19 +02:00
Use code-quality-selectors in Python suite
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
ql/python/ql/src/Functions/NonCls.ql
|
||||
ql/python/ql/src/Functions/NonSelf.ql
|
||||
ql/python/ql/src/Functions/ReturnConsistentTupleSizes.ql
|
||||
ql/python/ql/src/Functions/SignatureSpecialMethods.ql
|
||||
ql/python/ql/src/Resources/FileNotAlwaysClosed.ql
|
||||
ql/python/ql/src/Variables/LoopVariableCapture/LoopVariableCapture.ql
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
* @tags maintainability
|
||||
* readability
|
||||
* convention
|
||||
* quality
|
||||
* @problem.severity recommendation
|
||||
* @sub-severity high
|
||||
* @precision high
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
* @tags maintainability
|
||||
* readability
|
||||
* convention
|
||||
* quality
|
||||
* @problem.severity recommendation
|
||||
* @sub-severity high
|
||||
* @precision very-high
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
- queries: .
|
||||
- include:
|
||||
id:
|
||||
- py/not-named-self
|
||||
- py/not-named-cls
|
||||
- py/file-not-closed
|
||||
- py/special-method-wrong-signature
|
||||
- apply: code-quality-selectors.yml
|
||||
from: codeql/suite-helpers
|
||||
|
||||
Reference in New Issue
Block a user