2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-05-12 04:28:45 +00:00

chore(backend): bump dev tooling, switch to prek (#11905)

* update names

* update tooling

* update files to new style

* swich to prek

* remove autoupdate to make newbie PRs cleaner
This commit is contained in:
Matthias Mair
2026-05-10 02:15:30 +02:00
committed by GitHub
parent 69c11d106c
commit b47091f388
11 changed files with 76 additions and 277 deletions
+4 -5
View File
@@ -740,11 +740,10 @@ def setup_dev(c, tests: bool = False, verbose: bool = False):
# Install required Python packages with PIP
install(c, uv=False, skip_plugins=True, dev=True, verbose=verbose)
# Install pre-commit hook
info('Installing pre-commit for checks before git commits...')
run(c, 'pre-commit install')
run(c, 'pre-commit autoupdate')
success('pre-commit set up complete')
# Install prek hook
info('Installing prek for checks before git commits...')
run(c, 'prek install')
success('prek set up complete')
# Set up test-data if flag is set
if tests: