inspections & intentions: remove font-fix in descriptions like "style="font-family: verdana,serif;" IDEA-156893

This commit is contained in:
Dmitry Batkovich
2016-06-01 11:15:41 +03:00
parent dcea8c849f
commit a816724b51
68 changed files with 101 additions and 193 deletions
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,serif;">This intention converts selected qualified reference into simple reference
and adds <b><font color="#000080">static import</font></b> for corresponding class.</span>
This intention converts selected qualified reference into simple reference
and adds <b><font color="#000080">static import</font></b> for corresponding class.
</body>
</html>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,serif;">This intention converts selected qualified reference into simple reference
and adds corresponding <b><font color="#000080">static import</font></b> for that reference.</span>
This intention converts selected qualified reference into simple reference
and adds corresponding <b><font color="#000080">static import</font></b> for that reference.
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects when there aren't all abstract properties/methods are defined in subclass
</span>
This inspection detects when there aren&apos;t all abstract properties/methods are defined in subclass
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection highlights situations, where argument passed to function is equal to default parameter value
</span>
</body>
</html>
@@ -1,8 +1,6 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection reports discrepancies between declared parameters and actual arguments, as well as
incorrect arguments (e.g. duplicate named arguments) and incorrect argument order. Decorators are analyzed, too.
</span>
</body>
</html>
@@ -1,17 +1,14 @@
<html>
<body>
<span style="font-family: verdana,serif;">
Checks for cases when you rewrite loop variable with inner loop
</span>
Checks for cases when you rewrite loop variable with inner loop
<pre style="font-family: monospace">
for i in xrange(5):
for i in xrange(20, 25):
print("Inner", i)
print("Outer", i)
</pre>
<span style="font-family: verdana,serif;">
It also warns you if variable declared in <code>with</code> statement is redeclared inside of statement body:
</span>
It also warns you if variable declared in <code>with</code> statement is redeclared inside of statement body:
<pre style="font-family: monospace">
with open("file") as f:
f.read()
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection highlights assignment that can be replaced with augmented assignment.
</span>
</body>
</html>
@@ -1,8 +1,6 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection highlights too broad exception clauses such as
no exception class specified, or specified as 'Exception'.
</span>
no exception class specified, or specified as &apos;Exception&apos;.
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects characters > 255 in byte literals.
</span>
This inspection detects characters &gt; 255 in byte literals.
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection highlights attempts to call objects which are not callable, like, for example, tuples.
</span>
This inspection highlights attempts to call objects which are not callable, like, for example, tuples.
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection highlights chained comparisons that can be simplified.
</span>
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection used when a class has no __init__ method, neither its parent classes.
</span>
</body>
</html>
@@ -1,5 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">This inspection detects classic style classes usage.</span>
This inspection detects classic style classes usage.
</body>
</html>
@@ -1,8 +1,6 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection highlights comparisons with None. That type of comparisons
should always be done with 'is' or 'is not', never the equality operators.
</span>
This inspection highlights comparisons with None. That type of comparisons
should always be done with &apos;is&apos; or &apos;is not&apos;, never the equality operators.
</body>
</html>
@@ -1,8 +1,7 @@
<html>
<body>
<span style="font-family: verdana,serif;">
Enable this inspection if you need your code to be compatible with a range of Python versions (for example, if you're building a library).
Enable this inspection if you need your code to be compatible with a range of Python versions (for example, if you&apos;re building a
library).
The range of Python versions with which the code needs to be compatible can be specified in the inspection settings.
</span>
</body>
</html>
@@ -1,9 +1,7 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects when a mutable value as list or dictionary is detected in a default value for an argument.<br/>
Default argument values are evaluated only once at function definition time, which means that modifying the
default value of the argument will affect all subsequent calls of the function.
</span>
This inspection detects when a mutable value as list or dictionary is detected in a default value for an argument. <br/>
Default argument values are evaluated only once at function definition time, which means that modifying the
default value of the argument will affect all subsequent calls of the function.
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection highlight import statements references a module which is deprecated in current Python version.
</span>
This inspection highlight import statements references a module which is deprecated in current Python version.
</body>
</html>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,serif;">This inspection detects situations when dictionary creation
could be rewritten with dictionary literal.</span>
This inspection detects situations when dictionary creation
could be rewritten with dictionary literal.
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection highlights using the same value as dictionary key twice.
</span>
</body>
</html>
@@ -1,9 +1,7 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection highlights situations when except clauses are not in the correct order
(from the more specific to the more generic) or one exception class is caught twice.<br/>
If you don't fix the order, some exceptions may not be catched by the most specific handler.
</span>
This inspection highlights situations when except clauses are not in the correct order
(from the more specific to the more generic) or one exception class is caught twice. <br/>
If you don't fix the order, some exceptions may not be catched by the most specific handler.
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects when a custom exception class is raised but doesn't inherit from the builtin "Exception" class.
</span>
This inspection detects when a custom exception class is raised but doesn&apos;t inherit from the builtin &quot;Exception&quot; class.
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects <code>'from __future__ import'</code> statements which are used not in the beginning of a file.
</span>
This inspection detects <code>'from __future__ import'</code> statements which are used not in the beginning of a file.
</body>
</html>
@@ -1,7 +1,6 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection is used when a variable is defined through the "global" statement but the variable is not defined in the module scope.
</span>
This inspection is used when a variable is defined through the &quot;global&quot; statement but the variable is not defined in the module
scope.
</body>
</html>
@@ -1,7 +1,6 @@
<html>
<body>
<span style="font-family: verdana,serif;">This inspection reports inconsistent indentation in Python source files (for example, use of a mixture
of tabs and spaces).
</span>
This inspection reports inconsistent indentation in Python source files (for example, use of a mixture
of tabs and spaces).
</body>
</html>
@@ -1,8 +1,6 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects mismatched parameters in a docstring.
Please note that it doesn't warn you of missing parameters, if none of them is mentioned in a docstring.
</span>
This inspection detects mismatched parameters in a docstring.
Please note that it doesn&apos;t warn you of missing parameters, if none of them is mentioned in a docstring.
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection checks mutual compatibility of <code>__new__</code> and <code>__init__</code> signatures.
</span>
This inspection checks mutual compatibility of <code>__new__</code> and <code>__init__</code> signatures.
</body>
</html>
@@ -1,5 +1,5 @@
<html>
<body><span style="font-family: verdana,serif;">
<body>
This inspection notifies you if the current project has no Python interpreter configured or an invalid Python interpreter.
</span></body>
</body>
</html>
@@ -1,8 +1,6 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects situations when list creation
could be rewritten with list literal.
</span>
This inspection detects situations when list creation
could be rewritten with list literal.
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects lack of encoding magic comment for file.
</span>
This inspection detects lack of encoding magic comment for file.
</body>
</html>
@@ -1,6 +1,5 @@
<html><body>
<span style="font-family: verdana,serif;">
This inspection detects cases when first parameter, such as 'self' or 'cls', is reassigned in a method.
In most cases imaginable, there's no point in such reassignment, and it indicates an error.
</span>
<html>
<body>
This inspection detects cases when first parameter, such as &apos;self&apos; or &apos;cls&apos;, is reassigned in a method.
In most cases imaginable, there&apos;s no point in such reassignment, and it indicates an error.
</body></html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects any methods which may safely be made static.
</span>
This inspection detects any methods which may safely be made static.
</body>
</html>
@@ -1,6 +1,5 @@
<html>
<body><span style="font-family: verdana,serif;">
This inspection detects inconsistencies in overriding method signatures.
</span>
<body>
This inspection detects inconsistencies in overriding method signatures.
</body>
</html>
@@ -1,5 +1,5 @@
<html>
<body><span style="font-family: verdana,serif;">
This inspection looks for methods that lack a first parameter (which is usually named <code>self</code>).
</span></body>
<body>
This inspection looks for methods that lack a first parameter (which is usually named <code>self</code> ).
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection warns if call to super constructor in class is missed
</span>
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects lack of docstring and an empty docstring.
</span>
</body>
</html>
@@ -1,7 +1,6 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects lack of type hints for function declaration in
one of the two formats: parameter annotations or a type comment
This inspection detects lack of type hints for function declaration in
one of the two formats: parameter annotations or a type comment
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection looks for certain decorators that don't nest well.
</span>
This inspection looks for certain decorators that don&apos;t nest well.
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects file contains non-ASCII characters and doesn't have an encoding declaration at the top.
</span>
This inspection detects file contains non-ASCII characters and doesn&apos;t have an encoding declaration at the top.
</body>
</html>
@@ -1,6 +1,6 @@
<html>
<body><span style="font-family: verdana,serif;">
This inspection is similar to pylint inspection E1111. It highlights situations when an assignment is done on a function call but the inferred function doesn't return anything.
</span>
<body>
This inspection is similar to pylint inspection E1111. It highlights situations when an assignment is done on a function call but the
inferred function doesn't return anything.
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection highlights occurrences of new-style class features in old-style classes.
</span>
This inspection highlights occurrences of new-style class features in old-style classes.
</body>
</html>
@@ -1,5 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">This inspection warns about imported or required, but not installed packages.</span>
This inspection warns about imported or required, but not installed packages.
</body>
</html>
@@ -1,5 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">This inspection runs the pep8.py tool to check for violations of the PEP 8 coding style guide.</span>
This inspection runs the pep8.py tool to check for violations of the PEP 8 coding style guide.
</body>
</html>
@@ -1,5 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">This inspection checks the PEP8 naming conventions.</span>
This inspection checks the PEP8 naming conventions.
</body>
</html>
@@ -1,8 +1,6 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection checks that properties are accessed correctly:
read-only not set, write-only not read, non-deletable not deleted.
</span>
This inspection checks that properties are accessed correctly:
read-only not set, write-only not read, non-deletable not deleted.
</body>
</html>
@@ -1,8 +1,6 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection checks that arguments to <code>property()</code> and functions annotated with
<code>@property</code> and friends look reasonably.
</span>
This inspection checks that arguments to <code>property()</code> and functions annotated with
<code>@property</code> and friends look reasonably.
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection warns if a protected member is access outside the class or a descendant of the class where it's defined.
</span>
This inspection warns if a protected member is access outside the class or a descendant of the class where it&apos;s defined.
</body>
</html>
@@ -1,9 +1,7 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects attempts to raise a new-style class as an exception in projects with
language level less than 2.5. Raising new-style classes is only supported in Python 2.5
or later.
</span>
This inspection detects attempts to raise a new-style class as an exception in projects with
language level less than 2.5. Raising new-style classes is only supported in Python 2.5
or later.
</body>
</html>
@@ -1,9 +1,9 @@
<html>
<body><span style="font-family: verdana,serif;">
This inspection detects unconditional redeclarations of names without being used in between, like this:<br/>
<pre>def x(): pass
<body>
This inspection detects unconditional redeclarations of names without being used in between, like this: <br/>
<pre>def x(): pass
x = 2
</pre>
It applies to function and class declarations, and top-level assignments.<br/>
</span></body>
It applies to function and class declarations, and top-level assignments. <br/>
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection highlights redundant parentheses in statements.
</span>
</body>
</html>
@@ -1,6 +1,6 @@
<html>
<body><span style="font-family: verdana,serif;">
<body>
This inspection reports occurrences of <code>return</code> statements with a return value inside
<code>__init__</code> methods of classes. A constructor should not return any value.
</span> </body>
<code>__init__</code> methods of classes. A constructor should not return any value.
</body>
</html>
@@ -1,8 +1,6 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects call for function "set" which can be replaced with
set literal.
</span>
This inspection detects call for function &quot;set&quot; which can be replaced with
set literal.
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects equality comparison with a boolean literal.
</span>
This inspection detects equality comparison with a boolean literal.
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection highlights docstrings not using triple double-quoted string format.
</span>
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects statements without any effect.
</span>
This inspection detects statements without any effect.
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects when a string exception is raised.
</span>
This inspection detects when a string exception is raised.
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects errors in string formatting operations.
</span>
This inspection detects errors in string formatting operations.
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection check that in any call to super(A, B), B either is an instance of A or a subclass of A.
</span>
This inspection check that in any call to super(A, B), B either is an instance of A or a subclass of A.
</body>
</html>
@@ -1,5 +1,5 @@
<html>
<body><span style="font-family: verdana,serif;">
<body>
This inspection detects trailing semicolons in statements.
</span> </body>
</body>
</html>
@@ -1,6 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection check that the number of expressions on right-hand side and targets on left-hand side are the same.</span>
This inspection check that the number of expressions on right-hand side and targets on left-hand side are the same.
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects assignments to tuple item.
</span>
This inspection detects assignments to tuple item.
</body>
</html>
@@ -1,8 +1,8 @@
<html>
<body><span style="font-family: verdana,serif;">
<body>
This inspection detects type errors in function call expressions.
Due to dynamic dispatch and duck typing, this is possible in a limited but
useful number of cases. Types of function parameters can be specified in
docstrings or in Python 3 function annotations.
</span></body>
</body>
</html>
@@ -1,5 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">This inspection warns about local variables referenced before assignment.</span>
This inspection warns about local variables referenced before assignment.
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection highlights backslashes in places where line continuation is implicit (inside (), [], {}).
</span>
</body>
</html>
@@ -1,3 +1,4 @@
<html><body><span style="font-family: verdana,serif;">
<html>
<body>
This inspection detects code which can not be normally reached.
</span></body></html>
</body></html>
@@ -1,7 +1,7 @@
<html>
<body><span style="font-family: verdana,serif;">
<body>
This inspection detects names that should resolve but don't.
Due to dynamic dispatch and duck typing, this is possible in a limited but useful
number of cases. Top-level and class-level items are supported better than instance items.
</span></body>
</body>
</html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects usage of language features which not supported by current Python version
</span>
This inspection detects usage of language features which not supported by current Python version
</body>
</html>
@@ -1,3 +1,4 @@
<html><body><span style="font-family: verdana,serif;">
This inspection highlights local variables,parameters or local functions unused in scope.
</span></body></html>
<html>
<body>
This inspection highlights local variables,parameters or local functions unused in scope.
</body></html>
@@ -1,7 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif;">
This inspection detects undefined roles.
</span>
This inspection detects undefined roles.
</body>
</html>