feat: Add digital, dry, ink, and paint brush presets; implement regression testing hooks
- Introduced new crates for digital brushes, dry media brushes, ink brushes, and paint brushes, each containing various presets. - Updated the menus to include "Paste Special" and "Paste as New Layer" options. - Enhanced the feature scorecard tests to validate selection texture encoding. - Added a regression gate workflow for automated testing on push and pull requests. - Implemented Git hooks for pre-commit checks to ensure code formatting and run tests before commits. - Created a settings file for local configurations.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#!/usr/bin/env python3
|
||||
import sys
|
||||
import json
|
||||
import subprocess
|
||||
import os
|
||||
|
||||
def load_manifest():
|
||||
@@ -42,13 +41,9 @@ def main():
|
||||
log.write(report_line + "\n")
|
||||
|
||||
if high_risk_change:
|
||||
print("🔄 Yüksek riskli alan değiştiği için Rust entegrasyon testleri zorunlu olarak çalıştırılıyor...")
|
||||
result = subprocess.run("cargo test --all-features", shell=True)
|
||||
if result.returncode != 0:
|
||||
print("❌ Entegrasyon testleri başarısız oldu! Özellik kaybı var.")
|
||||
sys.exit(1)
|
||||
print("High-risk change detected; the mandatory pre-commit gate already ran the deterministic workspace tests.")
|
||||
|
||||
sys.exit(0)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user