From 2108348903806240a49f7697aaa2186ed43b2215 Mon Sep 17 00:00:00 2001 From: Frank Sachsenheim Date: Sun, 12 May 2024 23:57:32 +0200 Subject: [PATCH] integration-tests: Include scripts in formatting and linting --- Justfile | 2 +- integration-tests/fetch-corpora.py | 5 +++-- pyproject.toml | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Justfile b/Justfile index fa37524..d498d4a 100644 --- a/Justfile +++ b/Justfile @@ -10,7 +10,7 @@ benchmarks: # normalize Python code black: - black benchmarks _delb delb tests + black benchmarks _delb delb integration-tests tests # runs tests (except loaders) and reports uncovered lines coverage-report: diff --git a/integration-tests/fetch-corpora.py b/integration-tests/fetch-corpora.py index 4e44b75..d44479a 100755 --- a/integration-tests/fetch-corpora.py +++ b/integration-tests/fetch-corpora.py @@ -50,7 +50,8 @@ class Archive(NamedTuple): ARCHIVE_DESCRIPTIONS: Final = ( Archive( - url="https://github.com/Brown-University-Library/atalanta-texts/archive/master.tar.gz", + url="https://github.com/Brown-University-Library/atalanta-texts/archive" + "/master.tar.gz", archive_documents_root="atalanta-texts-master/", target_directory="atalanta", ), @@ -222,7 +223,7 @@ class Archive(NamedTuple): url="https://github.com/funkyfuture/idp.data/archive/master.tar.gz", # TODO use this URL when https://github.com/papyri/idp.data/pull/391 # was merged: - # url="https://github.com/papyri/idp.data/archive/master.tar.gz", + # url="https://github.com/papyri/idp.data/archive/master.tar.gz", # noqa: E800 archive_documents_root="idp.data-master/", target_directory="papyri", ), diff --git a/pyproject.toml b/pyproject.toml index 43e1824..4ced73f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -167,7 +167,7 @@ dependencies = [ ] detached = true [tool.hatch.envs.linting.scripts] -check = "flake8 benchmarks _delb delb tests" +check = "flake8 benchmarks _delb delb integration-tests tests" [tool.hatch.envs.mypy] dependencies = [