diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ebeda05..979c2e0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 692ff43..9922e0f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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/ +)/ +'''