Skip to content

Commit f45389f

Browse files
committed
Exclude the old_clients from lint
1 parent 8f05333 commit f45389f

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

juju/client/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949

5050
from ._client import * # noqa, isort:skip
5151

52+
5253
class ClientModuleClass:
5354
def __init__(self):
5455
"""
@@ -73,6 +74,7 @@ def set_new_client(self, server_version):
7374
self.defs = _2_9_definitions
7475
self.client_module = _2_9_client
7576

77+
7678
"""
7779
This is basically a hack to turn this module into a dynamic
7880
binding registry, by replacing this module object with a class

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,5 @@ envdir = {toxworkdir}/py3
7676
commands = python {posargs}
7777

7878
[flake8]
79-
exclude = juju/client/_*
79+
exclude = juju/client/_*, juju/client/old_clients
8080
ignore = E501,W504,E402

0 commit comments

Comments
 (0)