PEP 8 Public and internal interfaces

Define which interfaces are public and which are internal based
on PEP 8.

For reference, PEP 8 section is here:
http://www.python.org/dev/peps/pep-0008/#public-and-internal-interfaces

Change-Id: I14233796b7838b78fbd355014478f3e326542966
This commit is contained in:
Brant Knudson 2013-10-12 17:03:58 -05:00
parent 876c2d6c2a
commit 86000b47f0
6 changed files with 36 additions and 0 deletions

View File

@ -17,3 +17,17 @@ import pbr.version
__version__ = pbr.version.VersionInfo('python-keystoneclient').version_string()
__all__ = [
# Modules
'generic',
'v2_0',
'v3',
# Packages
'access',
'client',
'exceptions',
'httpclient',
'service_catalog',
]

View File

@ -14,3 +14,8 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
__all__ = [
'exceptions',
]

View File

@ -0,0 +1,4 @@
__all__ = [
'client',
]

View File

@ -1,2 +1,7 @@
# flake8: noqa
from keystoneclient.v2_0.client import Client
__all__ = [
'client',
]

View File

@ -1,2 +1,7 @@
# flake8: noqa
from keystoneclient.v3.client import Client
__all__ = [
'client',
]

View File

@ -0,0 +1,3 @@
__all__ = [
]