File: lint-summary.rst

package info (click to toggle)
cmake-format 0.6.13-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,436 kB
  • sloc: python: 16,990; makefile: 14
file content (88 lines) | stat: -rw-r--r-- 5,461 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
==================
Linter Checks List
==================

Below is a running list of planned and implemented lint checks.

-----------
Implemented
-----------

Here is a list of implemented lint checks. More detailed information about
each check is available in :ref:`lint-checks`.

.. default-role:: ref

.. include:: bits/lintimpl-table.rst

-------
Planned
-------

Here are some planned lint checks based on the kinds of things that ``pylint``
looks for. If there's a particular check you'd like to see added, please open
an issue on github.

+-------+-------------------------------------------------------------------+
| C0203 | uncanonical spelling of {:s}                                      |
+-------+-------------------------------------------------------------------+
| C0204 | uncanonical keyword order                                         |
+-------+-------------------------------------------------------------------+
| C0205 | use of bad-idea command {:s}                                      |
+-------+-------------------------------------------------------------------+
| C0302 | Too many lines in listfile                                        |
+-------+-------------------------------------------------------------------+
| C0303 | Wrong hanging indentation                                         |
+-------+-------------------------------------------------------------------+
| C0304 | raw assignment to property                                        |
+-------+-------------------------------------------------------------------+
| E0001 | (syntax error raised for a listfile; message varies)              |
+-------+-------------------------------------------------------------------+
| E0011 | Unrecognized file option %r                                       |
+-------+-------------------------------------------------------------------+
| E0102 | %s already defined line %s                                        |
+-------+-------------------------------------------------------------------+
| E1123 | Passing unexpected keyword argument %r in function call           |
+-------+-------------------------------------------------------------------+
| F0001 | (error prevented analysis; message varies)                        |
+-------+-------------------------------------------------------------------+
| F0002 | %s: %s (message varies)                                           |
+-------+-------------------------------------------------------------------+
| F0010 | error while code parsing: %s                                      |
+-------+-------------------------------------------------------------------+
| I0010 | Unable to consider inline option %r                               |
+-------+-------------------------------------------------------------------+
| I0011 | Locally disabling %s                                              |
+-------+-------------------------------------------------------------------+
| I0012 | Locally enabling %s                                               |
+-------+-------------------------------------------------------------------+
| I0013 | Ignoring entire file                                              |
+-------+-------------------------------------------------------------------+
| I0020 | Suppressed %s (from line %d)                                      |
+-------+-------------------------------------------------------------------+
| I0021 | Useless suppression of %s                                         |
+-------+-------------------------------------------------------------------+
| R0201 | Macro could be a function                                         |
+-------+-------------------------------------------------------------------+
| R0401 | Cyclic import (%s)                                                |
+-------+-------------------------------------------------------------------+
| R0801 | Similar lines in %s files                                         |
+-------+-------------------------------------------------------------------+
| W0102 | Using local variable %r before assignment                         |
+-------+-------------------------------------------------------------------+
| W0103 | Undefined local variable %r                                       |
+-------+-------------------------------------------------------------------+
| W0104 | Use of deprecated command                                         |
+-------+-------------------------------------------------------------------+
| W0105 | Use of deprecated kwarg                                           |
+-------+-------------------------------------------------------------------+
| W0106 | Use of deprecated command form {:s}                               |
+-------+-------------------------------------------------------------------+
| W0212 | Access to a private variable %s of a find module                  |
+-------+-------------------------------------------------------------------+
| W0402 | Uses of a deprecated find module %r                               |
+-------+-------------------------------------------------------------------+
| W0622 | Redefining built-in %r                                            |
+-------+-------------------------------------------------------------------+
| W1401 | Anomalous backslash in string: \'%s\'.                            |
+-------+-------------------------------------------------------------------+