Maksudul Haque

Results 51 comments of Maksudul Haque

@charliermarsh This is an example from black https://github.com/psf/black#show-your-style ### Ruff Example: **For README.md:** ```md [![Linter: Ruff](https://img.shields.io/badge/Linter-Ruff-brightgreen?style=flat-square)](https://github.com/charliermarsh/ruff) ``` **For README.rst:** ``` .. image:: https://img.shields.io/badge/Linter-Ruff-brightgreen?style=flat-square :target: https://github.com/charliermarsh/ruff ``` **Looks like this:** [![Linter:...

Hi @charliermarsh, Is there a way to iterate over logical lines on Ruff? We need to use logical lines here instead of physical.

> Not at present but I implemented it once in #1130. We could consider reviving it. My main concern is that it's pretty slow (it should be faster now that...

> However -- we should use a different prefix, as `R` is too generic. `RSE` or `RAI` would be reasonable to me? `RSE` sounds good to me. Updated the PR...

Built a small implementation that outputs this: ```toml [tool.ruff] line-length = 88 select = [ "F", # pyflakes "E", # pycodestyle # "W", # pycodestyle # "C90", # mccabe #...

> The bigger block though is deciding whether this is actually a good idea :) @charliermarsh Do you mean including `src` and `exclude` or `ruff init` in general? I think...

> Oh sorry! I mean, determining whether `ruff init` is a good idea. > Let me know if you decide to go through with it, I can submit a PR...

> One workaround here is to update our GitHub Actions to deploy on the release event and update the project. I have everything on Tailscale, so it needs their action...

fixed in https://github.com/saadmk11/github-actions-version-updater/pull/106

> The tests are failing in CI, but the pass when run locally. I'm not sure why that would be. @jefftriplett @saadmk11 any ideas? Probably because of this: https://github.com/djangopackages/djangopackages/blob/7b3d078ec7722ff0627d1ceb0bdb0e7319f91831/pyproject.toml#L16