From c494f155be92b00d19c22e3360816747f8392d9d Mon Sep 17 00:00:00 2001 From: Kanishk Pachauri Date: Fri, 29 Aug 2025 21:44:55 +0530 Subject: [PATCH] fix: build errors due to README.md path in pyproject.toml --- crates/typos-cli/pyproject.toml | 19 ----------------- pyproject.toml | 36 +++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 19 deletions(-) delete mode 100644 crates/typos-cli/pyproject.toml create mode 100644 pyproject.toml diff --git a/crates/typos-cli/pyproject.toml b/crates/typos-cli/pyproject.toml deleted file mode 100644 index c1b8e0bdb..000000000 --- a/crates/typos-cli/pyproject.toml +++ /dev/null @@ -1,19 +0,0 @@ -[build-system] -requires = ["maturin>=1.9,<1.10"] -build-backend = "maturin" - -[project] -name = "typos" -requires-python = ">=3.7" -classifiers = [ - "Intended Audience :: Developers", - "Topic :: Software Development", - "Programming Language :: Rust", - "Programming Language :: Python :: Implementation :: CPython", - "Programming Language :: Python :: Implementation :: PyPy", -] - - -[tool.maturin] -module-name = "typos" -bindings = "bin" diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 000000000..f3c6c1c21 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,36 @@ +[build-system] +requires = ["maturin>=1.9,<1.10"] +build-backend = "maturin" + +[project] +name = "typos" +description = "Source Code Spelling Correction" +requires-python = ">=3.8" +keywords = [ + "development", "spelling" +] +classifiers = [ + "Environment :: Console", + "Intended Audience :: Developers", + "Topic :: Software Development", + "Operating System :: OS Independent", + "License :: OSI Approved :: MIT License", + "License :: OSI Approved :: Apache Software License", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Rust", + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy", +] + +readme = "README.md" + +[project.urls] +Repository = "https://github.com/crate-ci/typos" +Documentation = "https://github.com/crate-ci/typos#typos" +Changelog = "https://github.com/crate-ci/typos/blob/master/CHANGELOG.md" +Releases = "https://github.com/crate-ci/typos/releases" + +[tool.maturin] +module-name = "typos" +bindings = "bin"