mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-08-30 04:40:16 +00:00
- Add essential open source files (CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, CHANGELOG.md, CONTRIBUTORS.md) - Add GitHub issue and PR templates - Add CI/CD workflows (CI, docs, release, dependabot) - Add pre-commit hooks configuration - Add documentation enhancements (architecture, governance, contributing, community) - Add developer experience scripts (setup-dev, run-tests, format-code, check-code) - Add community features (SUPPORT.md, .all-contributorsrc) - Enhance README badges and project metadata - Update mkdocs.yml navigation structure
24 lines
413 B
Bash
24 lines
413 B
Bash
#!/bin/bash
|
|
# Code formatting script for Semantica
|
|
|
|
set -e
|
|
|
|
echo "🎨 Formatting Semantica code..."
|
|
|
|
# Activate virtual environment if it exists
|
|
if [ -d "venv" ]; then
|
|
source venv/bin/activate
|
|
fi
|
|
|
|
# Format with black
|
|
echo "Formatting with black..."
|
|
black semantica/ tests/
|
|
|
|
# Sort imports with isort
|
|
echo "Sorting imports with isort..."
|
|
isort semantica/ tests/
|
|
|
|
echo ""
|
|
echo "✅ Code formatting complete!"
|
|
|