mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-03-30 02:16:52 +00:00
coverage fix
This commit is contained in:
parent
c58ae08fed
commit
81bd74d9c3
1 changed files with 0 additions and 6 deletions
|
|
@ -12,12 +12,6 @@ class Requirement(object):
|
|||
|
||||
@property
|
||||
def name(self):
|
||||
if self.value is None:
|
||||
return
|
||||
|
||||
if self.value == b'\n':
|
||||
return
|
||||
|
||||
if self.value.startswith(b'-e '):
|
||||
return self.value.lower().partition(b'=')[-1]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue