File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 22We want to make contributing to this project as easy and transparent as
33possible.
44
5- ## Our Development Process
6- ... (in particular how this is synced with internal changes to the project)
7-
85## Pull Requests
96We actively welcome your pull requests.
107
@@ -15,6 +12,13 @@ We actively welcome your pull requests.
15125 . Make sure your code lints.
16136 . If you haven't already, complete the Contributor License Agreement ("CLA").
1714
15+ ## Linting
16+
17+ We use [ ruff] ( https://beta.ruff.rs/docs/ ) for linting.
18+ 1 . ` pip install ruff==0.11.6 `
19+ 2 . ` ruff check --fix `
20+ 3 . ` ruff format . `
21+
1822## Contributor License Agreement ("CLA")
1923In order to accept your pull request, we need you to submit a CLA. You only need
2024to do this once to work on any of Meta's open source projects.
Original file line number Diff line number Diff line change 1212import torch
1313from torch import nn
1414from torch .distributed ._composable .fsdp import (
15- fully_shard ,
1615 CPUOffloadPolicy ,
1716 OffloadPolicy ,
17+ fully_shard ,
1818)
1919from torch .testing ._internal .common_distributed import skip_if_lt_x_gpu
2020from torch .testing ._internal .common_fsdp import FSDPTest
You can’t perform that action at this time.
0 commit comments