None issue fix for static analysis
This commit is contained in:
1 parent
00e43d4585
commit
a2b483b4f5
5 files changed
+14
-8
No files matched your search
@@ -36,3 +36,6 @@ Cls.class_attr_error
|
||||
c.instance_attr
|
||||
#! attribute-error
|
||||
c.instance_attr_error
|
||||
|
||||
|
||||
c.something = None
|
||||
@@ -34,6 +34,11 @@ except ImportError:
|
||||
pass
|
||||
except (NotImplementedError, AttributeError): pass
|
||||
|
||||
try:
|
||||
#! attribute-error
|
||||
str.not_existing
|
||||
except (TypeError, NotImplementedError): pass
|
||||
|
||||
# -----------------
|
||||
# detailed except
|
||||
# -----------------
|
||||
|
||||
Reference in new issue
Block a user