/usr/lib/python2.6/site-packages/keystoneclient/tests/hacking
Edit: /usr/lib/python2.6/site-packages/keystoneclient/tests/hacking/checks.pyc (1199B)
Ñò
5
Wc @ s( d Z d d k Z d „ Z d „ Z d S( sí python-keystoneclient's pep8 extensions.
In order to make the review process faster and easier for core devs we are
adding some python-keystoneclient specific pep8 checks. This will catch common
errors so that core devs don't have to.
iÿÿÿÿNc c sQ t i d ƒ } t i | | ƒ o+ d | i d d ƒ | f } d | f Vn d S( Ns6 (((from)|(import))\s+oslo\.)|(from\s+oslo\s+import\s+)s( K333: '%s' must be used instead of '%s'.s oslo.t oslo_i ( t ret compilet matcht replace( t logical_linet blank_beforet filenamet oslo_namespace_importst msg( ( sR /tmp/pip-build-wCUybK/python-keystoneclient/keystoneclient/tests/hacking/checks.pyt check_oslo_namespace_imports s
c C s | t ƒ d S( N( R
( t register( ( sR /tmp/pip-build-wCUybK/python-keystoneclient/keystoneclient/tests/hacking/checks.pyt factory$ s ( t __doc__R R
R ( ( ( sR /tmp/pip-build-wCUybK/python-keystoneclient/keystoneclient/tests/hacking/checks.pyt
s