Markus Legner

Results 11 comments of Markus Legner

Ok, then maybe I misunderstood the option... But does it (i) remove that percentage or (ii) go to that percentage? So for example, we are at 70% brightness and the...

Thanks for your insights, @tfranzel! As far as I understand the [OpenAPI specification](https://swagger.io/docs/specification/adding-examples/), examples can be independently added to various entities like requests/responses, objects, and individual properties; these examples can...

I just did a quick test on https://editor.swagger.io/ with the [petstore example](https://github.com/OAI/OpenAPI-Specification/blob/main/examples/v3.0/petstore.yaml), which I extended with some examples ([openapi.yaml](https://github.com/tfranzel/drf-spectacular/files/9157942/openapi.yaml.txt)). I observed that the behavior is indeed what I expected and...

Let me give it a try and if I run into issues I will ask for your help. :smile: I would then also adjust the documentation accordingly.

@tfranzel I just thought a bit more about how to implement that and here's my current idea: It would be great if we could add the examples directly to the...

There is another issue with the `Performance/Casecmp` cop: For `str1.downcase == str2.downcase` it suggests `str1.casecmp(str2).zero?`. But then `Style/NumericPredicate` jumps in to suggest `str1.casecmp(str2) == 0` instead.

@randall-Mysten Should I update this PR to get it merged?

> does cargo not use the lock file if present by default? No, the lock file is [ignored by default](https://doc.rust-lang.org/cargo/commands/cargo-install.html#dealing-with-the-lockfile).

No, unfortunately this doesn't seem to work as an `@*` is added automatically: ``` An unexpected error has occurred: CalledProcessError: command: ('~/.cargo/bin/cargo', 'add', '--locked@*') return code: 1 stdout: (none) stderr:...