Skip to content

Commit

Permalink
Add: Add settings for black
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoernricks committed Mar 30, 2023
1 parent 53ca371 commit bf24ea2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,25 @@ pre-commit = [
"autohooks.plugins.pylint"
]

[tool.black]
line-length = 80
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
exclude = '''
/(
\.git
| \.venv
| \.github
| \.vscode
| _build
| build
| dist
| docs
)/
'''

[tool.isort]
profile = "black"
line_length = 80

[tool.pontos.version]
version-module-file = "autohooks/plugins/mypy/__version__.py"

0 comments on commit bf24ea2

Please sign in to comment.