Add ruff as a submodule

This commit is contained in:
Micha Reiser 2025-05-05 11:32:37 +02:00 committed by GitHub
commit 1273091c25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 32 additions and 0 deletions

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "ruff"]
path = ruff
url = https://github.com/astral-sh/ruff

28
CONTRIBUTING.md Normal file
View file

@ -0,0 +1,28 @@
# Contributing
## Repository structure
ty's Rust crates can be found in the [Ruff](https://github.com/astral-sh/ruff) project. While the
relationship between these projects will evolve over time, they currently share foundational crates
and it's easiest to use a single repository for development. To contribute changes to ty's core,
open a pull request on the Ruff repository.
The Ruff repository is included as a submodule to allow ty's release tags to reflect an exact
snapshot of the Ruff project. The submodule is only updated on release. To see the latest
development code, visit the Ruff repository.
The ty repository only includes code relevant to distributing the ty project.
## Getting started with the ty repository
Clone the repository:
```
git clone https://github.com/astral-sh/ty.git
```
Then, ensure the submodule is initialized:
```
git submodule update --init --recursive
```

1
ruff Submodule

@ -0,0 +1 @@
Subproject commit 675a5af89af5b786a6c99870fe0cf7f841454271