Skip to content

Commit

Permalink
Fix flake8 lint
Browse files Browse the repository at this point in the history
  • Loading branch information
suecharo committed Feb 4, 2024
1 parent b4a22cf commit 7df9800
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion sapporo/ro_crate.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,5 @@ def extract_exe_dir_file_ids(crate: ROCrate) -> List[str]:


if __name__ == "__main__":
import sys
inputted_dir = Path(sys.argv[1]).resolve(strict=True)
generate_ro_crate(str(inputted_dir))
3 changes: 1 addition & 2 deletions tests/lint_and_style_check/flake8.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ cd "${PACKAGE_ROOT}"

flake8 "${PACKAGE_ROOT}" \
--extend-ignore=E501 \
--exclude "${PACKAGE_ROOT}/tests/resources" \
--exclude "${PACKAGE_ROOT}/run" \
--exclude "${PACKAGE_ROOT}/tests/resources,${PACKAGE_ROOT}/run" \
--count --show-source --statistics

0 comments on commit 7df9800

Please sign in to comment.