Reiner Gerecke

Results 117 comments of Reiner Gerecke

Put together some configuration panel. Auto-generated from our options annotations. Not very user friendly, but wanted to see how easy passing in options from JS to rust is: very easy...

Marking as ready. I updated the MR description with some more details. Sharing config & code via URL works now: [Example](https://611ef32d.ruff-axw.pages.dev/#N4Ig5gNg9gRghhAziAXKRBTCGDGAXVEAbQB0QBRMgGgAIyAxaukAVTIF0QqQIBLAOwwBabPzB4AFoQBsABhABfBQBJVAYhoBhKAAcAngCdeYCXhoAKHAEoaAWV44DURFABmZ7QZ1QDcPLyh+ADoaAEEICBojEzxEKIxMAwA3DAATIIAoDQAZBwx+TFSaAFd+VIwDGkkMOwBJABUaXJx8zEyQDpZ-Pjw9GldS-ACCmjgymhwIOERMONcfEswaAHdeSSjS-gEwKqgoJBooFMrsgGUABSCOkAyM1ycAWxoAfWeBvGKDDFeaXgfvAxmMb8KB4PzDRC3P4AszODLQnywxBBHR+CTw-6ImiINYYDEw7HFGA6JwtGb4rGIPSQhGAqoSL5wVLbO6PKp6HTbX6Yumhfh6WinDAAR2K+RatBYW0Ctw0pzgKXpNWWPgA1lzmV98D4+sVCisJPkaNAmVzJLw4g8oKlitgMqdyAAlABqTuemgA6gARGgAXkOyLAGDwOGWqXMVgynq9z2yAHlNABpP30xnMsRBbJQHCqiO3DLlVyjRDPPiIPCWQJ4fJ4FBhfk0AA+xoteCIfL07CbVWKOmw7f5tCCw-YNiEAD4W+WB52UBkaAuaNdyAVPgkVjUEMs4NSaEGgVOCB154veEWLQJy2MWpX+NW77RzGW8LQPn2MFYrHPFz-4h8DPwh63veeCRj+Xz-oBRA4FWNbsPmzw4tWzyopIcT+m+2DmCeC5EDhv7OCiaJBCCBgPDg0wYOYhGoRIJE+P8aLmDon74T+8yVDovyAeY0ylq25hIRgQT7kJqI5nAQaIBGNgANTFvx5aCbiInBnqFRiXAElSTJYGLvBka3IWvwlogcAPN8tHmK4vDYChaIAIx1uWBi0DZdm0QATM5eAGGOk4wHsEDfou1yOmpAFxL5Yq-E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Js38ZSKmYMniLXKTTt4JD3uYa+e9EEgNoOC2+OC3qRiAA) I thought that's nice to have, as it can...

> It would also be cool to have permanent, versioned URLs somehow. I don't know exactly what that would look like, but for bug reports, it'd be nice if the...

I was hoping this could be something https://github.com/charliermarsh/ruff/issues/76 could surface, but my attempts so far weren't successful in producing anything with it that shows a problem.

It's not about stdin, let me attach that in the hopes that github doesn't mess with it. [ruf100_panic.txt](https://github.com/charliermarsh/ruff/files/10224094/ruf100_panic.txt) Most editors would show this like this. There is a `\r` after...

I noticed that latest main doesn't have the issue anymore. bisect suggests that 9cb18a481b8241608ad8964d3f107247e758a251 fixed this issue.

`W605_1.py` is the only test fixture that uses CRLF line endings, all the others just use LF. So I think there is still something odd going on. ```console ❯ find...

I'm not sure why running the steps manually doesn't trigger any issue, but if I grab the python file right before I get something that triggers it. Minimal test case...

I'd be happy to provide a fix, but I need look a bit further what the expected behaviour should be and if there are other places where we need to...

Here we go: https://docs.python.org/3.11/reference/lexical_analysis.html?highlight=lexical#physical-lines > A physical line is a sequence of characters terminated by an end-of-line sequence. In source files and strings, any of the standard platform line termination...