Unverified Commit d714dfea authored by Sam Shleifer's avatar Sam Shleifer Committed by GitHub
Browse files

[isort] add known 3rd party to setup.cfg (#4053)



* add known 3rd party to setup.cfg

* comment

* Update CONTRIBUTING.md
Co-authored-by: default avatarJulien Chaumond <chaumond@gmail.com>
parent d52b0e29
...@@ -130,7 +130,6 @@ Follow these steps to start contributing: ...@@ -130,7 +130,6 @@ Follow these steps to start contributing:
```bash ```bash
$ pip install -U git+git://github.com/timothycrosley/isort.git@e63ae06ec7d70b06df9e528357650281a3d3ec22#egg=isort $ pip install -U git+git://github.com/timothycrosley/isort.git@e63ae06ec7d70b06df9e528357650281a3d3ec22#egg=isort
``` ```
5. Develop the features on your branch. 5. Develop the features on your branch.
As you work on the features, you should make sure that the test suite As you work on the features, you should make sure that the test suite
......
...@@ -2,9 +2,9 @@ import argparse ...@@ -2,9 +2,9 @@ import argparse
from pathlib import Path from pathlib import Path
import torch import torch
from rouge_score import rouge_scorer, scoring
from tqdm import tqdm from tqdm import tqdm
from rouge_score import rouge_scorer, scoring
from transformers import T5ForConditionalGeneration, T5Tokenizer from transformers import T5ForConditionalGeneration, T5Tokenizer
......
...@@ -2,9 +2,9 @@ import argparse ...@@ -2,9 +2,9 @@ import argparse
from pathlib import Path from pathlib import Path
import torch import torch
from sacrebleu import corpus_bleu
from tqdm import tqdm from tqdm import tqdm
from sacrebleu import corpus_bleu
from transformers import T5ForConditionalGeneration, T5Tokenizer from transformers import T5ForConditionalGeneration, T5Tokenizer
......
...@@ -16,6 +16,8 @@ known_third_party = ...@@ -16,6 +16,8 @@ known_third_party =
PIL PIL
psutil psutil
pytorch_lightning pytorch_lightning
rouge_score
sacrebleu
seqeval seqeval
sklearn sklearn
tensorboardX tensorboardX
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment