osmith has submitted this change. (
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(-)
Approvals:
pespin: Looks good to me, but someone else must approve
Jenkins Builder: Verified
fixeria: Looks good to me, approved
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
https://gerrit.osmocom.org/c/osmo-dev/+/40349?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I681627a3271ec65f356249e930323efc9ce0954d
Gerrit-Change-Number: 40349
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>