ruff/crates/ruff
Brent Westbrook d4a5772d96
[flake8-builtins] Match upstream module name comparison (A005) (#16006)
See #15951 for the original discussion and reviews. This is just the
first half of that PR (reaching parity with `flake8-builtins` without
adding any new configuration options) split out for nicer changelog
entries.

For posterity, here's a script for generating the module structure that
was useful for interactive testing and creating the table
[here](https://github.com/astral-sh/ruff/pull/15951#issuecomment-2640662041).
The results for this branch are the same as the `Strict` column there,
as expected.

```shell
mkdir abc collections foobar urlparse

for i in */
do
	touch $i/__init__.py
done	

cp -r abc foobar collections/.
cp -r abc collections foobar/.

touch ruff.toml

touch foobar/logging.py
```

---------

Co-authored-by: Micha Reiser <micha@reiser.io>
2025-02-07 13:55:56 -05:00
..
resources/test/fixtures Rename ruff_cli crate to ruff (#9557) 2024-01-16 17:47:01 -05:00
src Fix formatter warning message for flake8-quotes option (#15788) 2025-01-29 16:30:28 +05:30
tests [flake8-builtins] Match upstream module name comparison (A005) (#16006) 2025-02-07 13:55:56 -05:00
build.rs ruff: add worktree support to build.rs (#14896) 2024-12-10 14:06:59 -05:00
Cargo.toml Bump version to 0.9.5 (#16002) 2025-02-06 13:24:45 -06:00