Stavros Ntentos

Results 394 comments of Stavros Ntentos

> So it's hard to tell whether a URL is a GitLab base URL or a project URL (which shouldn't be used). Yeah, I have done that mistake multiple times...

Can I suggest using a different "external" interface, but the same internal? 😕 (`merge_requests()` and `merge_requests_iterator()`, with the original `merge_requests()` as `_merge_requests()`). _or idk how else would it be possible...

Ah, so it appears to be _trivially easy_ 😅 ... but for trivial code. Here (master-at-the-time): https://github.com/python-gitlab/python-gitlab/blob/37eb8e0a4f0fd5fc7e221163b84df3461e64475b/gitlab/v4/objects/commits.py#L88-L92 You have to disambiguate based on an "non-existent" argument 😕 Hopefully, `mypy` can...

So... the suggestion is still to type-narrow ourselves instead "where needed"? (and as a bonus question, type-narrow in my case too?) If you are not planning to pursue this better,...

Sure, why not? _Anything can be done_; but please give me your (repo's) requirements: * How easy / complex you'd like the solution? * Ellipsize / Truncate (with or without...

The simplest one would've been `{bad_val:.100s}`, but not all classes implement `__format__` 😅 (in my case, a `@dataclass`) ... neither would it have had the requested bells and whistles. and...

Not an official documentation, but documented somehow? https://github.com/tmbo/questionary/issues/253#issuecomment-1641773227

> Sorry I'm not sure I properly understand the issue Editing a saved query is not treated as "unsaved". There's no indication (a) that it's modified, (b) it's unsaved. >...

Maybe some button inside the TOC? Or a float on either side of the page? (although I don't really like floats, they remind me chatbots i.e., the scourge). Or just...

I don't want to sound purist. I'd like to refocus the ticket back at my request. All I ask from `lint-staged` is to do this: ```patch diff --git a/bin/lint-staged.js b/bin/lint-staged.js...