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

* add known 3rd party to setup.cfg

* comment

* Update CONTRIBUTING.md

Co-authored-by: Julien Chaumond <chaumond@gmail.com>
This commit is contained in:
Sam Shleifer
2020-04-28 17:12:00 -04:00
committed by GitHub
parent d52b0e294a
commit d714dfeaa8
4 changed files with 4 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -16,6 +16,8 @@ known_third_party =
PIL PIL
psutil psutil
pytorch_lightning pytorch_lightning
rouge_score
sacrebleu
seqeval seqeval
sklearn sklearn
tensorboardX tensorboardX