osmith submitted this change.
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(-)
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",
+]
To view, visit change 40349. To unsubscribe, or for help writing mail filters, visit settings.