Skip to content

Commit

Permalink
noqa
Browse files Browse the repository at this point in the history
  • Loading branch information
abrichr committed Oct 25, 2024
1 parent aaf019d commit 5cf4c1a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openadapt/spacy_model_helpers/download_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
"./", ""
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ capture = "openadapt.capture:test"
postinstall = "scripts.postinstall:main"

[tool.black]
line-length = 88
extend-exclude = '''
/(
venv
Expand Down

0 comments on commit 5cf4c1a

Please sign in to comment.