Building AI agents, atomically
chore: add pre-commit configuration
KennyVaneetveldefe0bb2bf536a
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yamlnew file mode 100644index 0000000..7cdc1be--- /dev/null+++ b/.pre-commit-config.yaml@@ -0,0 +1,20 @@+repos:+ - repo: https://github.com/pre-commit/pre-commit-hooks+ rev: v5.0.0+ hooks:+ - id: trailing-whitespace+ - id: end-of-file-fixer+ - id: check-yaml+ - id: check-added-large-files++ - repo: https://github.com/psf/black+ rev: 24.10.0+ hooks:+ - id: black+ args: [--line-length=127]++ - repo: https://github.com/pycqa/flake8+ rev: 7.1.1+ hooks:+ - id: flake8+ args: [--max-line-length=127]diff --git a/pyproject.toml b/pyproject.tomlindex 0f48e34..737e94c 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -47,6 +47,7 @@ atomic = "atomic_assembler.main:main"dev = ["black>=24.8.0,<25.0.0","flake8>=7.1.1,<8.0.0",+ "pre-commit>=4.0.0,<5.0.0","pdoc3>=0.11.1,<1.0.0","pytest>=8.3.3,<9.0.0","pytest-cov>=5.0.0,<6.0.0",