uv/docs
Kevin Marchais a2a2662d43
Fix ruff linting warnings from generated template files for extension modules (#10371)
## Summary

This PR fixes two ruff linting issues in the generated template files
when using: `uv init --build-backend` for extension modules.

1. Removes unnecessary `from __future__ import annotations` imports from
generated .pyi files
([PYI044](https://docs.astral.sh/ruff/rules/future-annotations-in-stub/))
2. Adds missing blank line after `hello_from_bin` import to comply with
isort formatting
([I001](https://docs.astral.sh/ruff/rules/unsorted-imports/))

## Test Plan

```bash
cargo run -- init --build-backend scikit-build-core example-ext
uvx ruff check example-ext --select ALL

cargo run -- init --build-backend maturin example-ext
uvx ruff check example-ext --select ALL
```

## Remaining warnings

There are still warnings remainings in the generated `__init__.py`
files:
- [D104](https://docs.astral.sh/ruff/rules/undocumented-public-package/)
Missing docstring in public package
-
[D103](https://docs.astral.sh/ruff/rules/undocumented-public-function/)
Missing docstring in public function
- [T201](https://docs.astral.sh/ruff/rules/print/) `print` found
2025-01-07 17:07:44 +00:00
..
.overrides Use | for page separator in meta titles (#6953) 2024-09-03 00:42:59 +00:00
assets Add static assets to docs pages (#6951) 2024-09-02 20:00:30 -04:00
concepts Fix ruff linting warnings from generated template files for extension modules (#10371) 2025-01-07 17:07:44 +00:00
configuration Remove remaining references to deprecated first-match (#10038) 2024-12-19 14:37:27 -05:00
getting-started Bump version to 0.5.15 (#10337) 2025-01-06 18:04:25 -06:00
guides docs: github actions example: remove unneeded install step (#10356) 2025-01-07 08:46:44 -05:00
js Add support for anchor redirects with client-side js (#9212) 2024-11-19 22:32:43 -06:00
pip Fix small typo in editable packages docs (#10257) 2024-12-31 22:23:07 -05:00
reference Clarify exclude-newer only allows full timestamps in settings docs (#9135) 2025-01-06 10:03:21 -05:00
stylesheets Add breadcrumbs to the documentation (#9242) 2024-11-19 22:31:43 -06:00
.gitignore Add structured documentation (#4426) 2024-06-26 11:28:42 -05:00
index.md Remove pypy from top-level pin example (#9896) 2024-12-14 12:00:13 -06:00
requirements-insiders.in Reference the root requirements from the insiders requirements file (#5105) 2024-07-16 09:51:16 -05:00
requirements-insiders.txt Reorganize the project concept documentation (#9121) 2024-11-19 13:52:12 -06:00
requirements.in Reorganize the project concept documentation (#9121) 2024-11-19 13:52:12 -06:00
requirements.txt Reorganize the project concept documentation (#9121) 2024-11-19 13:52:12 -06:00