osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-dev/+/40349?usp=email )
Change subject: ruff: add format exclude block ......................................................................
ruff: add format exclude block
Make it possible to run "ruff format --diff" in CI on tests/test_gen_makefile.py and possibly other files in the future.
Related: osmo-ci Ic8ee81f44f71ebb8606e46b3c00332286a89dae9 Change-Id: I681627a3271ec65f356249e930323efc9ce0954d --- M .ruff.toml 1 file changed, 10 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-dev refs/changes/49/40349/1
diff --git a/.ruff.toml b/.ruff.toml index 64ca401..6c2df50 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -10,3 +10,13 @@ [lint] # E741: Ambiguous variable name: `l` ignore = ["E741"] + +[format] +exclude = [ + "cgit/osmo-commit-filter.py", + "gen_makefile.py", + "net/fill_config.py", + "net/templates/freeswitch/python/dialplan-dgsm/__init__.py", + "osmo-cn-latest/provision-hlr.py", + "sysmobts-calib.py", +]