Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into ai-1260-add-loading…
Browse files Browse the repository at this point in the history
…-of-polygon-support-for-object-detection-datasets
  • Loading branch information
ChristofferEdlund committed Oct 17, 2023
2 parents 7e1f194 + 677329f commit 94da955
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion deploy/_filter_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def main(argv: List[str]) -> None:
if file_extension.startswith("."):
file_extension = file_extension[1:]

files_out = [file for file in files_in if file.endswith(f".{file_extension}")]
files_out = [file for file in files_in if file.endswith(f".{file_extension}") and 'future' in file]

print(" ".join(files_out))

Expand Down
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,15 @@ warn_untyped_fields = true
[tool.ruff]
select = ["E", "F", "C"]
ignore = ["E203", "E402"]
line-length = 160
line-length = 88

[tool.ruff.per-file-ignores]
"__init__.py" = ["E402", "F401"]
"path/to/file.py" = ["E402"]
"**/{tests,docs,tools}/*" = ["E402"]
"darwin/future/tests/*" = ["F403"]
"**/{tests,docs,tools}/*" = ["E402", "F403"]


[tool.flake8]
max-line-length = 160
max-line-length = 88
ignore = ["E203", "W503", "E402"]

[tool.poetry.dependencies]
Expand Down

0 comments on commit 94da955

Please sign in to comment.