gh-38036: cython-lint for schemes
fixing a few more cython-lint suggestions in schemes
```cython-lint --ignore=E501,E231,E265 src/sage/schemes/```
### :memo: Checklist
- [x] The title is concise and informative.
- [x] The description explains in detail what this PR is about.
URL: https://github.com/sagemath/sage/pull/38036
Reported by: Frédéric Chapoton
Reviewer(s): David Coudert