Skip to content

Commit

Permalink
Fix tox -e lint when run inside the backend folder (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli authored Sep 13, 2024
1 parent 1749ce6 commit 2351be2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend_addon/{{ cookiecutter.__folder_name }}/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ skip_install = true
deps =
pre-commit
commands =
pre-commit run -a
# Run pre-commit without chdir to the root of the git repository
python -c "from pre_commit import main; main._adjust_args_and_chdir = lambda args: None; raise SystemExit(main.main())" run -a

[testenv:dependencies]
description = check if the package defines all its dependencies
Expand Down

0 comments on commit 2351be2

Please sign in to comment.