neulab / ExplainaBoard

Interpretable Evaluation for AI Systems
MIT License
360 stars 36 forks source link

update isort version to fix ci error #607

Closed pfliu-nlp closed 1 year ago

pfliu-nlp commented 1 year ago

Overview

This PR update the isort version to 5.12.0 to fix the ci error.

--- update------ When upgrade the sort, a lot of new errors appeared, for example,

explainaboard/processors/conditional_generation.py:445:1: BLK100 Black would make changes.
explainaboard/processors/kg_link_tail_prediction.py:176:1: BLK100 Black would make changes.
explainaboard/processors/sequence_labeling.py:194:1: BLK100 Black would make changes.
explainaboard/processors/text_pair_classification.py:160:1: BLK100 Black would make changes.
explainaboard/third_party/text_to_sql_test_suit_eval/evaluation.py:811:1: BLK100 Black would make

I fixed it currently by adding ignore BLK100 tag.

pfliu-nlp commented 1 year ago

@neubig isort . unfortunately cannot work. But I fix them manually.