Eclipse中的PEP8与Umlaut存在问题

时间:2015-12-16 15:42:48

标签: python eclipse pydev pep8

我在Eclipse中发现了一个奇怪的pep8检查器行为(曾经发生在Luna中,在我更新到Mars后仍然存在):

<form data-toggle="validator" method="post" action="form.php" id="quickQuoteForm" class="aSubmit">
                            <div style="display:none"><input type="text" name="maximus" value=""></div>
                            <input type="hidden" name="subject" value="Blue: Quick Quote Request">
                            <div class="contact-form-small">
                                <div class="row">
                                    <div class="col-xs-12  col-md-6">
                                        <div class="form-group">
                                            <input type="text" placeholder="First and Last Name *" aria-invalid="false" aria-required="true" size="40" value="" name="name" required>
                                        </div>
                                        <div class="form-group">
                                            <input type="email" placeholder="E-mail address" aria-invalid="false" aria-required="true" size="40" value="" name="email" required>
                                        </div>
                                        <select aria-invalid="false" name="service">
                                            <option value="Cargo">Cargo</option>
                                            <option value="Ground Transport">Ground Transport</option>
                                            <option value="Logistic Service">Logistic Service</option>
                                            <option value="Storage">Storage</option>
                                            <option value="Trucking Service">Trucking Service</option>
                                            <option value="Warehousing">Warehousing</option>
                                        </select>
                                    </div>
                                    <div class="col-xs-12  col-md-6">
                                        <div class="form-group">
                                            <input type="text" placeholder="Subject *" aria-invalid="false" aria-required="true" size="40" value="" name="subject" required>
                                        </div>
                                        <div class="form-group">
                                            <textarea placeholder="Message *" aria-invalid="false" rows="10" cols="40" name="message" required></textarea>
                                        </div>
                                    </div>
                                    <div class="col-xs-12  col-md-12">
                                        <input type="submit" class="btn btn-primary pull-right" value="SEND MESSAGE">
                                        <img class="ajax-loader" id="loader" src="images/ajax-loader.gif" alt="Sending ..." style="display:none;">
                                    </div>
                                </div><!-- /.row -->
                                <div class="response success">Your message was sent; we'll be in touch shortly!</div>
                                <div class="response error">Unfortunately, we could not sent your message right now. Please try again.</div>
                            </div><!-- /.contact-form-small -->
                        </form>

只有在我检查&#34;使用系统解释器&#34;在 窗口 - &gt;偏好 - &gt; PyDev - &gt;编辑 - &gt;代码分析 - &gt; pep8.py (我需要它,因为我想指定其他参数)。

源文件编码为UTF-8。我手动在该文件上运行pep8.exe或pep8.py时没有问题。

我不明白 - 任何人都知道如何解决这个问题或来自哪里?

0 个答案:

没有答案