<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">Le 15/12/2014 10:27, Sylvain Bauza a
      écrit :<br>
    </div>
    <blockquote cite="mid:548EA969.7030707@redhat.com" type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <br>
      <div class="moz-cite-prefix">Le 15/12/2014 10:04, Chen CH Ji a
        écrit :<br>
      </div>
      <blockquote
cite="mid:OF3CC3D2BA.FBE4E738-ON48257DAF.003120B4-48257DAF.0031DD26@cn.ibm.com"
        type="cite">
        <p><font face="sans-serif" size="2">tox -e pep8 usually takes
            several minutes on my test server, actually I only changes
            one file and I knew something might wrong there</font><br>
          <font face="sans-serif" size="2">anyway to only check that
            file? Thanks a lot</font><br>
          <br>
        </p>
      </blockquote>
      That's really non necessary to check all the files if you only
      modified a single one.<br>
      You can just take the files you modified and run a check by doing
      this :<br>
      <br>
      git diff HEAD^ --name-only | xargs tools/with_venv.sh flake8<br>
      <br>
      <br>
    </blockquote>
    <br>
    Eh, just replying to myself, I just saw there is a recent commit
    which added a -8 flag to run_tests for checking PEP8 only against
    HEAD.<br>
    <br>
    <a class="moz-txt-link-freetext" href="https://review.openstack.org/#/c/110746/">https://review.openstack.org/#/c/110746/</a><br>
    <br>
    That's worth it :-)<br>
    <br>
    <blockquote cite="mid:548EA969.7030707@redhat.com" type="cite"> Hope
      it helps,<br>
      -Sylvain<br>
      <br>
      <br>
      <blockquote
cite="mid:OF3CC3D2BA.FBE4E738-ON48257DAF.003120B4-48257DAF.0031DD26@cn.ibm.com"
        type="cite">
        <p> <font face="sans-serif" size="2">Best Regards! <br>
            <br>
            Kevin (Chen) Ji 纪 晨<br>
            <br>
            Engineer, zVM Development, CSTL<br>
            Notes: Chen CH Ji/China/IBM@IBMCN   Internet: <a
              moz-do-not-send="true" class="moz-txt-link-abbreviated"
              href="mailto:jichenjc@cn.ibm.com">jichenjc@cn.ibm.com</a><br>
            Phone: +86-10-82454158<br>
            Address: 3/F Ring Building, ZhongGuanCun Software Park,
            Haidian District, Beijing 100193, PRC </font><br>
        </p>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
OpenStack-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
OpenStack-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>