diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index 7a70dd7..0e3b7aa 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -26,7 +26,7 @@ jobs: run: poetry install --no-root - name: Test Code Style - run: poetry run flake8 + run: poetry run flake8 --extend-ignore E501 - name: Test Code run: poetry run pytest \ No newline at end of file diff --git a/.github/workflows/extended.yml b/.github/workflows/extended.yml index 58aca5a..b5d1fd9 100644 --- a/.github/workflows/extended.yml +++ b/.github/workflows/extended.yml @@ -27,7 +27,7 @@ jobs: run: poetry install --no-root - name: Lint with flake8 - run: poetry run flake8 + run: poetry run flake8 --extend-ignore E501 - name: Test Black Code Style compliance run: poetry run black . --check --diff diff --git a/tests/test_integration.py b/tests/test_integration.py index 6cade0e..2b6ddca 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -98,8 +98,7 @@ def test_rest(train_data_file, model_path): assert res.status_code == status.HTTP_200_OK # We can make following assumption due to the construction of train data assert res.json() == json.loads( - QualityEstimation(scores=[QualityScores( - name=Metric.RECALL, scores=[1])]).model_dump_json() + QualityEstimation(scores=[QualityScores(name=Metric.RECALL, scores=[1])]).model_dump_json() )