]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/mgr: use black & isort on the smb module
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 30 Jan 2024 21:49:25 +0000 (16:49 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 25 Apr 2024 23:10:39 +0000 (19:10 -0400)
commit3981d3d3841efc0c867c3f6084e4a5522c79e347
treee0f8239cc45a363ef0ce0f36d44fb67815931eb2
parent160e12e72478818d28d4d739aa3bfe83c94fd661
pybind/mgr: use black & isort on the smb module

Provide tox envs that check or reformat code with black and isort,
currently applied to only the new smb module.
This is similar to what we recently did for enabling tox in the
cephadmlib dir as it only applies to new code. However, other modules
that want to opt-in to automated, python-community-wide typical,
stop-thinking-and-let-tools-do-it approach to code formatting can
be added to the new envs later on.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/pybind/mgr/tox.ini