Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

added-pre-commit-configuration (#1782)

dbcontributions462aaebd6c2d
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 000000000..291271262
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,16 @@
+repos:
+ - repo: local
+ hooks:
+ - id: ruff
+ name: Ruff
+ entry: ruff
+ language: system
+ types: [python]
+ args: [--fix]
+
+ - id: isort
+ name: isort
+ entry: isort
+ language: system
+ types: [python]
+ args: ["--profile", "black"]