mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-30 10:46:54 +00:00
Turn off dependency requirements
This is a quickfix to help openstack unbreak their gate requirements
This commit is contained in:
parent
d41701df3b
commit
97dba87d1d
1 changed files with 2 additions and 1 deletions
|
|
@ -29,7 +29,8 @@ def _register_extensions():
|
|||
pass
|
||||
else:
|
||||
for entry in iter_entry_points('flake8.extension'):
|
||||
checker = entry.load()
|
||||
# Do not verify that the requirements versions are valid
|
||||
checker = entry.load(require=False)
|
||||
pep8.register_check(checker, codes=[entry.name])
|
||||
extensions.add((checker.name, checker.version))
|
||||
if hasattr(checker, 'add_options'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue