rewrite-python icon indicating copy to clipboard operation
rewrite-python copied to clipboard

OpenRewrite recipes for Python.

Results 6 rewrite-python issues
Sort by recently updated
recently updated
newest added

Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 5 to 6. Release notes Sourced from astral-sh/setup-uv's releases. v6.0.0 🌈 activate-environment and working-directory Changes This version contains some breaking changes which have been gathering up for...

dependencies
github_actions

## Steps to reproduce Using current main (da16633812da68d2b2d8d9054030fbbda733d5a2) the following test: ```python def test_concatenation_with_empty_string(): # language=python rewrite_run(python('print("alef" "")')) ``` fails with: ``` Expected :'print("alef" "")' Actual :'print("alef" )' ``` AFAICT...

bug
parser-python

## What problem are you trying to solve? Implement an Autodetector of Python formatting style. ## Describe the solution you'd like So that we can process Python source code without...

enhancement

Python has a feature called _string literal concatenation_ and allows splitting a a literal into two (typically on separate lines) and then have them joined into a single string literal...

bug

## What problem are you trying to solve? Bring to light any vulnerabilities and potential upgrades in pip requirements.txt files. ## What precondition(s) should be checked before applying this recipe?...

recipe

The PythonParser configures `py` file extensions, but does not configure `pyi` files to use the`PyiParserDefinition`. Notes: - Parsing a `pyi` file results in a `PyiFile`, which is a child of...

parser-python