Update false positives
- remove unused ones - add a new one
This commit is contained in:
parent
fdb7593cb0
commit
6bf8187e3e
@ -8,10 +8,10 @@ class LoraxLintConfig(PocketLintConfig):
|
|||||||
def __init__(self):
|
def __init__(self):
|
||||||
PocketLintConfig.__init__(self)
|
PocketLintConfig.__init__(self)
|
||||||
|
|
||||||
self.falsePositives = [ FalsePositive(r"No name 'version' in module 'pylorax'"),
|
self.falsePositives = [ FalsePositive(r"Module 'pylorax' has no 'version' member"),
|
||||||
FalsePositive(r"Module 'pylorax' has no 'version' member"),
|
# threading.Lock() is a factory function which returns an
|
||||||
FalsePositive(r"Instance of 'int' has no .* member"),
|
# instance of the Lock class that is supported by the platform
|
||||||
FalsePositive(r"ImageMinimizer.remove_rpm.runCallback: Unused argument .*")
|
FalsePositive(r"Context manager 'lock' doesn't implement __enter__ and __exit__"),
|
||||||
]
|
]
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
Reference in New Issue
Block a user