Skip to content

Commit

Permalink
integration-tests: Include scripts in formatting and linting
Browse files Browse the repository at this point in the history
  • Loading branch information
funkyfuture committed May 12, 2024
1 parent 1d81efd commit 2108348
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 3 additions & 2 deletions integration-tests/fetch-corpora.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
),
Expand Down Expand Up @@ -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",
),
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 2108348

Please sign in to comment.