inspection/intention descriptions with various bad-looking tags/styles fixed

This commit is contained in:
Dmitry Batkovich
2016-07-13 15:10:20 +03:00
parent eaa1fd5bc5
commit 0705e64c28
29 changed files with 31 additions and 31 deletions
@@ -1,5 +1,5 @@
<html>
<body>
<span style="font-family: verdana,serif; font-size: small;">Changes containing file name to corresponding class name</span>
<span>Changes containing file name to corresponding class name</span>
</body>
</html>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention replaces a string format operator with the equivalent 'format' method call.
</span>
</body>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention replaces variadic parameter(s) with usual.
</span>
</body>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention transforms <code>from module_name import ...</code> into <code>import module_name</code>
and qualifies any names imported from that module by module name.
</span>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention replaces <code>import foo</code> with <code>from foo import ...</code>
and drop qualifiers at references to names from <code>foo</code>.
</span>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention allows to add or remove an alias from an import element, renaming references accordingly.
Works both for <code>import ... as ...</code> and <code>from ... import ... as</code> statements.
</span>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention used to specify annotations for parameters and return type of a function.
<p/>
If there is type information collected in run-time, it is used to set the default values of types.
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention converts lambda function to function definition statement.
</span>
</body>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention converts tuples and set literals to list literals.
</span>
</body>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention converts tuples and list literals to set literals.
</span>
</body>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention converts list literals and set literals to tuples.
</span>
</body>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention converts triple-quoted string to single-quoted.
</span>
</body>
@@ -1,13 +1,13 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention replaces either</span>
<pre>
<b>a or b</b> with <b>not(not a and not b)</b> or
<b>a and b</b> with <b>not(not a or not b)</b>
</pre>
<span style="font-family: verdana,sans-serif;">
<span>
inside boolean expression.
</span>
</body>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention converts translation from dict constructor to dict literal form.
</span>
</body>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention converts translation from dict literal form to dict constructor.
</span>
</body>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention swaps the operands of a comparison expression.
</span>
</body>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention generates documentation string stub.
</span>
</body>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention converts two nested if statements into one if statement containing conjuction operation in it.
</span>
</body>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention converts boolean comparison expression <b>not(a negop b)</b> into <b>a op b</b>.
Where <small>op</small> and <small>negop</small> are mutually inverse comparison operators, like <b>==</b> and <b>!=</b>.
</span>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention allows conversion between single-quoted and double-quoted strings.
</span>
</body>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention converts if statement containing conjuction operation into two nested if statements with simplified conditions.
</span>
</body>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention replaces a string concatenation with the equivalent expression with string formatting operator usage
or with str.format() method call (for Python versions >= 2.7).
</span>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention transforms conditional expression into if/else statement.
</span>
</body>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention replaces a list comprehension with for loop.
</span>
</body>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention used to specify type for expression in docstring.
</span>
</body>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention used to specify type for expression in Python 3 using type annotations.
</span>
</body>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention used to specify type for expression by assertion.
</span>
</body>
@@ -1,6 +1,6 @@
<html>
<body>
<span style="font-family: verdana,sans-serif;">
<span>
This intention wraps selected template part with {% trans %} tag.
</span>
</body>
@@ -7,13 +7,13 @@ E.g.
<br> <br>
<code>// bare literal used, warning:</code><br>
<code><b><font color="#000080">new </font></b> Font("Arial", <span style="background-color:yellow"><b><font color="#000080">2</font></b></span>)</code><br>
<code><b>new </b> Font("Arial", <span><b>2</b></span>)</code><br>
<br>
instead of<br> <br>
<code>// "magic" constant used, good:</code><br>
<code><b><font color="#000080">new </font></b> Font("Arial", Font.<b><font color="#000080">ITALIC</font></b>)</code><br>
<code><b>new </b> Font("Arial", Font.<b>ITALIC</b>)</code><br>
<br> <br>