diff --git a/blue/__init__.py b/blue/__init__.py index c6b60ea..95f73e4 100644 --- a/blue/__init__.py +++ b/blue/__init__.py @@ -448,7 +448,7 @@ def main(): 'Black', 'Blue' ) # Change the config param callback to support setup.cfg, tox.ini, etc. - config_param = black.main.params[25] + config_param = black.main.params[28] assert config_param.name == 'config' config_param.callback = read_configs # Change the version string by adding a redundant Click `version_option` diff --git a/setup.py b/setup.py index adbd833..b30565b 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ def run_tests(self): packages=['blue'], tests_require=['tox'], cmdclass={'test': Tox}, - install_requires=['black==22.1.0', 'flake8>=3.8,<5.0.0'], + install_requires=['black==24.1.0', 'flake8>=3.8,<5.0.0'], project_urls={ 'Documentation': 'https://blue.readthedocs.io/en/latest', 'Source': 'https://github.com/grantjenks/blue.git',