Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ repos:
rev: v5.0.0
hooks:
- id: end-of-file-fixer
exclude: (^|/)requirements.*\.txt$
- id: trailing-whitespace
- id: check-yaml
- id: check-added-large-files
Expand Down
Binary file removed requirements-dev.txt
Binary file not shown.
Binary file modified requirements.txt
Binary file not shown.
18 changes: 18 additions & 0 deletions setup.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@echo off

IF NOT EXIST .venv (
python -m venv .venv
)

CALL .venv\Scripts\activate.bat

pip install --upgrade pip
pip install pre-commit

IF EXIST requirements.txt (
pip install -r requirements.txt
)

pre-commit install

ECHO Setup complete
20 changes: 20 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash

set -e

if [ ! -d ".venv" ]; then
python3 -m venv .venv
fi

source .venv/bin/activate

pip install --upgrade pip
pip install pre-commit

if [ -f "requirements.txt" ]; then
pip install -r requirements.txt
fi

pre-commit install

echo "Setup complete"
Loading