Nicholas Grisafi
f7dca3d958
Add Rippling to who uses ruff ( #7032 )
...
## Summary
Adding rippling to who uses ruff section
## Test Plan
We migrated to ruff 🙂
2023-08-31 18:36:48 +00:00
Charlie Marsh
91880b8273
Bump version to 0.0.286 ( #6876 )
2023-08-25 14:59:26 -04:00
Zanie Blue
5892c691ea
Bump version to 0.0.285 ( #6660 )
...
Requires
- https://github.com/astral-sh/ruff/pull/6655
- https://github.com/astral-sh/ruff/pull/6657
2023-08-17 15:46:28 -05:00
Anton Grouchtchak
9bf6713b76
Change rule count from 500 to 600 ( #6605 )
...
Fixes missing change from PR #6579 .
2023-08-15 19:17:52 -05:00
Charlie Marsh
5f709cd3e0
Bump rule count to 600+ in the docs ( #6579 )
...
My informal count yielded 679 rules as of yesterday.
2023-08-15 00:11:32 +00:00
Zanie Blue
3ecd263b4d
Bump version to 0.0.284 ( #6453 )
...
## What's Changed
This release fixes a few bugs, notably the previous release announced a
breaking change where the default target
Python version changed from 3.10 to 3.8 but it was not applied. Thanks
to @rco-ableton for fixing this in
https://github.com/astral-sh/ruff/pull/6444
### Bug Fixes
* Do not trigger `S108` if path is inside `tempfile.*` call by
@dhruvmanila in https://github.com/astral-sh/ruff/pull/6416
* Do not allow on zero tab width by @tjkuson in
https://github.com/astral-sh/ruff/pull/6429
* Fix false-positive in submodule resolution by @charliermarsh in
https://github.com/astral-sh/ruff/pull/6435
## New Contributors
* @rco-ableton made their first contribution in
https://github.com/astral-sh/ruff/pull/6444
**Full Changelog**:
https://github.com/astral-sh/ruff/compare/v0.0.283...v0.0.284
2023-08-09 13:32:33 -05:00
Zanie Blue
fe9590f39f
Bump version number to 0.0.283 ( #6407 )
2023-08-08 12:31:30 -05:00
Zanie Blue
bb96647d66
Assume Python 3.8 instead of 3.10 for target version ( #6397 )
...
The target version should be the oldest supported version instead of an
arbitary version. Since 3.7 is EOL, we should use 3.8. I would like to
follow this up with more comprehensive default detection based on the
environment.
2023-08-07 13:48:06 -05:00
Charlie Marsh
743118ae9a
Bump version to 0.0.282 ( #6241 )
2023-08-01 13:21:33 +00:00
Charlie Marsh
dbd60b2cf5
Bump version to 0.0.281 ( #6195 )
2023-07-31 13:21:43 -04:00
Noah Jenner
9dfe484472
Modify PyPA classifiers and Shields.io badge URLs ( #6082 )
...
## Summary
Updated `pyproject.toml` classifiers from `"Development Status :: 4 -
Beta"` to `"Development Status :: 5 - Production/Stable"` to reflect the
transition from Beta to Full Release.
Updated the `README.md` to use `.com/astral-sh/ruff/...` instead of
`.com/charliermarsh/ruff/...` in Shields.io badges to reflect the
transition to a company.
## Test Plan
Utilized the official PyPA classifiers list (located at:
https://pypi.org/classifiers/ )
Previewed the markdown file in different browsers on Github to ensure
all badges and logos still render properly.
2023-07-26 01:25:46 +00:00
Charlie Marsh
f5a2fb5b5d
Bump version to 0.0.280 ( #5965 )
2023-07-21 22:36:13 -04:00
Charlie Marsh
f1f89f2a7e
Bump version to 0.0.279 ( #5949 )
2023-07-21 15:46:53 -04:00
Pedro
6f96acfd27
Rename `Pynecone` to `Reflex` ( #5888 )
...
<!--
Thank you for contributing to Ruff! To help us out with reviewing,
please consider the following:
- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->
## Summary
They just changed the name to `Reflex`
## Test Plan
Nothing
2023-07-19 18:46:49 +02:00
Charlie Marsh
e7b059cc5c
Fix nested lists in CONTRIBUTING.md ( #5721 )
...
## Summary
We have a lot of two-space-indented stuff, but apparently it needs to be
four-space indented to render as expected in MkDocs.
2023-07-13 16:32:59 +00:00
Charlie Marsh
0ead9a16ac
Bump version to 0.0.278 ( #5714 )
2023-07-12 12:39:56 -04:00
Simon Brugman
87ca6171cf
docs: add user ( #5563 )
...
## Summary
Adding two repositories at ING Bank using ruff. Demonstrates
corporate/industry adoption, e.g. similar to AstraZeneca.
## Test Plan
Note that the tests failing seems unrelated.
2023-07-06 15:55:27 +00:00
Kar Petrosyan
25981420c4
Add httpx into the `Who's Using Ruff?` section ( #5560 )
2023-07-06 13:52:28 +00:00
Charlie Marsh
ea270da289
Move some MkDocs responsibilities around ( #5542 )
...
## Summary
Note that I've also changed from `mkdocs serve` to `mkdocs serve -f
mkdocs.generated.yml` to be clearer that this is a generated file.
2023-07-05 22:06:01 +00:00
Charlie Marsh
0726dc25c2
Add some additional users to the README ( #5522 )
2023-07-05 02:09:50 +00:00
Charlie Marsh
324455f580
Bump version to 0.0.277 ( #5515 )
2023-07-04 17:31:32 -04:00
Charlie Marsh
3992c47c00
Bump version to 0.0.276 ( #5488 )
2023-07-03 18:02:49 +00:00
Charlie Marsh
1ed227a1e0
Port Pyright's import resolver to Rust ( #5381 )
...
## Summary
This PR contains the first step towards enabling robust first-party,
third-party, and standard library import resolution in Ruff (including
support for `typeshed`, stub files, native modules, etc.) by porting
Pyright's import resolver to Rust.
The strategy taken here was to start with a more-or-less direct port of
the Pyright's TypeScript resolver. The code is intentionally similar,
and the test suite is effectively a superset of Pyright's test suite for
its own resolver. Due to the nature of the port, the code is very, very
non-idiomatic for Rust. The code is also entirely unused outside of the
test suite, and no effort has been made to integrate it with the rest of
the codebase.
Future work will include:
- Refactoring the code (now that it works) to match Rust and Ruff
idioms.
- Further testing, in practice, to ensure that the resolver can resolve
imports in a complex project, when provided with a virtual environment
path.
- Caching, to minimize filesystem lookups and redundant resolutions.
- Integration into Ruff itself (use Ruff's existing settings, find rules
that can make use of robust resolution, etc.)
2023-06-27 16:15:07 +00:00
trag1c
e8ebe0a425
Update docs to match updated logo and color palette ( #5283 )
...

## Summary
Supersedes #5277 , includes redesigned dark mode.
## Test Plan
* `python scripts/generate_mkdocs.py`
* `mkdocs serve`
2023-06-22 11:19:34 -04:00
Charlie Marsh
1c0a3a467f
Bump version to 0.0.275 ( #5276 )
2023-06-21 21:53:37 -04:00
Charlie Marsh
e0339b538b
Bump version to 0.0.274 ( #5230 )
2023-06-20 22:12:32 -04:00
Charlie Marsh
fde5dbc9aa
Bump version to 0.0.273 ( #5218 )
2023-06-20 14:37:28 -04:00
Ryan Yang
ab3c02342b
Implement copyright notice detection ( #4701 )
...
## Summary
Add copyright notice detection to enforce the presence of copyright
headers in Python files.
Configurable settings include: the relevant regular expression, the
author name, and the minimum file size, similar to
[flake8-copyright](https://github.com/savoirfairelinux/flake8-copyright ).
Closes https://github.com/charliermarsh/ruff/issues/3579
---------
Signed-off-by: ryan <ryang@waabi.ai>
Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
2023-06-11 02:17:58 +00:00
qdegraaf
2bb32ee943
[`flake8-slots`] Add plugin, add `SLOT000`, `SLOT001` and `SLOT002` ( #4909 )
2023-06-09 04:14:16 +00:00
Dhruv Manilawala
07cc4bcb0f
Update links to point to Astral org ( #4949 )
2023-06-08 11:43:40 -04:00
Charlie Marsh
5235977abc
Bump version to 0.0.272 ( #4948 )
2023-06-08 02:17:29 +00:00
Charlie Marsh
2b5fb70482
Bump version to 0.0.271 ( #4890 )
2023-06-06 15:11:48 -04:00
Jonathan Plasse
f7c2d25205
Remove enumerated plugins in rules page ( #4715 )
2023-05-29 22:20:41 +00:00
Julian LaNeve
68db74b3c5
Add AIR001: task variable name should be same as task_id arg ( #4687 )
2023-05-29 03:25:06 +00:00
Julian LaNeve
5756829344
markdownlint: enforce 100 char max length ( #4698 )
2023-05-28 22:45:56 -04:00
Charlie Marsh
f4572fe40b
Bump version to 0.0.270 ( #4637 )
2023-05-24 16:34:29 +00:00
Charlie Marsh
f22c269ccf
Point LSP, VS Code, and pre-commut URLs to Astral org ( #4562 )
2023-05-21 15:27:35 -04:00
Jacob Coffee
6db05d8cc6
Starlite -> Litestar ( #4554 )
2023-05-21 09:55:26 -04:00
Charlie Marsh
d4c0a41b00
Bump version to 0.0.269 ( #4506 )
2023-05-18 19:45:20 +00:00
Charlie Marsh
8702b5a40a
Bump version to 0.0.268 ( #4501 )
2023-05-18 15:35:46 -04:00
James Lamb
140e0acf54
Add LightGBM to user list ( #4446 )
2023-05-16 04:04:37 +00:00
qdegraaf
8ba9eb83af
Implement `flake8-async` plugin ( #4432 )
2023-05-15 09:15:28 -04:00
Tyler Yep
01b372a75c
Implement `flake8-future-annotations` FA100 ( #3979 )
2023-05-14 03:00:06 +00:00
Evan Rittenhouse
2f53781a77
Implement `flake8_todos` ( #3921 )
2023-05-13 14:19:06 +00:00
Charlie Marsh
e6bb5cddcf
Add Astral badge to the repo ( #4401 )
2023-05-12 19:27:38 +00:00
Charlie Marsh
dcedd5cd9d
Bump version to 0.0.267 ( #4400 )
2023-05-12 19:04:56 +00:00
Charlie Marsh
a6176d2c70
Add PyTorch to user list ( #4393 )
2023-05-12 18:02:13 +00:00
OMEGA_RAZER
1d165f7e9d
Add linting badge that can be used to display usage ( #3938 )
2023-05-12 17:58:29 +00:00
Charlie Marsh
e96092291d
Update Ruff badge ( #4392 )
2023-05-12 13:42:33 -04:00
Charlie Marsh
67076b2dcb
Bump version to 0.0.266 ( #4391 )
2023-05-12 13:11:03 -04:00
Charlie Marsh
865205d992
Implement pygrep-hook's Mock-mistake diagnostic ( #4366 )
2023-05-11 03:26:29 +00:00
Charlie Marsh
f23851130a
Add `flynt` to documentation ( #4295 )
2023-05-09 00:52:41 +00:00
Jerome Leclanche
5ac2c7d293
Add .git-rewrite folder to default ignored folder paths ( #4261 )
2023-05-06 22:40:38 -04:00
Charlie Marsh
11e1380df4
Bump version to 0.0.265 ( #4248 )
2023-05-05 13:16:05 -04:00
Charlie Marsh
8cb76f85eb
Bump version to 0.0.264 ( #4179 )
2023-05-01 23:33:38 -07:00
Charlie Marsh
fd7ccb4c9e
Bump version to 0.0.263 ( #4086 )
2023-04-24 23:32:29 -06:00
Zanie Adkins
4d3a1e0581
Add `PrefectHQ/prefect` to list of ruff users ( #4084 )
2023-04-24 17:49:12 -06:00
Bartosz Sokorski
9e5f348a17
Add Poetry to the list of projects using Ruff ( #4085 )
2023-04-24 17:48:35 -06:00
Jacob Coffee
cb762f4cad
Add Astral announcement to README ( #4010 )
2023-04-19 20:28:45 +00:00
Charlie Marsh
25a6bfa9ee
Bump version to 0.0.262 ( #4032 )
2023-04-19 15:49:28 -04:00
Andrei Grazhdankov
6c3e4ef441
Add Robyn to user list ( #4008 )
2023-04-18 09:51:20 -04:00
Justin Chu
484b572e6b
Add ONNX Runtime to user list ( #3982 )
2023-04-16 18:21:46 -04:00
Charlie Marsh
81805a45f0
Add some additional users ( #3975 )
2023-04-14 12:41:22 -04:00
Charlie Marsh
71e807b3be
Add Prefect to user list ( #3949 )
2023-04-12 12:09:36 -04:00
Edgar R. M
ffdd0de522
Add Meltano to users ( #3883 )
2023-04-04 23:05:53 -04:00
Charlie Marsh
5370968839
Add some additional users and alphabetize ( #3882 )
2023-04-05 02:40:02 +00:00
Charlie Marsh
255b094b33
Bump version to 0.0.261 ( #3881 )
2023-04-04 22:31:01 -04:00
Charlie Marsh
251340a246
Add LangChain and LlamaIndex ( #3879 )
2023-04-04 19:36:31 +00:00
brucearctor
e006b922a6
Add documentation for `ruff-action` (GitHub Action!) ( #3857 )
2023-04-03 23:47:26 +00:00
Nicolas Vuillamy
b52cb93e58
Add thank you in README.md + usage in MegaLinter ( #3848 )
2023-04-03 15:45:25 +00:00
Madison Swain-Bowden
a142d71e0b
Add Openverse to users of ruff in README ( #3806 )
2023-03-30 09:14:47 -04:00
Charlie Marsh
9d3b8eb67b
Bump version to v0.0.260 ( #3799 )
2023-03-29 14:51:50 -04:00
Charlie Marsh
5977862a60
Enumerate all codes in default configuration example ( #3790 )
2023-03-28 23:36:22 +00:00
Leiser Fernández Gallo
224e85c6d7
Implement `flake8-gettext` ( #3785 )
2023-03-28 23:32:02 +00:00
Charlie Marsh
c3917eab38
Revert "Implement `flake8-i18n` ( #3741 )" ( #3765 )
2023-03-27 21:14:38 +00:00
Leiser Fernández Gallo
5cb120327c
Implement `flake8-i18n` ( #3741 )
2023-03-27 18:03:39 +00:00
Charlie Marsh
f58345dee3
Bump version to v0.0.259 ( #3691 )
2023-03-23 14:52:42 -04:00
Charlie Marsh
615887a7fe
Bump version to v0.0.258 ( #3671 )
2023-03-22 15:02:57 -04:00
Charlie Marsh
1e45b13958
Remove linked issue from `flake8-django` ( #3664 )
2023-03-22 03:26:22 +00:00
James Greenhill
b06ca25421
Add PostHog to users of Ruff in README ( #3641 )
2023-03-21 10:05:35 -04:00
Charlie Marsh
621e4353e3
Re-add the list of supported plugins to the README ( #3592 )
2023-03-17 23:33:37 -04:00
Charlie Marsh
0c4926ff7b
Bump version to v0.0.257 ( #3591 )
2023-03-17 22:34:10 -04:00
Charlie Marsh
667130a4c3
Add some additional users to the users list ( #3565 )
2023-03-16 23:32:17 +00:00
Nyakku Shigure
72febf98b7
add PaddlePaddle to `Who's Using Ruff?` ( #3562 )
2023-03-16 14:20:11 -04:00
Charlie Marsh
12dfd57211
Bump version to v0.0.256 ( #3531 )
2023-03-14 22:52:21 -04:00
Charlie Marsh
aa97a092bd
Bump version to v0.0.255 ( #3485 )
2023-03-13 14:06:51 -04:00
Charlie Marsh
cd192eddf9
Add some new users to the README ( #3471 )
2023-03-13 00:08:58 +00:00
Charlie Marsh
bbbc44336e
Bump version to 0.0.254 ( #3331 )
2023-03-03 19:11:07 -05:00
Charlie Marsh
8066607ea3
Add a preliminary tutorial ( #3281 )
2023-02-28 20:31:27 +00:00
Jonathan Plasse
d285f5c90a
Run automatically format code blocks with Black ( #3191 )
2023-02-27 10:14:05 -05:00
Charlie Marsh
386ca7c9a1
Bump version to 0.0.253 ( #3245 )
2023-02-26 23:10:04 -05:00
Charlie Marsh
36d134fd41
Bump lint rule count to 500+ ( #3240 )
2023-02-26 18:10:09 -05:00
Charlie Marsh
bbc55cdb04
Allow ruff.toml file to be dot-prefixed (as .ruff.toml) ( #3221 )
2023-02-24 23:14:26 +00:00
Jonathan Plasse
6e54cd8233
Normalize relative markdown links ( #3190 )
2023-02-23 16:24:31 -05:00
Charlie Marsh
74e18b6cff
Split up some docs sections ( #3154 )
2023-02-22 20:18:10 -05:00
Charlie Marsh
b9bfb81e36
Move configuration out of README and into permanent docs ( #3150 )
2023-02-22 19:25:53 -05:00
Charlie Marsh
dbdfdeb0e1
Add pre-commit note to docs ( #3145 )
2023-02-22 17:22:47 -05:00
Charlie Marsh
1c41789c2a
Bump version to 0.0.252 ( #3142 )
2023-02-22 14:50:14 -05:00
Marijn Valk
7d55b417f7
add delta-rs to list of users ( #3133 )
2023-02-22 13:07:58 -05:00
Charlie Marsh
fd638a2e54
Bump version to 0.0.251 ( #3105 )
2023-02-21 18:13:59 -05:00