deprecated-warnings.html 1.08 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!doctype html>
<html>
    <head>
        <title>Collected deprecated warnings</title>
        <link href="css/style.css" rel="stylesheet" type="text/css">
    </head>
    <body>
        <h1>Collected deprecated warnings</h1>

        {% for warning_name, warning_data in warnings %}
        <h4>Warning: "{{ warning_name }}"</h4>

        Number of occurences: {{ warning_data["count"] }}
        <br>
        File where it's raised:
        <ul>
        {% for path in warning_data["path"]|sort %}
18
19
20
21
22
23
24
25
26
27
28
        <li>
            {% if path.split(":")[0] in files_to_url %}
            <a href="{{ files_to_url[path.split(":")[0]] }}#L{{ path.split(":")[1] }}" target="_blank">
            {% endif %}

            {{ path }}

            {% if path.split(":")[0] in files_to_url %}
            </a>
            {% endif %}
        </li>
29
30
31
32
33
34
35
36
37
38
39
40
41
42
        {% endfor %}
        </ul>

        From those projects:
        <ul>
        {% for project, count in warning_data["projects"]|dictsort %}
        <li>{{ project }}: {{ count }}</li>
        {% endfor %}
        </ul>


        {% endfor %}
    </body>
</html>