]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr: remove fix (autopep8) rule from tox.ini
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 7 May 2024 17:55:56 +0000 (13:55 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 13 Jun 2024 14:14:29 +0000 (10:14 -0400)
Remove the annoying and unloved fix rule from the default envlist of the
pybind/mgr/tox.ini file.

If you don't like this, and want your code formatted automatically, opt
your module into `black` by {format,check}-black rules in tox.ini.
Embrace the much more widely community accepted tool... enjoy the
automatic cookie-cutter formatting... avoid arguing about formatting...
;-)

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

index 62605e7cc2fea6ccaccd7c823ad53d05f6fd81c8..75ea9971ef3211ef7780d5d54cfcf8c5dcff2d31 100644 (file)
@@ -2,7 +2,6 @@
 envlist =
     py3
     mypy
-    fix
     flake8
     jinjalint
     nooptional
@@ -124,30 +123,6 @@ setenv = {[testenv]setenv}
 deps = {[testenv]deps}
 commands = {[testenv]commands}
 
-[testenv:fix]
-basepython = python3
-deps =
-    autopep8
-modules =
-    alerts \
-    balancer \
-    cephadm \
-    cli_api \
-    crash \
-    devicehealth \
-    diskprediction_local \
-    insights \
-    iostat \
-    nfs \
-    orchestrator \
-    prometheus \
-    rgw \
-    status \
-    telemetry
-commands =
-    python --version
-    autopep8 {[autopep8]addopts} \
-      {posargs:{[testenv:fix]modules}}
 
 [testenv:pylint]
 deps =