switch from black to ruff for formatting

This commit is contained in:
Jörg Thalheim
2023-11-03 13:37:09 +01:00
parent 15dc4fd497
commit 5cb4019942
5 changed files with 38 additions and 69 deletions

View File

@@ -58,25 +58,3 @@ line-length = 88
select = [ "E", "F", "I", "N"]
ignore = [ "E501" ]
[tool.black]
line-length = 88
target-version = [ "py310" ]
include = "\\.pyi?$"
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
# The following are specific to Black, you probably don't want those.
| blib2to3
| tests/data
| profiling
)/
'''