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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user