astral-sh/ruff repo issues, pull requests, and releases
Fixed panic in `missing_copyright_notice` #7029 [WindowGenerator] bug
Summary Fix "not a character boundary" panic in missing_copyright_notice Test Plan cargo test + added fixture file...
Formatter: Add end of line configuration option #7061 [MichaReiser] cli formatter
Add a end-of-line configuration option similar to Prettier and editorconfig that allows configuring the preferred...
Fix "not a character boundary" panic in `missing_copyright_notice` #7015 [MichaReiser] bug good first issue help wanted
The missing copyright notice only looks at the 1024 first bytes. However, this can go wrong for unicode text if the...
Formatter: `Match` (includes `MatchCase` and `Patterns`) #5834 [konstin] good first issue formatter help wanted
This is a bigger project that includes the following nodes: #6298 #6299 #6641 #6642 #6644 #6643 #6645 ...
๐ Formatter: Syntax Formatting #4798 [MichaReiser] formatter help wanted
This task coordinates the work on implementing formatting for the Python syntax. Please create an issue and comment...
Formatter: August Goals #6203 [MichaReiser] formatter help wanted
Our goal for the next four weeks / August is to make progress on some of the remaining hard problems and close the...
Playground option for "print comments" #6509 [cnpryer] playground formatter
In https://prettier.io/playground/ you can toggle an option to display the comments. It'd be nice to add that to...
Formatter: don't break single-argument multi-line strings if the first line "fits" #6581 [charliermarsh] formatter needs-decision
See: https://github.com/psf/black/pull/1879/files. In Preview, Black now reformats: textwrap.dedent( """ ...
Comments around attribute dot are moved around incorrectly #6823 [charliermarsh] formatter
Given: aaa = ( aaa # foo . # bar # baz bbb ) We format like: aaa = ( aaa. # bar # foo ...
Refine edge-case comment handling for `PatternMatchClass` #6880 [charliermarsh] bug formatter
In this case, comments a and b are leading on 2, but should be leading on a node for the entire b=2 (this requires...
Formatter: Multiline string followed by call expression #6938 [MichaReiser] formatter
I create this issue to document our decision on call expression formatting that directly follows a multiline...
Add a `--check` flag to the formatter CLI #6966 [charliermarsh] formatter
Avoids writing the files to disk, and exits with a non-zero status code if any files would be changed.
Formatter: `%` formatting in dictionary keys #6974 [MichaReiser] formatter
Black breaks dictionary entries after the % even if the key otherwise would fit: obj = ( ...
Formatter: `%` formatting on right side of assignment #6976 [MichaReiser] formatter
Black prefers to keep the % on the same line as the string and parenthesize the format arguments: def test(): if...
Formatter removes line break between implicitly concatenated strings #7052 [cnpryer] formatter
Couldn't find an exact issue, but I'm almost certain this has been reported already. Maybe related to #6936 Also see...
Introduce Token element #7048 [MichaReiser] performance formatter
Summary This PR replaces StaticText with a stricter Token element ASCII only No newlines No tab characters This...
BestFitting: Reduce allocations #7037 [MichaReiser] performance formatter
Summary This PR aims to reduce the allocations necessary for best_fitting. Today: One allocation for interning the...
Memoize text width #6552 [MichaReiser] performance formatter
Summary The formatter processes strings a couple of times: propagate_expands: Test if the string contains a newline...
F504: Carriage return prevents expression extraction #4899 [addisoncrump] bug
In Python, a standalone carriage return character (0xd or \r) is considered whitespace. One could easily argue that...
Ruff 0.0.287 (latest changes from main branch) ruff *.py --select ALL,NURSERY --no-cache file content: ...
Failed to create fix for SuppressibleException: Unable to use existing symbol due to incompatible context #7060 [qarmin] fuzzer
Ruff 0.0.287 (latest changes from main branch) ruff *.py --select ALL,NURSERY --no-cache --fix file content: #...
Formatter removes parentheses around call chaining #7050 [cnpryer] bug formatter help wanted
Version: ruff 0.0.287 Line-length: 88 Related: #5343 My team does a lot of exploratory scripting with Pandas (most...
Rules B009 cause autofix error #6989 [qarmin] bug help wanted accepted
Ruff 0.0.286 (latest changes from main branch) ruff *.py --select ALL,NURSERY --no-cache --fix file...
Fix `getattr` calls on int literals #7057 [density] bug fuzzer
Summary getattr calls on int literals need to be parenthesized in order to avoid a syntax error Fixes #6989 Test...
Nursery rule panicked at 'assertion failed: start.raw <= end.raw', /home/rafal/test/ruff/crates/ruff_text_size/src/range.rs:48:9 #7059 [qarmin] bug fuzzer
Ruff 0.0.287 (latest changes from main branch) ruff *.py --select NURSERY --no-cache --fix file content: import...
Avoid duplicate fixes for multi-import imports in RUF017 #7063 [charliermarsh] bug fuzzer
If a user has import collections, functools, operator, and we try to import from functools and operator, we end up...
Evaluate Profile-Guided Optimization (PGO) and LLVM BOLT #7055 [zamazan4ik] performance
Hi! Recently I did a lot of PGO benchmarks on different software - all available results are here. According to my...
Formatter un-expands last call in call chaining #7051 [cnpryer] formatter needs-decision
I prefer the change, but reporting since it's a diff in a from-black migration. Line-length: 88 Related: #5343 Black...
Add support for the new f-string tokens per PEP 701 #6659 [dhruvmanila] parser python312
Summary This PR adds support in the lexer for the newly added f-string tokens as per PEP 701. The following new...
Add support for parsing f-string as per PEP 701 #7041 [dhruvmanila]
Summary Test Plan fixes: #7043 fixes: #6831
Formatter parenthesizes and expands multiple-assigment values #7053 [cnpryer] formatter
I actually really like this result. Reporting anyway. I thought this was reported already, I but couldn't find any...
Rename `ruff_python_formatter/README.md` to `CONTRIBUTING.md` #7065 [charliermarsh] formatter
I want to use the README for getting-started instructions for the alpha. Elsewhere, we use CONTRIBUTING.md for...
Add alpha instructions to the `ruff_python_formatter` README #7064 [charliermarsh] formatter
Summary Adds instructions to cover the formatter's goals, current status, and how-to for using it (in its alpha...
Parse human-readable names in noqa and rule selectors #7056 [hotpxl]
Summary Allow using human-readable rule names in noqa and rule selectors Test Plan ran cargo test manually tested...
Update LibCST #7062 [dhruvmanila] dependencies
Summary This PR updates the revision of LibCST dependency to Instagram/LibCST@9c263aa inorder to fix #4899 Test...
Formatter: Detect line endings #7054 [MichaReiser] cli formatter
Summary This PR changes the ruff cli to detect the default line ending automatically. We should add a Cconfiguration...
Feature request: ignore `PLW3201` for methods marked with `@override` #6958 [Avasam] good first issue accepted
Same request and reasoning as #3910 Python 3.12 will introduce the override decorator. It is already backported by...
Formatter un-expands overlong assignment's parenthesized value #7067 [cnpryer] formatter
Closest report I could find is #6271 Line-length: 88 # Input def f(): ...
Formatter un-expands parenthesized if-expression #7066 [cnpryer] good first issue formatter
Somewhat related: #6588 Line-length: 88 IMO Ruff's output is better. Reporting anyway. # Input class A: def...
Panicked at 'byte index 220 is not a char boundary; it is inside '๏ฟฝ' (bytes 218..221) #7058 [qarmin] bug help wanted
Ruff 0.0.287 (latest changes from main branch) ruff *.py --select D209 --no-cache file content: def...
Nursery rules E231,E202 causes infinite loop #6890 [qarmin] autofix needs-decision fuzzer
Ruff 0.0.286 (latest changes from main branch) ruff *.py --select E231,E202 --no-cache file content: class...
Rules EM102 cause autofix error #6988 [qarmin] bug fuzzer
Ruff 0.0.286 (latest changes from main branch) ruff *.py --select EM102 --no-cache --fix file content: class...
Rules ANN401,W605 cause autofix error #6987 [qarmin] bug fuzzer
Ruff 0.0.286 (latest changes from main branch) ruff *.py --select ANN401,W605 --no-cache file content: from...
Rules NPY001 cause infinite loop #6952 [qarmin] bug fuzzer
Ruff 0.0.286 (latest changes from main branch) ruff *.py --select NPY001 --no-cache file content: """Simple dam...
Rules E712,F632 causes infinite loop #6891 [qarmin] bug autofix fuzzer
Ruff 0.0.286 (latest changes from main branch) ruff *.py --select E712,F632 --no-cache file content: class...
Rules EM101 causes autofix error #6811 [qarmin] needs-decision fuzzer
Ruff 0.0.285 (latest changes from main branch) ruff *.py --select EM101 --no-cache file content: def...
Rules Q002,PTH116 causes autofix error #6785 [qarmin] bug autofix accepted
Ruff 0.0.285 (latest changes from main branch) ruff *.py --select Q002,PTH116 --no-cache file content: ๏ปฟ''"assert"...
astral-sh/ruff-lsp repo issues, pull requests, and releases
v0.0.38 v0.0.38 4b97b5d [charliermarsh]
## What's Changed * Bump wheel from 0.41.1 to 0.41.2 by @dependabot in...
Revert .gitattributes #231 [charliermarsh]
Add --force-exclude and --quiet to ruff format #232 [charliermarsh]
To match the behavior of the check command.
Rename `RUFF_BETA_INTERNAL` to `RUFF_EXPERIMENTAL_FORMATTER` #233 [charliermarsh]
Summary I want to make it clearer that this only affects formatting.
Bump version to 0.0.38 #234 [charliermarsh]
sanic-org/sanic repo issues, pull requests, and releases
Nothing happening
yt-dlp/yt-dlp search items
Cookies doesn't work in API | Works with cmd. #7441 [AG4lyf] question yt-dlp/yt-dlp
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE I understand that I will be blocked if I intentionally remove or skip any...
[bandcamp] Support video extraction #4241 [MinePlayersPE] site-enhancement yt-dlp/yt-dlp
Checklist I'm requesting a site-specific feature I've verified that I'm running yt-dlp version 2022.06.29 (update...
Extracted 245 cookies from chromium (72 could not be decrypted). failed to decrypt cookie (AES-CBC) because UTF-8 decoding failed. Possibly the key is wrong? #6564 [finete] bug yt-dlp/yt-dlp
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE I understand that I will be blocked if I intentionally remove or skip any...
Error for fetching file from this link #8010 [momogood168] question yt-dlp/yt-dlp
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE I understand that I will be blocked if I intentionally remove or skip any...
[Youtube] Can't download "Music Charts" at format 141 #5546 [kirgizmustafa17] site-enhancement yt-dlp/yt-dlp
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE I understand that I will be blocked if I remove or skip any mandatory*...
how to interactive select format when run list available formats #8009 [nursyah21] question yt-dlp/yt-dlp
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE I understand that I will be blocked if I intentionally remove or skip any...
[lbry] broken #8012 [bitingsock] bug regression yt-dlp/yt-dlp
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE I understand that I will be blocked if I intentionally remove or skip any...
YouTube audio format 141 - 256kbps AAC seems to be totally gone on all VIDEOS.. #7972 [Raprodent] question incomplete yt-dlp/yt-dlp
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE I understand that I will be blocked if I intentionally remove or skip any...
Where is it in the -download-sections documentation that --force-keyframes-at-cuts is needed for downloading specific sections of video? #8011 [FrozenCO2] question yt-dlp/yt-dlp
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE I understand that I will be blocked if I intentionally remove or skip any...
`--mark-watched` does not marks video as fully watched. #2555 [soredake] help-wanted site-enhancement yt-dlp/yt-dlp
Checklist I'm reporting a bug unrelated to a specific site I've verified that I'm running yt-dlp version...
make: numerically compare the major version of pandoc to be greater then or equal to 2 #7047 [t-nil] docs/meta/cleanup yt-dlp/yt-dlp
IMPORTANT: PRs without the template will be CLOSED Fix man page being built without smart-markdown, because pandoc...
Save the pinned comment of a YouTube comment section #8014 [arisboch] question yt-dlp/yt-dlp
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE I understand that I will be blocked if I intentionally remove or skip any...
qarmin: This is fixed and can be closed