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 - id: darker
args: [--isort, --skip-string-normalization] args: [--isort, --skip-string-normalization]
additional_dependencies: additional_dependencies:
- black~=23.11.0 - isort==5.9
- isort~=5.9 - flynt==0.76
- flynt~=0.78

View File

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