Update setup.sh

pull/985/head
CI-DEV 4 days ago committed by GitHub
parent 27a57c1f09
commit 9eecf352a4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -88,6 +88,17 @@ print_success "All dependencies installed successfully"
# Activate virtual environment and run additional setup # Activate virtual environment and run additional setup
print_status "Setting up development tools..." print_status "Setting up development tools..."
# Setup pre-commit hooks
print_status "Installing pre-commit hooks..."
poetry run pre-commit install
poetry run pre-commit install --hook-type commit-msg
print_success "Pre-commit hooks installed"
# Run pre-commit on all files to ensure everything is set up correctly
print_status "Running pre-commit on all files (this may take a while on first run)..."
poetry run pre-commit run --all-files || print_warning "Some pre-commit checks failed - this is normal on first setup"
# Create .env file if it doesn't exist # Create .env file if it doesn't exist
if [ ! -f ".env" ]; then if [ ! -f ".env" ]; then
print_status "Creating .env file template..." print_status "Creating .env file template..."

Loading…
Cancel
Save