Tuesday, 2026-03-03

opendevreviewRadomir Dopieralski proposed openstack/horizon master: Revert "Create and use local upper-constraints to avoid Selenium failing"  https://review.opendev.org/c/openstack/horizon/+/97826608:31
opendevreviewRadomir Dopieralski proposed openstack/horizon master: Revert "Create and use local upper-constraints to avoid Selenium failing"  https://review.opendev.org/c/openstack/horizon/+/97826608:32
opendevreviewJan Jasek proposed openstack/horizon master: zuul: Remove PhantomJS deps and update parent job  https://review.opendev.org/c/openstack/horizon/+/97826410:29
opendevreviewJan Jasek proposed openstack/horizon master: Remove old Horizon integration tests  https://review.opendev.org/c/openstack/horizon/+/97855215:32
stephenfinrdopiera: tmazur: Before I invest ages in manually fixing a whole load of pep8 failures after lots of sed'ing: how open are you folks to adopting ruff? 🤔16:11
stephenfin(context is https://review.opendev.org/c/openstack/horizon/+/978278 but also my earlier selenium 4.x change)16:12
stephenfin*context is mainly16:12
rdopierastephenfin: I used ruff on horizon code before, it should just work16:48
stephenfinI mean `ruff format` (though also `ruff check`). We use it in all SDK projects and most oslo projects for some time now, and I believe keystone and a few others are using it also.16:49
rdopierastephenfin: this is my ruff.toml if you want it: https://gist.github.com/deshipu/394526181650b1df663ceaa1dc206dd716:50
rdopieraI don't want to go through the global requirements process to include it in test requirements16:51
stephenfinruff is a linter so it should be blacklisted from g-r16:51
rdopieraruff is a lot of things16:52
stephenfinthough we run it via pre-commit, which bypasses the g-r check, e.g. https://github.com/openstack/openstacksdk/blob/cf6f9a00af3bd84de1e77b07a367511df1f2001d/tox.ini#L6716:52
rdopieraideally we would have it in our pep8 job instead of hacking/flake16:52
rdopierapersonally I'm not a fan of autoformatters, I think they remove important signal from the code16:53
stephenfinaye, that's what I would suggest. I have a local series to add it (`ruff check` first, then `ruff format` later) but I didn't want to propose it unless you were open to it16:53
stephenfinrdopiera: do tell?16:53
rdopieraif you see badly formatted code, it gives you an idea about where the bugs might be16:54
stephenfinhmm, fair, but in a world of LLMs is that still valid?16:54
rdopieraeven more so16:54
stephenfinthinking of https://nadh.in/blog/code-is-cheap/16:54
rdopierallms generated code is a liability16:55
rdopieraI mean, all code is liability, but code that no human looked at is doubly so16:55
stephenfin*"vibe coded" LLM code is a liability16:55
rdopieraautomation is a blunt instrument16:55
* stephenfin personally approaches LLM-written code as code written by someone else and reviews it like another person's code16:56
rdopierahumans make certain kinds of errors commonly, llms make errors no human would even think about16:57
stephenfinso what I love about auto-formatters is that they allow you to large, sed/awk/<whatever>-driven updates and not have to go fix a few hundred pep8 violations after16:58
rdopieraanyways, I would love to see a cross-project session at the PTG about new tools that we could use16:58
stephenfin*allow you to make16:58
rdopieraI would rather not go against the grain of the official openstack recommendations16:58
rdopierawe are already in an icky situation with pytest16:58
stephenfinSo I've seen. Makes sense16:58
opendevreviewMerged openstack/horizon master: zuul: Remove PhantomJS deps and update parent job  https://review.opendev.org/c/openstack/horizon/+/97826417:00
opendevreviewStephen Finucane proposed openstack/horizon master: Migrate setup configuration to pyproject.toml  https://review.opendev.org/c/openstack/horizon/+/97879217:01
opendevreviewStephen Finucane proposed openstack/horizon master: Migrate coverage configuration to pyproject.toml  https://review.opendev.org/c/openstack/horizon/+/97879317:01
opendevreviewStephen Finucane proposed openstack/horizon master: Move horizon.hacking to a private module  https://review.opendev.org/c/openstack/horizon/+/97879417:01
opendevreviewStephen Finucane proposed openstack/horizon master: Migrate to pre-commit for linter checks  https://review.opendev.org/c/openstack/horizon/+/97879517:01
rdopieraI'm off for today17:02

Generated by irclog2html.py 4.1.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!