Fixing exclude paths format and locking flynt and isort due to breaking changes

This commit is contained in:
Willian Rocha 2023-12-10 19:47:58 -03:00
parent 79ad3e49ae
commit d4bf23a9c7
2 changed files with 11 additions and 11 deletions

View File

@ -13,6 +13,5 @@ repos:
- id: darker
args: [--isort, --skip-string-normalization]
additional_dependencies:
- black~=23.11.0
- isort~=5.9
- flynt~=0.78
- isort==5.9
- flynt==0.76

View File

@ -45,7 +45,6 @@ build-backend = "poetry.core.masonry.api"
src = [
".",
]
revision = "master"
diff = true
check = true
isort = true
@ -57,10 +56,12 @@ line-length = 120
log_level = "INFO"
[tool.black]
exclude = [
"tests/_data/",
"tests/_data_clean/",
"tests/_data_duplicated_deps/",
"tests/_data_ignore/",
"tests/_invalid_data/",
]
exclude = '''
/(
tests/_data/
| tests/_data_clean/
| tests/_data_duplicated_deps/
| tests/_data_ignore/
| tests/_invalid_data/
)/
'''