renovate[bot]
157b49a8ee
Update dependency ruff to v0.7.4 ( #14415 )
2024-11-17 20:41:40 -05:00
Dhruv Manilawala
ed7b98cf9b
Bump version to 0.7.4 ( #14358 )
2024-11-15 11:17:32 +00:00
Pierre GIRAUD
ec2c7cad0e
Improve docs for ALE plugin for vim ( #14335 )
...
2 different fixers are available in ALE :
- ruff which runs `ruff check --fix` command (useful for example when
isort is enabled in lint config),
- ruff_format which runs `run format` command.
The documentation was missing `ruff` as a possible fixer in ALE.
---------
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
2024-11-14 13:01:34 +00:00
Charlie Marsh
95c8f5fd0f
Document comment policy around fix safety ( #14300 )
...
## Summary
Closes https://github.com/astral-sh/ruff/issues/9790 .
2024-11-13 08:03:58 -05:00
renovate[bot]
1c586b29e2
Update dependency mkdocs-redirects to v1.2.2 ( #14252 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 10:11:22 +00:00
renovate[bot]
1cf4d2ff69
Update dependency ruff to v0.7.3 ( #14253 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ruff](https://docs.astral.sh/ruff )
([source](https://redirect.github.com/astral-sh/ruff ),
[changelog](https://redirect.github.com/astral-sh/ruff/blob/main/CHANGELOG.md ))
| `==0.7.2` -> `==0.7.3` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>astral-sh/ruff (ruff)</summary>
###
[`v0.7.3`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#073 )
[Compare
Source](https://redirect.github.com/astral-sh/ruff/compare/0.7.2...0.7.3 )
##### Preview features
- Formatter: Disallow single-line implicit concatenated strings
([#​13928](https://redirect.github.com/astral-sh/ruff/pull/13928 ))
- \[`flake8-pyi`] Include all Python file types for `PYI006` and
`PYI066`
([#​14059](https://redirect.github.com/astral-sh/ruff/pull/14059 ))
- \[`flake8-simplify`] Implement `split-of-static-string` (`SIM905`)
([#​14008](https://redirect.github.com/astral-sh/ruff/pull/14008 ))
- \[`refurb`] Implement `subclass-builtin` (`FURB189`)
([#​14105](https://redirect.github.com/astral-sh/ruff/pull/14105 ))
- \[`ruff`] Improve diagnostic messages and docs (`RUF031`, `RUF032`,
`RUF034`)
([#​14068](https://redirect.github.com/astral-sh/ruff/pull/14068 ))
##### Rule changes
- Detect items that hash to same value in duplicate sets (`B033`,
`PLC0208`)
([#​14064](https://redirect.github.com/astral-sh/ruff/pull/14064 ))
- \[`eradicate`] Better detection of IntelliJ language injection
comments (`ERA001`)
([#​14094](https://redirect.github.com/astral-sh/ruff/pull/14094 ))
- \[`flake8-pyi`] Add autofix for `docstring-in-stub` (`PYI021`)
([#​14150](https://redirect.github.com/astral-sh/ruff/pull/14150 ))
- \[`flake8-pyi`] Update `duplicate-literal-member` (`PYI062`) to alawys
provide an autofix
([#​14188](https://redirect.github.com/astral-sh/ruff/pull/14188 ))
- \[`pyflakes`] Detect items that hash to same value in duplicate
dictionaries (`F601`)
([#​14065](https://redirect.github.com/astral-sh/ruff/pull/14065 ))
- \[`ruff`] Fix false positive for decorators (`RUF028`)
([#​14061](https://redirect.github.com/astral-sh/ruff/pull/14061 ))
##### Bug fixes
- Avoid parsing joint rule codes as distinct codes in `# noqa`
([#​12809](https://redirect.github.com/astral-sh/ruff/pull/12809 ))
- \[`eradicate`] ignore `# language=` in commented-out-code rule
(ERA001)
([#​14069](https://redirect.github.com/astral-sh/ruff/pull/14069 ))
- \[`flake8-bugbear`] - do not run `mutable-argument-default` on stubs
(`B006`)
([#​14058](https://redirect.github.com/astral-sh/ruff/pull/14058 ))
- \[`flake8-builtins`] Skip lambda expressions in
`builtin-argument-shadowing (A002)`
([#​14144](https://redirect.github.com/astral-sh/ruff/pull/14144 ))
- \[`flake8-comprehension`] Also remove trailing comma while fixing
`C409` and `C419`
([#​14097](https://redirect.github.com/astral-sh/ruff/pull/14097 ))
- \[`flake8-simplify`] Allow `open` without context manager in `return`
statement (`SIM115`)
([#​14066](https://redirect.github.com/astral-sh/ruff/pull/14066 ))
- \[`pylint`] Respect hash-equivalent literals in `iteration-over-set`
(`PLC0208`)
([#​14063](https://redirect.github.com/astral-sh/ruff/pull/14063 ))
- \[`pylint`] Update known dunder methods for Python 3.13 (`PLW3201`)
([#​14146](https://redirect.github.com/astral-sh/ruff/pull/14146 ))
- \[`pyupgrade`] - ignore kwarg unpacking for `UP044`
([#​14053](https://redirect.github.com/astral-sh/ruff/pull/14053 ))
- \[`refurb`] Parse more exotic decimal strings in
`verbose-decimal-constructor` (`FURB157`)
([#​14098](https://redirect.github.com/astral-sh/ruff/pull/14098 ))
##### Documentation
- Add links to missing related options within rule documentations
([#​13971](https://redirect.github.com/astral-sh/ruff/pull/13971 ))
- Add rule short code to mkdocs tags to allow searching via rule codes
([#​14040](https://redirect.github.com/astral-sh/ruff/pull/14040 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS43LjEiLCJ1cGRhdGVkSW5WZXIiOiIzOS43LjEiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImludGVybmFsIl19-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 08:17:22 +00:00
Dhruv Manilawala
fbf140a665
Bump version to 0.7.3 ( #14197 )
2024-11-08 16:39:37 +05:30
renovate[bot]
fb0881d836
Update dependency mdformat-mkdocs to v3.1.1 ( #14081 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[mdformat-mkdocs](https://redirect.github.com/kyleking/mdformat-mkdocs )
([changelog](https://redirect.github.com/kyleking/mdformat-mkdocs/releases ))
| `==3.0.1` -> `==3.1.1` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>kyleking/mdformat-mkdocs (mdformat-mkdocs)</summary>
###
[`v3.1.1`](https://redirect.github.com/KyleKing/mdformat-mkdocs/releases/tag/v3.1.1 )
[Compare
Source](https://redirect.github.com/kyleking/mdformat-mkdocs/compare/v3.1.0...v3.1.1 )
**Full Changelog**:
https://github.com/KyleKing/mdformat-mkdocs/compare/v3.1.0...v3.1.1
###
[`v3.1.0`](https://redirect.github.com/kyleking/mdformat-mkdocs/compare/v3.0.1...v3.1.0 )
[Compare
Source](https://redirect.github.com/kyleking/mdformat-mkdocs/compare/v3.0.1...v3.1.0 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDIuNCIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJpbnRlcm5hbCJdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-04 08:37:53 +05:30
renovate[bot]
3133964d8c
Update dependency ruff to v0.7.2 ( #14077 )
2024-11-03 21:16:28 -05:00
Dhruv Manilawala
ef72fd79a7
Bump version to 0.7.2 ( #14039 )
2024-11-01 19:09:07 +05:30
renovate[bot]
faf9dfaa9d
Update dependency ruff to v0.7.1 ( #13953 )
2024-10-27 21:13:03 -04:00
renovate[bot]
9d131c8c45
Update dependency mdformat-mkdocs to v3.0.1 ( #13951 )
2024-10-27 21:12:55 -04:00
Jonas Vacek
3006d6da23
Docs: Add GitLab CI/CD to integrations. ( #13915 )
2024-10-26 18:10:17 +02:00
Dhruv Manilawala
337af836d3
Bump version to 0.7.1 ( #13913 )
2024-10-24 20:57:07 +05:30
Mihai Capotă
de4181d7dd
Remove "default" remark from ruff check
( #13900 )
...
## Summary
`ruff check` has not been the default in a long time. However, the help
message and code comment still designate it as the default. The remark
should have been removed in the deprecation PR #10169 .
## Test Plan
Not tested.
2024-10-23 21:17:21 -04:00
samypr100
7dbd8f0f8e
ci(docker): incorporate docker release enhancements from uv ( #13274 )
...
## Summary
This PR updates `ruff` to match `uv` updated [docker releases
approach](https://github.com/astral-sh/uv/blob/main/.github/workflows/build-docker.yml ).
It's a combined PR with changes from these PR's
* https://github.com/astral-sh/uv/pull/6053
* https://github.com/astral-sh/uv/pull/6556
* https://github.com/astral-sh/uv/pull/6734
* https://github.com/astral-sh/uv/pull/7568
Summary of changes / features
1. This change would publish an additional tags that includes only
`major.minor`.
For a release with `x.y.z`, this would publish the tags:
* ghcr.io/astral-sh/ruff:latest
* ghcr.io/astral-sh/ruff:x.y.z
* ghcr.io/astral-sh/ruff:x.y
2. Parallelizes multi-platform builds using multiple workers (hence the
new docker-build / docker-publish jobs), which cuts docker releases time
in half.
3. This PR introduces additional images with the ruff binaries from
scratch for both amd64/arm64 and makes the mapping easy to configure by
generating the Dockerfile on the fly. This approach focuses on
minimizing CI time by taking advantage of dedicating a worker per
mapping (20-30s~ per job). For example, on release `x.y.z`, this will
publish the following image tags with format
`ghcr.io/astral-sh/ruff:{tag}` with manifests for both amd64/arm64. This
also include `x.y` tags for each respective additional tag. Note, this
version does not include the python based images, unlike `uv`.
* From **scratch**: `latest`, `x.y.z`, `x.y` (currently being published)
* From **alpine:3.20**: `alpine`, `alpine3.20`, `x.y.z-alpine`,
`x.y.z-alpine3.20`
* From **debian:bookworm-slim**: `debian-slim`, `bookworm-slim`,
`x.y.z-debian-slim`, `x.y.z-bookworm-slim`
* From **buildpack-deps:bookworm**: `debian`, `bookworm`,
`x.y.z-debian`, `x.y.z-bookworm`
4. This PR also fixes `org.opencontainers.image.version` for all tags
(including the one from `scratch`) to contain the right release version
instead of branch name `main` (current behavior).
```
> docker inspect ghcr.io/astral-sh/ruff:0.6.4 | jq -r
'.[0].Config.Labels'
{
...
"org.opencontainers.image.version": "main"
}
```
Closes https://github.com/astral-sh/ruff/issues/13481
## Test Plan
Approach mimics `uv` with almost no changes so risk is low but I still
tested the full workflow.
* I have a working CI release pipeline on my fork run
1096665773
* The resulting images were published to
https://github.com/samypr100/ruff/pkgs/container/ruff
2024-10-22 07:06:49 -05:00
renovate[bot]
a5d52b00ca
Update dependency ruff to v0.7.0 ( #13847 )
2024-10-21 01:48:00 +00:00
renovate[bot]
efa798b4c4
Update dependency mdformat to v0.7.18 ( #13843 )
2024-10-21 01:46:21 +00:00
Alex Waygood
5e6de4e0c6
Changelog for Ruff v0.7 ( #13794 )
...
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
2024-10-17 16:14:21 +00:00
Micha Reiser
202c6a6d75
Remove output-format=text
setting ( #12836 )
2024-10-17 16:35:12 +01:00
Dhruv Manilawala
c6b311c546
Update setup image for PyCharm External Tool ( #13767 )
...
## Summary
fixes : #13765
## Preview
<img width="624" alt="Screenshot 2024-10-16 at 10 05 57"
src="https://github.com/user-attachments/assets/c0eccda5-3cf1-4119-a9b5-d86b01a8c64c ">
2024-10-16 04:41:37 +00:00
renovate[bot]
824def2194
Update dependency ruff to v0.6.9 ( #13648 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-07 08:15:58 +02:00
Dhruv Manilawala
975be9c1c6
Bump version to 0.6.9 ( #13624 )
2024-10-04 18:51:13 +05:30
renovate[bot]
6c5cbad533
Update dependency ruff to v0.6.8 ( #13555 )
2024-09-29 21:50:28 -04:00
Charlie Marsh
668730cc28
Link to astral-sh/ruff-action
( #13551 )
2024-09-29 23:49:24 +00:00
Micha Reiser
ae39ce56c0
Bump version to 0.6.8 ( #13522 )
2024-09-26 14:09:03 +02:00
Charlie Marsh
db76000521
Use anchorlinks rather than permalinks ( #13471 )
...
## Summary
See: https://github.com/astral-sh/uv/pull/7626
2024-09-23 02:44:45 +00:00
renovate[bot]
5b593d0397
Update dependency ruff to v0.6.7 ( #13466 )
2024-09-22 22:32:02 -04:00
Charlie Marsh
17c4690b5e
Bump version to v0.6.7 ( #13439 )
2024-09-21 13:16:36 -04:00
Charlie Marsh
d01cbf7f8f
Bump version to v0.6.6 ( #13415 )
2024-09-19 23:09:57 -04:00
Charlie Marsh
4e935f7d7d
Add a subcommand to generate dependency graphs ( #13402 )
...
## Summary
This PR adds an experimental Ruff subcommand to generate dependency
graphs based on module resolution.
A few highlights:
- You can generate either dependency or dependent graphs via the
`--direction` command-line argument.
- Like Pants, we also provide an option to identify imports from string
literals (`--detect-string-imports`).
- Users can also provide additional dependency data via the
`include-dependencies` key under `[tool.ruff.import-map]`. This map uses
file paths as keys, and lists of strings as values. Those strings can be
file paths or globs.
The dependency resolution uses the red-knot module resolver which is
intended to be fully spec compliant, so it's also a chance to expose the
module resolver in a real-world setting.
The CLI is, e.g., `ruff graph build ../autobot`, which will output a
JSON map from file to files it depends on for the `autobot` project.
2024-09-19 21:06:32 -04:00
renovate[bot]
a70d693b1c
Update dependency ruff to v0.6.5 ( #13361 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-16 09:32:06 +02:00
François-Michel L'Heureux
8b49845537
Fix documentation for editor vim plugin ALE ( #13348 )
...
The documented configuration did not work. On failure, ALE suggest to
run `ALEFixSuggest`, into with it documents the working configuration
key
'ruff_format' - Fix python files with the ruff formatter.
Fix an inaccuracy in the documentation, regarding the ALE plugin for the
Vim text editor.
2024-09-13 23:27:17 +05:30
Dhruv Manilawala
8558126df1
Bump version to 0.6.5 ( #13346 )
2024-09-13 20:12:26 +05:30
Micha Reiser
110193af57
Fix tuple expansion example in formatter compatibility document ( #13313 )
2024-09-10 17:47:12 +00:00
renovate[bot]
e1603e3dca
Update dependency ruff to v0.6.4 ( #13288 )
2024-09-08 22:00:43 -04:00
Dhruv Manilawala
65cc6ec41d
Bump version to 0.6.4 ( #13253 )
2024-09-05 21:05:15 +05:30
Charlie Marsh
54df960a4a
Use | for page separator in meta titles ( #13221 )
...
## Summary
Same as https://github.com/astral-sh/uv/pull/6953 .
2024-09-03 00:46:15 +00:00
Charlie Marsh
3463683632
Update URL in structured schema ( #13220 )
2024-09-03 00:21:45 +00:00
Charlie Marsh
6b973b2556
Point docs to Astral favicon ( #13219 )
...
## Summary
Same as https://github.com/astral-sh/uv/pull/6951 . Unfortunately we have
to use a single favicon for the docs.
2024-09-02 20:11:39 -04:00
renovate[bot]
2b21b77ee6
Update dependency mkdocs to v1.6.1 ( #13199 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [mkdocs](https://redirect.github.com/mkdocs/mkdocs )
([changelog](https://www.mkdocs.org/about/release-notes/ )) | `==1.6.0`
-> `==1.6.1` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>mkdocs/mkdocs (mkdocs)</summary>
###
[`v1.6.1`](https://redirect.github.com/mkdocs/mkdocs/releases/tag/1.6.1 )
[Compare
Source](https://redirect.github.com/mkdocs/mkdocs/compare/1.6.0...1.6.1 )
### Version 1.6.1 (Friday 30th August, 2024)
##### Fixed
- Fix build error when environment variable `SOURCE_DATE_EPOCH=0` is
set.
[#​3795](https://redirect.github.com/mkdocs/mkdocs/issues/3795 )
- Fix build error when `mkdocs_theme.yml` config is empty.
[#​3700](https://redirect.github.com/mkdocs/mkdocs/issues/3700 )
- Support `python -W` and `PYTHONWARNINGS` instead of overriding the
configuration.
[#​3809](https://redirect.github.com/mkdocs/mkdocs/issues/3809 )
- Support running with Docker under strict mode, by removing `0.0.0.0`
dev server warning.
[#​3784](https://redirect.github.com/mkdocs/mkdocs/issues/3784 )
- Drop unnecessary `changefreq` from `sitemap.xml`.
[#​3629](https://redirect.github.com/mkdocs/mkdocs/issues/3629 )
- Fix JavaScript console error when closing menu dropdown.
[#​3774](https://redirect.github.com/mkdocs/mkdocs/issues/3774 )
- Fix JavaScript console error that occur on repeated clicks.
[#​3730](https://redirect.github.com/mkdocs/mkdocs/issues/3730 )
- Fix JavaScript console error that can occur on dropdown selections.
[#​3694](https://redirect.github.com/mkdocs/mkdocs/issues/3694 )
##### Added
- Added translations for Dutch.
[#​3804](https://redirect.github.com/mkdocs/mkdocs/issues/3804 )
- Added and updated translations for Chinese (Simplified).
[#​3684](https://redirect.github.com/mkdocs/mkdocs/issues/3684 )
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 12:14:19 +05:30
renovate[bot]
ba272b093c
Update dependency ruff to v0.6.3 ( #13201 )
...
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [ruff](https://docs.astral.sh/ruff )
([source](https://redirect.github.com/astral-sh/ruff ),
[changelog](https://redirect.github.com/astral-sh/ruff/blob/main/CHANGELOG.md ))
| `==0.6.2` -> `==0.6.3` |
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
[](https://docs.renovatebot.com/merge-confidence/ )
|
---
### Release Notes
<details>
<summary>astral-sh/ruff (ruff)</summary>
###
[`v0.6.3`](https://redirect.github.com/astral-sh/ruff/blob/HEAD/CHANGELOG.md#063 )
[Compare
Source](https://redirect.github.com/astral-sh/ruff/compare/0.6.2...0.6.3 )
##### Preview features
- \[`flake8-simplify`] Extend `open-file-with-context-handler` to work
with `dbm.sqlite3` (`SIM115`)
([#​13104](https://redirect.github.com/astral-sh/ruff/pull/13104 ))
- \[`pycodestyle`] Disable `E741` in stub files (`.pyi`)
([#​13119](https://redirect.github.com/astral-sh/ruff/pull/13119 ))
- \[`pydoclint`] Avoid `DOC201` on explicit returns in functions that
only return `None`
([#​13064](https://redirect.github.com/astral-sh/ruff/pull/13064 ))
##### Rule changes
- \[`flake8-async`] Disable check for `asyncio` before Python 3.11
(`ASYNC109`)
([#​13023](https://redirect.github.com/astral-sh/ruff/pull/13023 ))
##### Bug fixes
- \[`FastAPI`] Avoid introducing invalid syntax in fix for
`fast-api-non-annotated-dependency` (`FAST002`)
([#​13133](https://redirect.github.com/astral-sh/ruff/pull/13133 ))
- \[`flake8-implicit-str-concat`] Normalize octals before merging
concatenated strings in `single-line-implicit-string-concatenation`
(`ISC001`)
([#​13118](https://redirect.github.com/astral-sh/ruff/pull/13118 ))
- \[`flake8-pytest-style`] Improve help message for
`pytest-incorrect-mark-parentheses-style` (`PT023`)
([#​13092](https://redirect.github.com/astral-sh/ruff/pull/13092 ))
- \[`pylint`] Avoid autofix for calls that aren't `min` or `max` as
starred expression (`PLW3301`)
([#​13089](https://redirect.github.com/astral-sh/ruff/pull/13089 ))
- \[`ruff`] Add `datetime.time`, `datetime.tzinfo`, and
`datetime.timezone` as immutable function calls (`RUF009`)
([#​13109](https://redirect.github.com/astral-sh/ruff/pull/13109 ))
- \[`ruff`] Extend comment deletion for `RUF100` to include trailing
text from `noqa` directives while preserving any following comments on
the same line, if any
([#​13105](https://redirect.github.com/astral-sh/ruff/pull/13105 ))
- Fix dark theme on initial page load for the Ruff playground
([#​13077](https://redirect.github.com/astral-sh/ruff/pull/13077 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC41Ni4wIiwidXBkYXRlZEluVmVyIjoiMzguNTkuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 12:08:52 +05:30
Dhruv Manilawala
ee258caed7
Bump version to 0.6.3 ( #13152 )
2024-08-29 20:29:33 +05:30
Aditya Pal
b4d9d26020
Update faq.md to highlight changes to src ( #13145 )
...
This attempts to close https://github.com/astral-sh/ruff/issues/13134
## Summary
Documentation change to address
https://github.com/astral-sh/ruff/issues/13134
## Test Plan
Markdown Changes were previewed
2024-08-29 11:57:53 +00:00
Calum Young
2e75cfbfe7
Format PYI
examples in docs as .pyi
-file snippets ( #13116 )
2024-08-28 13:20:40 +01:00
Dhruv Manilawala
c8e01d7c53
Update dependency in insider requirements.txt ( #13112 )
2024-08-26 19:02:27 +00:00
Calum Young
ab3648c4c5
Format docs with ruff formatter ( #13087 )
...
## Summary
Now that Ruff provides a formatter, there is no need to rely on Black to
check that the docs are formatted correctly in
`check_docs_formatted.py`. This PR swaps out Black for the Ruff
formatter and updates inconsistencies between the two.
This PR will be a precursor to another PR
([branch](https://github.com/calumy/ruff/tree/format-pyi-in-docs )),
updating the `check_docs_formatted.py` script to check for pyi files,
fixing #11568 .
## Test Plan
- CI to check that the docs are formatted correctly using the updated
script.
2024-08-26 21:25:10 +05:30
Dhruv Manilawala
99df859e20
Include all required keys for Zed settings ( #13082 )
...
## Summary
Closes : #13081
2024-08-23 16:18:05 +00:00
Dhruv Manilawala
02c4373a49
Bump version to 0.6.2 ( #13056 )
2024-08-22 18:59:27 +05:30
tfardet
fc811f5168
Expand note to use Ruff with other language server in Kate ( #12806 )
...
## Summary
Provide instructions to use Ruff together with other servers in the Kate
editor.
Because Kate does not support running multiple servers for the same
language, one needs to use the ``python-lsp-server`` (pylsp) tool.
---------
Co-authored-by: Dhruv Manilawala <dhruvmanila@gmail.com>
2024-08-20 06:18:31 +00:00