Skip to content

Commit

Permalink
Add configuration for black formatting of python sources
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Feb 12, 2024
1 parent 8c4fbb5 commit 381c08b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,7 @@ repos:
"-x", ".github/*", ".pre-commit-config.yaml", "README.md",
"doc/ReleaseNotes.md", ".k4fwcore-ci.d/*",
"-f"]
- repo: https://github.com/psf/black
rev: 23.11.0
hooks:
- id: black
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[tool.black]
line-length = 99
target-version = ["py310"]

0 comments on commit 381c08b

Please sign in to comment.