Bump hacking (again)

The previous attempt did not update the version in pre commit config
so the old version is still used by pep8 target.

Change-Id: I62048df659f4bc35f714de824aadfe9306e81c71
This commit is contained in:
Takashi Kajinami 2024-01-26 01:11:47 +09:00
parent 42075a4638
commit f5c4096092
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ repos:
- id: flake8
name: flake8
additional_dependencies:
- hacking>=3.0.1,<3.1.0
- hacking>=6.1.0,<6.2.0
language: python
entry: flake8
files: '^.*\.py$'

View File

@ -308,7 +308,7 @@ class URISourceTestCase(base.BaseTestCase):
# testing driver loading
self.assertEqual(self.conf._sources, [])
self.conf._load_alternative_sources()
self.assertEqual(type(self.conf._sources[0]),
self.assertIsInstance(self.conf._sources[0],
_uri.URIConfigurationSource)
source = self.conf._open_source_from_opt_group(group)