mirror of
https://github.com/astral-sh/ty.git
synced 2025-12-23 08:48:09 +00:00
Add ruff as a submodule
This commit is contained in:
commit
1273091c25
3 changed files with 32 additions and 0 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[submodule "ruff"]
|
||||
path = ruff
|
||||
url = https://github.com/astral-sh/ruff
|
||||
28
CONTRIBUTING.md
Normal file
28
CONTRIBUTING.md
Normal 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
1
ruff
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 675a5af89af5b786a6c99870fe0cf7f841454271
|
||||
Loading…
Add table
Add a link
Reference in a new issue