The pytest decorators are the most immediately useful part for me — @skip_linux and @unless_macos solve something I've hacked around with pytest.mark.skipif(sys.platform != ...) more times than I'd like to admit.
The CI and AI agent detection is interesting. Curious how you handle cases where multiple agents are running in the same environment — does it return the first match or all of them?
For the moment I consider that only one agent can be active. If multiple are detected, I raise an error. That is intentional to gather more context and feedback from users. I will change this behavior as soon as someone report me a use-case.
The pytest decorators are the most immediately useful part for me — @skip_linux and @unless_macos solve something I've hacked around with pytest.mark.skipif(sys.platform != ...) more times than I'd like to admit. The CI and AI agent detection is interesting. Curious how you handle cases where multiple agents are running in the same environment — does it return the first match or all of them?
For the moment I consider that only one agent can be active. If multiple are detected, I raise an error. That is intentional to gather more context and feedback from users. I will change this behavior as soon as someone report me a use-case.
See the implementation at: https://github.com/kdeldycke/extra-platforms/blob/ecbe740bf7...
[dead]