From 04a8f64cd731580c77a4e444f02c8eb873c673ac Mon Sep 17 00:00:00 2001 From: Brent Westbrook <36778786+ntBre@users.noreply.github.com> Date: Tue, 29 Jul 2025 17:27:55 -0400 Subject: [PATCH] Revert `license` and `license-files` changes in `pyproject.toml` (#19624) Summary -- This partially reverts commit 13634ff433310fa4b718c57cb8ea43ab334e2637 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. --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 836dbe2814..5789e0843a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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",