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

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

        Number of occurences: {{ warning_data["count"] }}
17
18
19
20
21
22
23
24
25
26
27
28

        {% for path, lineno, file_content in warning_data["path"] %}
        <h5>In {{ path }} line {{ lineno }}</h5>
        {% if path in files_to_url %}
        <p>
        <a href="{{ files_to_url[path] }}#L{{ lineno }}" target="_blank">
            File on branch/default
        </a>
        </p>
        {% endif %}

        {% if file_content %}
29
        {{ highlight_code(file_content, lineno) }}
30
31
        {% endif %}

32
33
34
35
        {% endfor %}

        From those projects:
        <ul>
36
37
        {% for project, count in warning_data["projects"].items() %}
        <li><a target="_blank" href="{{ project.web_url }}">{{ project.name }}</a>: {{ count }}</li>
38
39
40
41
42
43
44
        {% endfor %}
        </ul>


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