Revert license and license-files changes in pyproject.toml (#19624)

Summary
--

This partially reverts commit 13634ff433
after issues in the release today.

Test Plan
--

```shell
uv build --sdist
tar -tzf dist/ruff-0.12.6.tar.gz | grep ruff-0.12.6/LICENSE
```

which finds the license now.
This commit is contained in:
Brent Westbrook 2025-07-29 17:27:55 -04:00 committed by GitHub
parent 6e00adf308
commit 04a8f64cd7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,8 +9,7 @@ description = "An extremely fast Python linter and code formatter, written in Ru
authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }]
readme = "README.md"
requires-python = ">=3.7"
license = "MIT"
license-files = ["LICENSE"]
license = { file = "LICENSE" }
keywords = [
"automation",
"flake8",