File: setup.sh

package info (click to toggle)
proxmoxer 2.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 404 kB
  • sloc: python: 3,107; sh: 12; makefile: 3
file content (14 lines) | stat: -rwxr-xr-x 388 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

# install proxmoxer as an editable package
pip3 install -e .
rm -rf proxmoxer.egg-info/

# hide the mass-formatting commits from git blames
git config blame.ignorerevsfile .git-blame-ignore-revs

# install the git hook for pre-commit
pre-commit install

# run pre-commit on a simple file to ensure it downloads all needed tools
pre-commit run --files .pre-commit-config.yaml