diff --git a/openadapt/spacy_model_helpers/download_model.py b/openadapt/spacy_model_helpers/download_model.py index 37de16ce6..8826e3509 100644 --- a/openadapt/spacy_model_helpers/download_model.py +++ b/openadapt/spacy_model_helpers/download_model.py @@ -66,7 +66,8 @@ def download_latest_model_version() -> str: for filename in filenames: if filename.endswith(".whl"): continue - relative_path = f"{pathlib.Path(dirpath).relative_to(model_dir)}/{filename}".replace( + # TODO: noqa below is a hack to force compatibility between flake8/black + relative_path = f"{pathlib.Path(dirpath).relative_to(model_dir)}/{filename}".replace( # noqa: E501 "\\", "/" ).replace( "./", "" diff --git a/pyproject.toml b/pyproject.toml index 5f3f86ba4..b069aa26a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -135,6 +135,7 @@ capture = "openadapt.capture:test" postinstall = "scripts.postinstall:main" [tool.black] +line-length = 88 extend-exclude = ''' /( venv