feat: Add Black and isort pre-commit hooks with line length configuration

This commit is contained in:
Andreas Koepf (aider) 2025-01-23 11:02:13 +01:00
parent 64641c4ee0
commit 82afdb26e9
3 changed files with 31 additions and 0 deletions

View file

@ -20,3 +20,13 @@ classifiers = [
[project.urls]
"Homepage" = "https://github.com/open-thought/reasoning-gym"
"Bug Tracker" = "https://github.com/open-thought/reasoning-gym/issues"
[tool.black]
line-length = 120
target-version = ['py312']
include = '\.pyi?$'
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 120